Stability AI API
Stability AI 接口
Generate images with Stable Diffusion 3, SDXL, and image-to-video models.
使用 Stable Diffusion 3、SDXL 和图像转视频模型生成图像。
Website
Documentation
Pricing
pay-as-you-go (per image)
Authentication
- API Key
Popularity
60/100
Endpoints
https://api.stability.ai/v1/generation/stable-diffusion-v3/text-to-image
SDKs
PythonTypeScriptcurl
Key Features
- ◆Stable Diffusion 3 & SDXL models
- ◆Text-to-image & image-to-video
- ◆ControlNet for precise control
- ◆Upscaling & outpainting tools
- ◆Commercial usage allowed
Code Examples
Text-to-Imagebash
curl -X POST https://api.stability.ai/v1/generation/stable-diffusion-v3/text-to-image \
-H "Authorization: Bearer $STABILITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text_prompts": [{"text": "a cat wearing a hat"}],
"samples": 1
}'Tags
imagegenerationstable-diffusion
Last updated: 2026-07-27
Similar APIs
Midjourney API
★92AI image generation via Midjourney. Create stunning artwork from text prompts with style control.
RunwayML API
★79AI video and image generation. Gen-3 Alpha for video, image-to-video, and creative tools.
Suno AI Music API
★78Generate original songs and music from text prompts with vocals, instruments, and multiple genres.
Midjourney API
★75Industry-leading AI image generation via Discord bot API. Produces artistic, photorealistic, and creative visuals.
Something wrong or missing? Open an issue on GitHub →
Pricing Comparison
| API | Pricing | Auth | Popularity |
|---|---|---|---|
| Midjourney API | subscription plans from $10/month | Discord Bot (via API proxy) | 92 |
| RunwayML API | free tier + $15/month | API Key | 79 |
| Midjourney API | subscription ($10-$60/mo), API via third-party | API Key | 75 |
| RunwayML API | free tier (credits), Standard $15/mo, Pro $35/mo, Unlimited $100/mo | API Key | 74 |
Discussion
Questions, feedback, or suggestions? Start a discussion.
Discuss on GitHub