# FLUX.1 Kontext Max MCP and API by Black Forest Labs | FlyMy.AI

> 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.

Page: https://flymy.ai/mcp/models/flux-kontext-max/

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.

[Use FLUX.1 Kontext Max](https://flymy.ai/mcp/models/flux-kontext-max/#start) [Inputs and price](https://flymy.ai/mcp/models/flux-kontext-max/#inputs)

No API key, $0.08 / run, Image editing, Black Forest Labs, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## 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.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/flux-kontext-max.md)

## 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 |
|---|---|
| [#](https://flymy.ai/mcp/models/flux-kontext-max/#input-prompt) `prompt` | string required |
| [#](https://flymy.ai/mcp/models/flux-kontext-max/#input-aspect_ratio) `aspect_ratio` | string required Default: `1:1` |
| [#](https://flymy.ai/mcp/models/flux-kontext-max/#input-seed) `seed` | integer required Allowed: -100000000 to 100000000 Default: `1654` |
| [#](https://flymy.ai/mcp/models/flux-kontext-max/#input-prompt_upsampling) `prompt_upsampling` | boolean required Default: `true` |
| [#](https://flymy.ai/mcp/models/flux-kontext-max/#input-safety_tolerance) `safety_tolerance` | integer required Allowed: 0 to 2 Default: `2` |
| [#](https://flymy.ai/mcp/models/flux-kontext-max/#input-input_image) `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.

**“Replace the background of the photo I attach with a picnic blanket in a sunny park using FLUX.1 Kontext Max.”** runs `flymyai/flux-kontext-max`

**“With FLUX.1 Kontext Max, change the color of the jacket in my photo to deep green and keep everything else the same.”** runs `flymyai/flux-kontext-max`

**“Edit the picture I attach with FLUX.1 Kontext Max: add the headline "Grand opening" in clean bold type.”** runs `flymyai/flux-kontext-max`

## FLUX.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.

[See usage pricing →](https://flymy.ai/pricing/)

## 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.

## More image editing models

Change a picture you already have: background, objects, style, text in the frame, or its resolution.

### FLUX.1 Kontext Pro

Black Forest Labs' everyday Kontext editor: swap backgrounds, outfits and objects.

Image editing / $0.04 / run

Link: https://flymy.ai/mcp/models/flux-kontext-pro/

### FLUX.1 Canny Pro

Black Forest Labs' edge-guided FLUX: keep a sketch's layout, restyle everything else.

Edge-guided image / $0.05 / run

Link: https://flymy.ai/mcp/models/bfl-flux-pro-canny/

### GPT Image 2.6 Edit

OpenAI's current editor: fix packaging text or swap a product while the rest stays put.

Image editing / from $0.009 / run

Link: https://flymy.ai/mcp/models/gpt-image-2-6-edit/

### GPT Image 2.6 Sunburst Edit

The 2.6 precision editor for brand assets and retouching that must not drift.

Image editing / from $0.009 / run

Link: https://flymy.ai/mcp/models/gpt-image-2-6-sunburst-edit/

### GPT Image 2.5 Edit

The 2.5 Flare editor: swap a product, background or headline and leave the rest alone.

Image editing / from $0.009 / run

Link: https://flymy.ai/mcp/models/gpt-image-2-5-edit/

### GPT Image 2.5 Sunburst Edit

The 2.5 precision editor that holds composition steady across many rounds of changes.

Image editing / from $0.009 / run

Link: https://flymy.ai/mcp/models/gpt-image-2-5-sunburst-edit/

## Go to the source

[FLUX.1 Kontext Max in the playground →](https://app.flymy.ai/models/flymyai/flux-kontext-max), [FLUX.1 Kontext Max guide in the docs →](https://docs.flymy.ai/guides/flux), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Image editing guide →](https://docs.flymy.ai/guides/generate-images), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

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.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
