Back to Models
black-forest-labs·Image
FLUX.2 Max
black-forest-labs/flux-2-maxType
Image
Output
Raster
Pricing
$0.07/MP
Arena Elo
1193
About
FLUX.2 [max] by Black Forest Labs is the highest-quality tier of the FLUX.2 API, offering advanced prompt adherence, typography rendering, and character consistency for both text-to-image generation and image editing. It uniquely supports grounded generation — performing real-time web searches to incorporate current visual references — and accepts up to 8 reference images with output up to 4 megapixels.
Capabilities
- Max images
- 1
- Formats
- png, jpg
- Seed
- Yes
- Image-to-image
- Yes
Benchmarks
View leaderboard1193
Arena Elo
#12
Rank
-9/9
95% CI
5,152
Appearances
Pricing
Full pricingPriced per megapixel.
$0.07
Call FLUX.2 Max through the ElliotGate API. Full request/response schema and code examples are on the API tab.
# Step 1: Submit generation request
curl -X POST https://api.elliotgate.com/v1/images/bfl/kontext-pro/text2img \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a beautiful sunset over the ocean",
"aspect_ratio": "16:9",
"seed": 42
}'
# Response: { "id": "task_abc123", "polling_url": "https://..." }
# Step 2: Poll for result using the returned polling_url
curl -X GET "https://api.elliotgate.com/v1/images/bfl/poll?polling_url=<polling_url_from_step_1>" \
-H "Authorization: Bearer sk-omg-your-api-key"
# Repeat Step 2 every 10 seconds until status is "Ready" or "Error"