Flux API
Flux.1 and Flux Kontext — professional-grade open-source image models
Full Flux price list and cost examples →
Overview
Flux by Black Forest Labs is the leading open-source image generation and editing model. AI Generate provides all Flux variants including Kontext Pro, Kontext Max, Flux 1.1 Pro, and Flux 2.
All 16 Flux variants & pricing
Every variant is accessible via the same API endpoint. Switch variants by changing the model parameter. No extra setup.
Use Flux via API
Example call with the default variant. Replace model with any slug from the table above.
curl https://aimarcusimage.eu/api/v1/jobs/createTask \
-H "Authorization: Bearer sk-aig-..." \
-H "Content-Type: application/json" \
-d '{
"model": "black-forest-labs-black-forest-labs-flux-3-klein-text-to-image-1k",
"input": {
"prompt": "a red fox sitting in snow, golden hour, photographic"
}
}'
FAQ
How much does Flux cost?
Pricing starts at $0.0112 per image for the most affordable variant. You pay per call from your credit balance — no monthly subscription, no minimum commitment. Starter top-up is $10 → 1,430 credits.
Is this an official Black Forest Labs API?
AI Generate is an AI model aggregator that routes calls to Black Forest Labs's upstream API. You get the exact same model outputs with simpler billing (pay per call, no contracts), one API key for 501 models, and the same create-task request shape across all providers.
Can I use Flux in production?
Yes. Each API key is rate-limited to 20 requests per 10 seconds. Results are asynchronous: poll /api/v1/jobs/recordInfo with the taskId, or pass a callBackUrl in the create-task body to receive a POST when the task finishes. Daily and monthly spend caps in dashboard settings stop runaway usage.
Which Flux variant should I pick?
For first tests, start with the cheapest variant (lowest "Price USD" in the table above). Upgrade to higher-resolution or "Quality" tiers only when you have validated prompts. The Playground runs the most popular models from your browser; every variant in the table is available through the API at the price shown.