API ManyNew models: Qwen 3.8 Max, Claude Haiku 5.5, Claude Opus 5.5, Claude Sonnet 5.5

FLUX KONTEXT MAX API

FLUX Kontext Max API

FLUX Kontext Max is Black Forest Labs’ highest-quality Kontext model for editing an image with plain-language instructions. Send the image in image_urls and a prompt to POST /v1/images/generations; without an image it generates from text.

POST /v1/images/generationsIMAGE EDITING10 ASPECT RATIOSFLAT PRICE

Prices

What you get

Edit with words

Change objects, text, lighting or style while the rest of the image stays put.

Ten aspect ratios

1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21 or auto.

Safety and upsampling

safety_tolerance from 0 to 6, and optional prompt_upsampling.

Make your first FLUX Kontext Max call

POST/v1/images/generationsGET/v1/tasks/{id}Auth: Bearer API key

This model runs asynchronously: the request returns a task id right away. Poll GET /v1/tasks/{id} (or /v1/records/{id}), or pass callback_url to receive a signed webhook when the job finishes.

# 1. Submit the job
curl https://apimany.com/v1/images/generations \
  -H "Authorization: Bearer $APIMANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-kontext-max",
  "prompt": "A cozy cabin in a snowy forest at night, warm window light",
  "size": "1:1"
}'

# 2. Poll until status is "completed"
curl https://apimany.com/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $APIMANY_API_KEY"

Parameters

NameTypeDefaultAllowed values
model *stringflux-kontext-max
prompt *string—
image_urls array—
size string1:11:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21, auto
output_format stringpng
response_format string—
n integer1
seed integer—
prompt_upsampling booleanfalse
safety_tolerance integer20 – 6
callback_urlstring—HTTPS URL for the completion webhook

Response

{
  "code": 200,
  "data": {
    "id": "6f1c2a7e-…",
    "model": "flux-kontext-max",
    "status": "completed",
    "progress": 100,
    "cost_usd": 0.27,
    "result": {
      "images": [{ "url": ["https://apimany.com/files/…"], "expires_at": 1760000000 }]
    }
  }
}

Frequently asked questions

How much does the FLUX Kontext Max API cost?

FLUX Kontext Max starts at $0.08 / image. The price tables on this page list every tier, and you are charged only for successful results.

How do I call the FLUX Kontext Max API?

Create a key in the console, then send a request to /v1/images/generations with "model": "flux-kontext-max". Jobs run asynchronously; poll the task or receive a signed webhook.

Can FLUX Kontext Max generate without an input image?

Yes. Leave image_urls empty and it generates from the prompt alone.

Is it callable on my account right now?

Catalog entries are not availability promises. Authenticated GET /v1/models is the source of truth: if flux-kontext-max is listed there with a rate, it is enabled for your key.