Actualizado
What is the Flux.2 Max API?
The Flux.2 Max API is live on UnificAlly as black-forest-labs/flux.2-max, from $0.063 per image. Flux.2 Max is the quality-focused image model in Black Forest Labs' Flux.2 family. It is meant for selected final results rather than setting sweeps. The API accepts the shared Flux.2 prompt, output-size, aspect-ratio, and reference-image inputs, while leaving manual steps and guidance to the Flex model.
Output can be set to 0.6, 1, 2, or 4 megapixels. Seven aspect ratios cover ultrawide, landscape, square, and portrait work. A request can also include several reference image URLs, allowing a final render to follow product images, approved compositions, or a visual brief.
Flux.2 Max API specs
| Model ID | black-forest-labs/flux.2-max |
| Endpoint | POST https://api.unifically.com/v1/tasks |
| Request types | Text-to-image, image generation with reference images |
| Output size | 0.6, 1, 2, or 4 megapixels |
| Aspect ratio | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 9:21 |
| Reference inputs | Image URLs in image_urls |
| Rate at 0.6 MP | $0.063 |
| Rate at 1 MP | $0.063 |
| Rate at 2 MP | $0.09 |
| Rate at 4 MP | $0.117 |
Billing is per image, with no subscription. Each reference image adds a per-image charge on top. The Flux.2 pricing guide and the pricing page show the live rate table.
How to use the Flux.2 Max API
- Create an API key on the API keys page.
- Send a POST request to
/v1/taskswith the model ID and aninputobject. - Read the
task_idfrom the response, then check the task until it is finished, or pass a callback URL and wait for the result.
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "black-forest-labs/flux.2-max",
"input": {
"prompt": "A beautiful sunset over mountains",
"aspect_ratio": "21:9",
"resolution": "2mp"
}
}'
The response returns the task ID straight away:
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "processing"
}
}
The finished task carries the image URL.
curl https://api.unifically.com/v1/tasks/{task_id} \
-H "Authorization: Bearer YOUR_API_KEY"
Flux.2 Max API parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
prompt | string | required | Text description of the image |
aspect_ratio | string | 16:9 | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, or 9:21 |
resolution | string | 1mp | 0.6mp, 1mp, 2mp, or 4mp |
image_urls | string[] | none | Reference image URLs |
nsfw_check | boolean | false | Checks the prompt and input images for NSFW content before generating. Off unless set to true |
The Flux.2 Max API documentation has the full reference.
Request with reference images
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "black-forest-labs/flux.2-max",
"input": {
"prompt": "Make him dance",
"image_urls": ["https://example.com/photo.jpg"],
"aspect_ratio": "9:16",
"resolution": "2mp"
}
}'
Key features of Flux.2 Max
Quality-focused Flux.2 model
Max is intended for the selected image at the end of a workflow: key art, campaign stills, covers, and hero images that need the family’s highest output setting.
Four output sizes
Choose 0.6, 1, 2, or 4 megapixels. Smaller sizes suit checks; larger sizes give a selected result more room for display and crop needs.
Seven aspect ratios
The available shapes run from 21:9 landscape through 1:1 square to 9:21 portrait, covering common campaign and product layouts.
Multi-image references
Attach reference image URLs to guide the subject, layout, or visual direction while keeping generation on the Max model.
Shared family request shape
Pro, Flex, and Max use the same core inputs. A workflow can test on another family member and change the model identifier for the final result.
What Flux.2 Max is best for
Campaign key art
Generate the selected image once the composition and visual direction are settled.
Website hero images
Create wide, square, or portrait assets at up to 4 megapixels.
Reference-led images
Use product shots, layouts, or mood boards as input references.
Final render passes
Move an approved prompt and reference set to Max for the chosen result.
Flux.2 Max variants
Flux.2 Max shares its core image inputs with Pro and Flex. The models differ in where they fit in the work.
Max
Use Max for the selected final image. It keeps the core output-size, aspect-ratio, and reference-image options without exposing manual steps and guidance.
Pro
Use Pro for routine production batches and everyday image work. It is the balanced model in the family.
Flex
Use Flex when you need to test steps, guidance, seed, or prompt upsampling before settling on a request.
Flux.2 Max use cases
For campaign work, test the prompt and references first, then send the approved setup to Max for the selected key art. A product team can attach approved product images and produce a 21:9 site banner, a 1:1 catalog tile, and a 9:16 social asset from the same visual direction. For editorial or presentation work, choose the aspect ratio before generation so the main subject has room for copy and crop changes. Smaller output settings are useful for checks, while 2 or 4 megapixels suit the final image when more display or crop room is needed.
Preguntas frecuentes
Preguntas frecuentes sobre Flux.2 Max
Flux.2 Max is the quality-focused model in the Flux.2 family. It is intended for final image work where output quality matters more than manual generation controls.
Create the key from the API keys page after registering, then authenticate with Authorization: Bearer <key>. Flux.2 Max runs on https://api.unifically.com/v1/tasks under the ID black-forest-labs/flux.2-max, and a prompt alone makes a valid first request; adding image_urls turns it into a reference-guided run.
Post a JSON body with model set to black-forest-labs/flux.2-max and an input object where prompt is required and aspect_ratio, resolution and image_urls are optional. Manual steps and guidance are left to the Flex model, not Max. You get a task_id back at once, then read the finished image URL from GET /v1/tasks/{task_id}.
The API offers 0.6, 1, 2, and 4 megapixel output across seven aspect ratios, from 21:9 landscape to 9:21 portrait.
Yes. A request can include several reference image URLs to guide the subject, layout, or visual direction.
Use Max for final key art, hero images, and other selected results. Use Pro for routine batches where the balanced model is sufficient.
Those manual controls belong to Flux.2 Flex. Max uses the shared prompt, size, aspect-ratio, and reference-image inputs without a manual steps-and-guidance workflow.
Guías y comparativas de Flux.2 Max
Consulta precios, límites y resultados probados antes de usar este modelo.
