Text to image
Elo · text-to-image arena
Custom pricing for production workloads
Highest-capability Kontext image generation and editing model.
FLUX.1 Kontext [max] delivers strong prompt alignment and refined typography generation for advanced image creation.
blackforestlabs/flux-kontext-maxPOST https://api.aimlapi.com/v1/images/generationsBlack Forest Labs' FLUX.1 Kontext Max is an experimental AI model for precision image generation and editing. With advanced rectified flow architecture, it delivers maximum performance for professional creative workflows requiring superior quality and consistency.
FLUX.1 Kontext Max is optimized for maximum fidelity image generation and surgical editing capabilities.
FLUX models (shown in purple) consistently achieve top performance with ELO ratings often exceeding 1100, demonstrating the strong capabilities of the Flux.1 Kontext model family in various image generation and editing benchmarks.
FLUX.1 Kontext Max delivers unprecedented precision for complex visual content creation workflows.
Human-preference results for FLUX.1 Kontext in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.
Elo · text-to-image arena
USD per generation
Arena results for models you can call with the same API key.
Blind pairwise human votes on images generated from text prompts. FLUX.1 Kontext ranks #69 of 98.
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.08 | per generation |
The final price depends on request parameters such as resolution or duration.
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.08 | |
| $0.025 | |
| $0.075 | |
| $0.075 | |
| $0.08 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "blackforestlabs/flux-kontext-max",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "blackforestlabs/flux-kontext-max",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "blackforestlabs/flux-kontext-max",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());FLUX.1 Kontext [max] takes image, text as input and returns image.
FLUX.1 Kontext [max] became available on May 29, 2025.
FLUX.1 Kontext costs $0.08 per generation on AI/ML API, billed as you go with no subscription.
FLUX.1 Kontext [max] is billed per generation, a fixed charge per output rather than by prompt length.
Yes, FLUX.1 Kontext [max] accepts image input as well as a text prompt.
FLUX.1 Kontext [max] was built by Black Forest Labs.
Send a request to https://api.aimlapi.com/v1/images/generations with blackforestlabs/flux-kontext-max as the model id.
Yes. FLUX.1 Kontext [max] is served through AI/ML API, so the same key and endpoint format used for other models applies.
Use blackforestlabs/flux-kontext-max as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.