flux-kontext-proFLUX.1 Kontext is a context-aware image model family for editing and text-to-image generation, with Pro and Max variants, predictable per-image pricing, and asynchronous task processing.

Image link valid for 72 hours
Transparent pricing with no hidden fees. Pay only for what you use.
* Actual costs are subject to final output.
Editing-first capabilities with predictable controls and one asynchronous workflow
Use a reference when visual context matters, or omit it for text-to-image generation
Create an account, authenticate, then submit and poll one unified image task
Sign in to APIMart and fund your balance. The same balance can be used across supported models.
Create a key in the dashboard and send it as a Bearer token in the Authorization header.
POST the request to /v1/images/generations, read data[0].task_id, and poll /v1/tasks/{task_id} until completed or failed.
Model choice, inputs, controls, billing, and task behavior
FLUX.1 Kontext is Black Forest Labs' context-aware image model family. It is designed primarily for image editing from text instructions and can also generate images from text alone.
flux-kontext-pro is the faster, lower-cost option at the standard price of $0.04 per image and measured at about 6 seconds for one request. flux-kontext-max targets higher output quality at $0.08 per image and measured at about 9 seconds.
Each variant has a fixed standard price per generated image, independent of aspect ratio and reference-image count: $0.04 for Pro and $0.08 for Max. Your account's multiplier or discount may change the actual charge; check the task result for the recorded cost.
You can pass up to four URLs in image_urls. The output and all reference images must stay within 9MP in total. Multiple references are experimental, and every URL must be publicly accessible.
Kontext outputs approximately 1MP, and resolution has no effect. width and height are rejected. Use size with one of the nine supported ratios or a WIDTHxHEIGHT pixel string; pixel strings are converted to the nearest supported ratio. Actual 16:9 and 9:16 outputs may differ from the requested ratio by about 4%.
Use output_format to select png, jpeg, or webp. seed is optional and random by default; reusing a fixed seed with the same inputs can help reproduce a result.
It may. In measured calls, flux-kontext-max expanded the prompt even when prompt_upsampling was not explicitly enabled. Treat prompt rewriting as possible and review outputs when wording must remain strict.
Submit a generation request and poll the returned task_id until completed or failed. Failed tasks are refunded automatically. Reference URLs must be publicly reachable; hosts that block data-center traffic can cause fetching to fail, so use a reliable public URL.
Explore more models in the same category.

Seedance 4.5
Seedream 4.5 API delivers cutting-edge text-to-image generation. Create 4K resolution images with precise text rendering, multi-reference style fusion, and unified editing capabilities.

Seedance 4.0
Seedream 4.0 API is text-to-image and image editing model. Generate 4K images with industry-leading text rendering, batch processing, and multi-reference support.

Flux 2
Flux 2 delivers state-of-the-art AI image generation and editing. Create photorealistic images from text with Flux 2 Pro, edit existing images with natural language using Flux 2 Flex, and maintain style consistency with multi-reference support.

Nano banana pro
Nano Banana 2 API is powered by Google's Gemini 3 Pro Image Preview- the most advanced AI image generation model with 4K native output, multi-step planning workflow, and built-in quality analysis. Features 340% faster processing and professional-grade editing capabilities.