Home / Image Generation / FLUX.2 [klein]

Free FLUX.2 [klein] API

Updated 8/20/2026

Ultra-fast, high-quality distilled image generation model.

About the Model

为什么选择 FLUX.2 [klein]?

如果你需要秒出的、电影级质感的 AI 生图,FLUX.2 [klein] 是目前的工业级标准。它在保持细节丰富度的同时,极大地降低了推理开销。

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 FLUX.2 [klein]

curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/black-forest-labs/flux-1-schnell-klein \
  -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/black-forest-labs/flux-1-schnell-klein",
    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 FLUX.2 [klein] 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 FLUX.2 [klein] free to use?

Yes. FLUX.2 [klein] 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 FLUX.2 [klein] 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 FLUX.2 [klein] for free?

FLUX.2 [klein] is currently available for free via: Cloudflare Workers AI.

Community Feedback

Comments are tied to your GitHub account — sign in to join the discussion.

Know another free provider for FLUX.2 [klein]?

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