Flux.2 Max
Black Forest Labs Flux.2 Max — maximum quality image generation.
Back to docs
Imageblack-forest-labs/flux.2-max$0.00 / 1M in
Base URL
https://api.zekron.tech/api/v1Supported modes
text-to-imageimage-to-image
Parameters
Pass these inside the input object when creating a task.
| Field | Required |
|---|---|
| prompt | required |
| image_urls | optional |
| aspect_ratio | optional |
| quality | optional |
promptrequired
image_urlsoptional
aspect_ratiooptional
qualityoptional
Example request
bash
curl -X POST https://api.zekron.tech/api/v1/tasks \
-H "Authorization: Bearer zk_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"model": "black-forest-labs/flux.2-max",
"input": {
"prompt": "a cinematic shot of a lighthouse at golden hour",
"aspect_ratio": "16:9"
}
}'Example response
json
{
"id": "zk_task_8f3a2b1c9d",
"model": "black-forest-labs/flux.2-max",
"status": "processing",
"created_at": "2026-06-10T12:00:00Z"
}Poll GET https://api.zekron.tech/api/v1/tasks/{id} until status is success or failed.
Pricing
This model is billed at $0.00 / 1M in. You are only charged for successful generations — failed tasks are never billed. Generated outputs are retained for 30 days before they expire.