Flux Kontext flux-kontext-max API
A model variant exposed through RunAPI's unified AI API.
Operational
·
image
·
Commercial use supported
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/flux-kontext -g
Or paste this prompt to your AI agent:
Install the Flux Kontext skill for me: 1. Clone https://github.com/runapi-ai/flux-kontext 2. Copy the skills/flux-kontext/ directory into your user-level skills directory (e.g. ~/.claude/skills/ for Claude Code, ~/.codex/skills/ for Codex). 3. Verify that SKILL.md is present. 4. Confirm the install path when done.
Switch variant
ÜBERBLICK
Flux Kontext flux-kontext-max is available through the same RunAPI auth, SDKs, and agent skill workflow.
- Unified endpoint
- SDK snippets
- Agent install path
- Fehlgeschlagene Generierungen werden nicht berechnet
PREISE
PREISE
Fehlgeschlagene Generierungen werden nicht berechnet
Text to image
$0.20
/ image
DATENBLATT
DATENBLATT
| Model ID | flux-kontext-max |
| Anbieter | Black Forest Labs |
| Modalität | image |
| Task type | asynchronous |
| Abrechnung | call |
| Endpoint | /api/v1/flux_kontext/text_to_image |
| Commercial | Yes |
| Status | Operational |
QUICKSTART
Quickstart — flux-kontext-max
curl -X POST https://runapi.ai/api/v1/flux_kontext/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-kontext-max",
"prompt": "Edit this product photo: change the background to a tropical beach while keeping the product exactly the same."
}'
import { FluxKontextClient } from "@runapi.ai/flux-kontext";
const client = new FluxKontextClient();
const result = await client.textToImage.run({
model: "flux-kontext-max",
prompt: "Edit this product photo: change the background to a tropical beach while keeping the product exactly the same.",
});
require "runapi/flux_kontext"
client = RunApi::FluxKontext::Client.new
result = client.text_to_image.run(
model: "flux-kontext-max",
prompt: "Edit this product photo: change the background to a tropical beach while keeping the product exactly the same."
)
SO FUNKTIONIERT ES
How to use flux-kontext-max
01
Choose endpoint
Pick the endpoint and copy the SDK snippet.
02
Pass model ID
Use this variant ID in the request body.
03
Run task
Submit the request and store the returned task ID.
04
Collect output
Poll or receive the callback when the task finishes.
UNTERSCHIEDE
How flux-kontext-max compares
VS FLUX-KONTEXT-PRO
4K output, superior text rendering, advanced contextual editing
Balanced speed and quality for in-context editing
ANWENDUNGSFÄLLE
Where to use this variant
Image generation
Create visual assets from text prompts.
Editing
Transform existing images with prompt guidance.
Batch creative work
Use SDKs for repeatable generation.
FAQ
Frequently asked questions about flux-kontext-max
How do I select flux-kontext-max?
Pass the model ID shown in the quickstart.
Is pricing usage-based?
Yes. Pricing is metered per call or unit.
Other Flux Kontext variants
Related models
Text-to-image and remix-image with strong prompt adherence from Black Forest Labs.
Voice, character, and multimodal video generation resources for narration, dialogue, and agent media workflows.
Text-to-image and image editing powered by OpenAI's image generation models.
JETZT STARTEN