FLUX Kontext Pro API
FLUX.1 Kontext [pro]: fast iterative image editing by instruction
About this model
FLUX.1 Kontext [pro] is Black Forest Labs’ model for fast, iterative image editing. BFL calls it a unified model that combines local editing, generative changes and text-to-image creation, and says it keeps a character consistent across multiple editing turns.
It accepts text and images together, so you can edit an existing picture with plain instructions instead of fine-tuning. Kontext [max] is the premium sibling with stronger prompt adherence and typography; choose [pro] for editing loops. FLUX.2 [pro] is the newer generation.
Limit: this catalog marks it as supporting image editing.
Use cases
- Editing a photo with plain-language instructions
- Keeping a character consistent across edits
- Local changes or full scene overhauls
Input and output
- Input
- Text prompt, optional source image
- Output
- Images
Developer
Black Forest Labs
Official site of Black Forest Labs- Developer
- Black Forest Labs
- Type
- Picture
- Capabilities
- Image editing
FLUX Kontext Pro request example
Use https://gatelum.com/v1 as the base URL and pass bfl/flux-kontext-pro in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/images/generations' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "bfl/flux-kontext-pro",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}
JSON