Flux 2
Next-gen flagship with sharp subject fidelity and tight prompt adherence, in base and highest-fidelity tiers.
Black Forest Labs$0.06 / imagetext-to-imagehigh-qualitymax
Tier
Capability
Est. cost$0.06For $1 you can run this model 16 times.
Example output

$0.06/ image
$0.06 per image. For $1 you can run this model 16 times.
Pay only for successful generations. No idle, no minimums, no per-seat.
API
Wire it up.
Endpoint
POST https://api.tryinfer.com/v1/inference/flux-2-max/text-to-imagerequest
curl https://api.tryinfer.com/v1/inference/flux-2-max/text-to-image \
-H "Authorization: Bearer $INFER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "editorial portrait of a chef in a warm kitchen, medium format, shallow depth of field"
}
}'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| seed | integer | — | — | — |
| prompt | string | Yes | — | — |
| num_images | integer | — | 1 | — |
| aspect_ratio | string | — | 1:1 | 21:916:93:24:31:13:42:39:16 |
| output_format | string | — | png | jpegpngwebp |
Authenticate with a bearer token. Get an API key →
Further reading
From the Infer content directory.
Best ofBest AI image-editing models in 2026FLUX.1 Kontext [pro] leads AI image editing in 2026 at $0.02/image with 5+ edit identity retention, ahead of GPT Image 1.5, Nano Banana 2, and SAM 3.1 for masking.CompareFLUX vs Midjourney in 2026: API vs artistryFLUX 1.1 [pro] is the API workhorse at $0.02/image; Midjourney V8.1 is Discord/web-only artistry with no API at all. Full comparison, pricing math, and verdict.PricingThe cheapest text-to-image APIs in 2026FLUX 1.1 [pro] lists the lowest Infer rate at $0.02 (its page also shows a conflicting $0.04). Seedream 4.0 is the cheapest confirmed price with a leaderboard rank.