Flux Kontext Dev (Image Edit)
Context-aware image editing with the open-weight Dev model for experimentation, research, and cost-effective iteration.
Flux Kontext is Black Forest Labs' context-aware image generation and editing family. Describe an edit in natural language and the model preserves the image's subject, lighting, proportions, and style unless you ask it to change them.Muapi exposes Dev, Pro, Max, and Effects variants through one asynchronous REST contract, covering both text-to-image and image-to-image workflows.
Context-aware image editing with the open-weight Dev model for experimentation, research, and cost-effective iteration.
Generate images from text prompts with the open-weight Flux Kontext Dev model at low cost.
Professional context-aware image editing with higher fidelity, faster generation, and stronger prompt adherence than Dev.
Generate production-quality images from text with fast, highly detailed Flux Kontext Pro output.
The highest-fidelity Kontext image-editing variant for maximum prompt adherence and professional detail preservation.
State-of-the-art text-to-image generation and the best quality in the Flux Kontext family.
Apply cinematic, artistic, and creative effects to images with a natural-language style instruction.
Flux Kontext is Black Forest Labs' context-aware image generation and editing family. Instead of treating an input as isolated pixels, it reads the full semantic context before applying a change, helping objects stay proportional, lighting remain consistent, and the original style survive unless explicitly changed.
The family supports both image-to-image and text-to-image workflows across Dev, Pro, and Max tiers, plus the Effects variant for stylistic transformations. All variants use Muapi's asynchronous submit-and-poll API.
For a broader model comparison, see the best AI image generation APIs of 2026.
Understand the full semantics of an image before making changes, keeping edits coherent, proportionate, and lighting-consistent.
Choose open-weight experimentation, production speed and quality, or maximum fidelity for professional image work.
Generate fresh images from prompts or edit existing images with natural-language instructions across the family.
Transform photos into cinematic, artistic, and creative styles with a single text description.
Describe the desired change without masks, selection tools, or a large set of editing parameters.
Use the same Muapi authentication, task lifecycle, billing, and result polling for every Kontext variant.
Change backgrounds, lighting, materials, or small product details while preserving the original composition.
Move from a rough prompt to polished campaign imagery with a tier matched to the required quality and speed.
Create consistent variations for ads, social posts, and ecommerce catalogs from a shared visual direction.
Retouch or relight a photo using plain language while keeping the subject and scene structure intact.
Apply a defined cinematic, illustrative, or artistic treatment through the Effects variant.
| Tier | Quality | Speed | Open-weight | Best For |
|---|---|---|---|---|
| Dev | High | Standard | Yes | Research and low-cost experimentation |
| Pro | Higher | Fast | No | Production image generation and editing |
| Max | Highest | Standard | No | Professional fidelity and detail preservation |
| Effects | Style-focused | Standard | No | Cinematic and artistic transformations |
Submit a prompt and, for image editing, an image URL. Muapi returns a request ID immediately; poll the standard prediction result endpoint for the output URL.
curl -X POST https://api.muapi.ai/api/v1/flux-kontext-pro-i2i \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Make the sky dramatic and stormy", "image_url":"https://example.com/photo.jpg"}'
# Response: {"request_id":"REQUEST_ID"}
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
-H "x-api-key: YOUR_API_KEY"Use a Kontext i2i endpoint when you want to preserve an existing image and apply a natural-language instruction.
curl -X POST https://api.muapi.ai/api/v1/flux-kontext-pro-t2i \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A futuristic city at sunset, ultra detailed, cinematic lighting"}'
# Response: {"request_id":"REQUEST_ID"}
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
-H "x-api-key: YOUR_API_KEY"Use a Kontext t2i endpoint to create a new image from a prompt without an input image.
Flux Kontext is Black Forest Labs' context-aware image generation and editing model family. It understands the full context of an image and edits, transforms, or regenerates it from natural-language instructions.
Dev is the open-weight option for research and low-cost experimentation. Pro offers higher quality and faster generation for production. Max delivers the highest fidelity and prompt adherence for professional image work.
Image-to-image takes an existing image and an edit instruction, then returns a modified version. Text-to-image generates a new image from a prompt alone.
Effects is a stylistic variant for cinematic, artistic, and creative transformations. Describe the target visual style and Muapi returns a transformed image.
Create a Muapi account, generate an API key, and call the flux-kontext-dev-i2i, flux-kontext-pro-i2i, or flux-kontext-max-i2i endpoints. The same key works across the family.
Get an API key and start generating or editing images with the Kontext family today.