Stability AI
Generate images from text prompts with Stable Diffusion. Create hero images, product photos, illustrations, and art for websites.
🔑 Setup Required — Bring Your Own Key
This integration requires API credentials. Store them once via
setup_integration or the Dashboard Vault — they're encrypted
with AES-256-GCM and never exposed.
Required Credentials
stability_api_key
API Key
API key from platform.stability.ai → Account → API Keys. Starts with "sk-".
Get your API key at stability.ai →
Endpoints (2)
POST
generate-image
Generate an image from a text prompt using Stable Diffusion. Returns base64-encoded image data.
| Field | Type | Required | Description |
|---|---|---|---|
text_prompts |
array | ✓ Yes | Array of text prompts with weights. Example: [{"text": "A beautiful sunset over Amsterdam canals", "weight": 1}]. |
cfg_scale |
integer | No | Prompt adherence (1-35, default 7). Higher = more faithful to prompt. |
steps |
integer | No | Generation steps (10-50, default 30). Higher = better quality but slower. |
width |
integer | No | Image width in pixels. Must be multiple of 64. Default: 1024. |
height |
integer | No | Image height in pixels. Must be multiple of 64. Default: 1024. |
GET
list-engines
List available Stable Diffusion engines with their capabilities and supported resolutions.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| generate-image | stability_generate_image |
| list-engines | stability_list_engines |