MCP / Models / Image editing
FLUX.1 Kontext Max MCP: precise image edits with no API key
FLUX.1 Kontext Max is Black Forest Labs' highest-fidelity in-context editor: change a picture with a plain instruction, text in the image included. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

$ YOUR NEXT RUN
Use FLUX.1 Kontext Max in your assistant
Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/flux-kontext-max.md. Help me connect the FlyMy.AI MCP to this assistant, then run FLUX.1 Kontext Max (flymyai/flux-kontext-max) for this task: Replace the background of the photo I attach with a picnic blanket in a sunny park using FLUX.1 Kontext Max.
What FLUX.1 Kontext Max does
Kontext Max edits the input_image you give it from a prompt and keeps the rest of the picture as it was. It is the top Kontext tier for demanding edits and typography, slower and pricier than Kontext Pro. Set aspect_ratio, a seed, safety_tolerance (0 to 2) and prompt_upsampling.
FLUX.1 Kontext Max inputs
Every input of flymyai/flux-kontext-max as its live schema lists them. Returns output (file).
| Input | Type, values and default |
|---|---|
# prompt | string required |
# aspect_ratio | string required Default: 1:1 |
# seed | integer required Allowed: -100000000 to 100000000 Default: 1654 |
# prompt_upsampling | boolean required Default: true |
# safety_tolerance | integer required Allowed: 0 to 2 Default: 2 |
# input_image | file optional Allowed: image file, as a URL or upload |
Ask your agent
Requests to paste as they are, once the FlyMy.AI MCP is connected.
flymyai/flux-kontext-maxflymyai/flux-kontext-maxflymyai/flux-kontext-maxFLUX.1 Kontext Max price
$0.08 per run. A run at the default settings costs $0.08. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.
Call FLUX.1 Kontext Max from code
The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.
From an agent, through the MCP
The agent calls get_model_schema, then run_model with:
{
"endpoint_id": "flymyai/flux-kontext-max",
"input": {
"prompt": "Replace the background with a marble table by a sunny window",
"aspect_ratio": "1:1",
"seed": "1654",
"prompt_upsampling": "true",
"safety_tolerance": "2"
}
}From your code, over HTTP
Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/flux-kontext-max/predict/async/result/?request_id=<prediction_id>.
curl -X POST https://api.flymy.ai/api/v1/flymyai/flux-kontext-max/predict/async/ \
-H "X-API-KEY: $FLYMYAI_API_KEY" \
-F 'prompt=Replace the background with a marble table by a sunny window' \
-F 'aspect_ratio=1:1' \
-F 'seed=1654' \
-F 'prompt_upsampling=true' \
-F 'safety_tolerance=2'Questions about FLUX.1 Kontext Max
Do I need a Black Forest Labs API key for FLUX.1 Kontext Max?
No. FLUX.1 Kontext Max runs on FlyMy.AI's account, so you need no Black Forest Labs key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.
How much does FLUX.1 Kontext Max cost?
$0.08 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.
How do I use FLUX.1 Kontext Max in Claude Code, Codex or Cursor?
Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Replace the background of the photo I attach with a picnic blanket in a sunny park using FLUX.1 Kontext Max." Your agent reads the inputs with get_model_schema and runs flymyai/flux-kontext-max with run_model.
What does FLUX.1 Kontext Max need as input?
FLUX.1 Kontext Max requires prompt, aspect_ratio, seed, prompt_upsampling and safety_tolerance; it also takes 1 optional input, each listed on this page with its allowed values and default.
Can I call FLUX.1 Kontext Max from my own code?
Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/flux-kontext-max/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.
Go to the source
From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.





