> ## Documentation Index
> Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Segmind

> Use Segmind's Stable Diffusion models for fast, serverless image generation through Prisma AIRS AI Gateway.

## Quick Start

Get started with Segmind in under 2 minutes:

<CodeGroup>
  ```bash cURL theme={"system"}
  curl https://aigw.portkey.ai/v1/images/generations \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer $PORTKEY_API_KEY" \
      -d '{
          "model": "@segmind/sdxl1.0-txt2img",
          "prompt": "Lucy in the sky with diamonds",
          "size": "1024x1024"
      }'
  ```
</CodeGroup>

## Add Provider in Model Catalog

Before making requests, add Segmind to your Model Catalog:

1. Go to [**Model Catalog → Add Provider**](https://stratacloudmanager.paloaltonetworks.com/)
2. Select **Segmind**
3. Enter your [Segmind API key](https://cloud.segmind.com/console/api-keys)
4. Name your provider (e.g., `segmind`)

<Card title="Complete Setup Guide" icon="book" href="/docs/aigw/product/model-catalog">
  See all setup options and detailed configuration instructions
</Card>

***

## Supported Models

Segmind provides fast, serverless access to various Stable Diffusion models:

| Model                 | Description         |
| --------------------- | ------------------- |
| sdxl1.0-txt2img       | Stable Diffusion XL |
| sd1.5-dreamshaper     | Dream Shaper        |
| sd1.5-realisticvision | Realistic Vision    |
| sd1.5-juggernaut      | Juggernaut          |
| sd1.5-epicrealism     | Epic Realism        |
| kandinsky2.2-txt2img  | Kandinsky           |
| qrsd1.5-txt2img       | QR Code Generator   |

And 20+ more models. Check [Segmind's documentation](https://docs.segmind.com/) for the complete list.

<Note>
  The AI Gateway uses the OpenAI image generation signature for Segmind, allowing you to easily switch between providers.
</Note>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Gateway Configs" icon="sliders" href="/docs/aigw/product/ai-gateway">
    Add fallbacks, load balancing, and more
  </Card>

  <Card title="Observability" icon="chart-line" href="/docs/aigw/product/observability">
    Monitor and trace your Segmind requests
  </Card>

  <Card title="Caching" icon="database" href="/docs/aigw/product/ai-gateway/cache-simple-and-semantic">
    Cache generated images
  </Card>

  <Card title="Image API Reference" icon="image" href="/docs/api-reference/inference-api/images/create-image">
    Complete image generation API docs
  </Card>
</CardGroup>


## Related topics

- [Prisma AIRS AI Gateway Models](/docs/aigw/product/model-catalog/gateway-models.md)
- [Supported Providers](/docs/aigw/api-reference/inference-api/supported-providers.md)
- [Enterprise Gateway](/docs/aigw/changelog/enterprise.md)
