Free 5 min read

Stability AI Not Working?

404 deprecated endpoint, image dimension errors, content filter blocking your prompt, credits exhausted, or API key invalid? Fix Stable Diffusion API issues step by step.

Stability AI live status

Stability AI — live status

Updated every 5 minutes. Full history at prismix.dev/service/stability.

Full status →

What's wrong? Diagnose fast

🚫

HTTP 404 on API endpoint

Legacy v1/v1beta generation API is deprecated. Migrate to v2beta Stable Image API. New endpoint: api.stability.ai/v2beta/stable-image/generate/core (or /sd3 for SD 3.5).

📏

Dimension / size error

SD3.5 and Stable Image use aspect_ratio parameter (not width/height). Accepted values: 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21. Do not pass width/height for v2beta.

🛑

Content filter blocking prompt

Mandatory NSFW filter. Remove anatomical terms, violence descriptors, or suggestive wording. Add "cinematic, professional" style terms. Use negative prompt: "nsfw, explicit, violence".

💳

Credits exhausted (402 error)

Check balance at platform.stability.ai → Billing. Stable Image Core: 3 credits/image. SD 3.5 Medium: 3.5 credits. SD 3.5 Large: 6.5 credits. Purchase add-on credits or upgrade plan.

🔑

API key invalid (401 error)

Regenerate your API key at platform.stability.ai/account/keys. For v2beta, use header "Authorization: Bearer sk-..." (not Basic auth). Keys from DreamStudio are separate from Platform keys.

📱

DreamStudio not loading

dreamstudio.ai is Stability AI's consumer product separate from the API. If DreamStudio is slow or not generating images, check prismix.dev/service/stability. Clear browser cache and try in incognito.

API migration: v1 → v2beta Stable Image

Feature v1 (deprecated) v2beta (current)
Text-to-image /v1/generation/{model}/text-to-image /v2beta/stable-image/generate/core
SD 3.5 text-to-image Not available /v2beta/stable-image/generate/sd3
Image-to-image /v1/generation/{model}/image-to-image /v2beta/stable-image/generate/core (add init_image)
Upscale /v1/generation/esrgan-v1-x2plus/image-to-image/upscale /v2beta/stable-image/upscale/conservative
Auth header Authorization: Bearer sk-... Authorization: Bearer sk-...
Dimensions width + height (must be multiples of 64) aspect_ratio string (e.g. "16:9")
Response format JSON with base64 artifacts[] Binary (PNG) or multipart (JSON with base64 image)

Stability AI credit costs per model

Model / Endpoint Credits per image Notes
Stable Image Core 3 Fastest, good quality
SD 3.5 Medium 3.5 Balanced quality/speed
SD 3.5 Large 6.5 Best quality
SD 3.5 Large Turbo 4 Fast high-quality
Stable Image Ultra 8 Highest detail, slower
Conservative Upscale 25 Per upscale operation

Credits do not expire. 1 USD ≈ 100 credits. New accounts get ~25 free credits. Purchase additional credits at platform.stability.ai.

Step-by-step fix

  1. 1

    Check live status

    Visit prismix.dev/service/stability. If the status shows degraded, all API requests will be affected — wait for recovery before debugging your code.

  2. 2

    Migrate from v1/v1beta to v2beta

    Replace your endpoint URL. Old: api.stability.ai/v1/generation/stable-diffusion-xl-1024-v1-0/text-to-image. New: api.stability.ai/v2beta/stable-image/generate/core. Change the request body: remove width/height fields; add aspect_ratio: "16:9". For SD 3.5: use /v2beta/stable-image/generate/sd3 with model: "sd3.5-large".

  3. 3

    Fix dimension errors

    For v2beta endpoints: do NOT send width or height. Instead send aspect_ratio: "16:9" (landscape), "1:1" (square), or "9:16" (portrait). The API resolves to a supported pixel dimension internally. Valid aspect ratios: 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21.

  4. 4

    Fix content filter rejections

    Remove problematic terms from your prompt. Common trigger words: body part names (even medical), weapon names, violence-related adjectives. Add to your prompt: "professional photography, safe for work, cinematic". Add negative prompt: "nsfw, explicit, violent, gore, inappropriate". The v2beta API returns a 400 error with a content filter message when triggered.

  5. 5

    Fix API key issues

    API keys from DreamStudio and from the Stability AI Developer Platform are different. For the v2beta API, get your key from platform.stability.ai/account/keys. The auth header format is Authorization: Bearer sk-.... Do not use Basic auth (that was v1).

  6. 6

    Fix credits exhausted (402 error)

    HTTP 402 Payment Required means your credit balance is zero. Check your balance at platform.stability.aiBilling. Credits are purchased at $10 for ~1,000 credits (the exact price per credit decreases at higher volumes). Credits do not expire. Add credits at platform.stability.ai/account/credits.

🔔

Get alerted when Stability AI goes down

Star Stability AI on Prismix and get emailed the moment status changes. Also monitor Midjourney, DALL-E, and Ideogram. Free.

Frequently asked questions

Why is Stability AI not working?

Common causes: 404 = deprecated v1 endpoint (migrate to v2beta Stable Image API); 400 with dimension error = use aspect_ratio instead of width/height; content filter block = rephrase prompt (remove suggestive/violent terms); 402 = credits exhausted (check platform.stability.ai billing); 401 = API key invalid (regenerate at platform.stability.ai).

Is Stability AI down right now?

Check prismix.dev/service/stability for live status. The image generation API and DreamStudio have independent uptime.

Stability AI 404 error — deprecated endpoint, how to fix?

Migrate to the v2beta Stable Image API: POST https://api.stability.ai/v2beta/stable-image/generate/core for text-to-image. For SD 3.5: POST /v2beta/stable-image/generate/sd3 with model: "sd3.5-large". Use aspect_ratio instead of width/height. Auth is still "Authorization: Bearer sk-...".

Stability AI content filter blocking my prompt — how to fix?

The mandatory NSFW filter cannot be disabled. Remove anatomical terms, weapon names, violence references. Add "professional, cinematic, safe" to your prompt style. Add negative prompt: "nsfw, explicit, violent, inappropriate". For unrestricted local generation, use Automatic1111 or ComfyUI self-hosted.

Stability AI credits not working — how to check balance?

Check balance at platform.stability.ai → Billing. HTTP 402 = zero credits. Credits: Stable Image Core (3/image), SD 3.5 Medium (3.5), SD 3.5 Large (6.5). Purchase at platform.stability.ai/account/credits. Credits do not expire.

Related AI image tools