Saltar al contenido principal
Model logo

API de Flux.2 Max

  • Texto a imagen
  • Imagen a imagen
Toca para subirPNG, JPG, WEBP, GIF · Máx. 100 MB
Salida

Tu image generado aparecerá aquí

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 IDblack-forest-labs/flux.2-max
EndpointPOST https://api.unifically.com/v1/tasks
Request typesText-to-image, image generation with reference images
Output size0.6, 1, 2, or 4 megapixels
Aspect ratio21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 9:21
Reference inputsImage 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

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object.
  3. Read the task_id from 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

ParameterTypeDefaultWhat it does
promptstringrequiredText description of the image
aspect_ratiostring16:921:9, 16:9, 4:3, 1:1, 3:4, 9:16, or 9:21
resolutionstring1mp0.6mp, 1mp, 2mp, or 4mp
image_urlsstring[]noneReference image URLs
nsfw_checkbooleanfalseChecks 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.