Home / Image Generation / Stable Diffusion 3

Free Stable Diffusion 3 API

Updated 8/20/2026

The latest Stable Diffusion model with improved text rendering and composition.

About the Model

为什么选择 Stable Diffusion 3?

SD3 是目前生图领域最成熟的开源方案之一,它解决了 AI 生图长期以来难以渲染文字和复杂构图的痛点。

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

How to call Stable Diffusion 3

curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/stabilityai/stable-diffusion-xl-base-1.0 \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A futuristic city in cyberpunk style, highly detailed 8k",
    "steps": 4
  }' --output image.jpg
python
import requests

ACCOUNT_ID = "YOUR_CF_ACCOUNT_ID"
API_TOKEN = "YOUR_CF_API_TOKEN"

response = requests.post(
    f"https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/stabilityai/stable-diffusion-xl-base-1.0",
    headers={"Authorization": f"Bearer {API_TOKEN}"},
    json={"prompt": "A futuristic city in cyberpunk style, highly detailed 8k", "steps": 4},
)

with open("output.jpg", "wb") as f:
    f.write(response.content)
print("Image successfully saved as output.jpg")

Provider Details

The following platforms provide free access to Stable Diffusion 3 through free tiers, trial credits, or daily quotas.

ProviderContext WindowFree QuotaRequires CCRatingAction
Cloudflare Workers AIN/ARate Limit
100 requests per day
No
加载评分…
Details

Frequently Asked Questions

Is Stable Diffusion 3 free to use?

Yes. Stable Diffusion 3 is available for free through 1 provider(s) listed below, with no purchase required.

What are the rate limits and quotas?

Free access varies by provider — Cloudflare Workers AI: Rate Limit.

How do I get a free Stable Diffusion 3 API key?

Sign up with Cloudflare Workers AI, then create an API key from your dashboard. See the provider details above for the exact steps.

Which providers offer Stable Diffusion 3 for free?

Stable Diffusion 3 is currently available for free via: Cloudflare Workers AI.

Know another free provider for Stable Diffusion 3?

Help the community by sharing other ways to access this model for free.