Flux Kontext Max
flux-kontext-maxA premium text-based image editing model that delivers maximum performance and improved typography generation for transforming images through natural language prompts
- Price
- US$0.096/image
- Aspect ratios
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2
- Input โ output
- Text โ Image
- Developer
- Black Forest Labs
- Updated
- September 24, 2026
Playground
Try Flux Kontext Max
Input & output
This run
US$0.096 ยท 9.6 credits
For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits (US$0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
Examples
Open full size
InputPrompt
Make the letters 3D, floating in space on a city street
Settings
- aspect_ratio
- match_input_image
Open full size
InputPrompt
Using this style, a bunny, a dog and a cat are having a tea party seated around a small white table
Settings
- aspect_ratio
- match_input_image
Open full size
InputPrompt
Using this style, a bunny, a dog and a cat are having a tea party seated around a small white table
Settings
- aspect_ratio
- match_input_image
About Flux Kontext Max
Flux Kontext Max is a model by Black Forest Labs in the Image generation category. On Railwail, Flux Kontext Max costs US$0.096 per image. Supported aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1 and 1:2.
Pricing
| Per image | US$0.096 per image |
|---|
- 1 credit = US$0.01
Cost calculator
Price calculator
Total
US$9.60
960 credits
Per run
US$0.096 ยท 9.6 credits
Fixed price per run, known before the run starts.
API
curl https://railwail.com/api/v1/images/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-kontext-max",
"prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RAILWAIL_API_KEY"],
base_url="https://railwail.com/api/v1",
)
image = client.images.generate(
model="flux-kontext-max",
prompt="A lighthouse on a rocky coast at sunset, photorealistic",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RAILWAIL_API_KEY,
baseURL: "https://railwail.com/api/v1",
});
const image = await client.images.generate({
model: "flux-kontext-max",
prompt: "A lighthouse on a rocky coast at sunset, photorealistic"
});
console.log(image.data[0].url);// npm install railwail
import railwail from "railwail";
const rw = railwail(process.env.RAILWAIL_API_KEY);
const res = await rw.image("flux-kontext-max", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Specifications
- Model ID
flux-kontext-max- Developer
- Black Forest Labs
- Category
- Image generation
- Input
- Text
- Output
- Image
- Aspect ratios
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2
- Billing
- Fixed price, known before the run
- Catalog entry updated
- September 24, 2026
Input parameters
Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.
promptrequiredType: TextDefault: โAllowed values: โaspectRatioType: ChoiceDefault:1:1Allowed values: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1 or 1:2
Tags
- replicate
- black-forest-labs
- text-to-image
Use cases
Frequently asked questions
What is Flux Kontext Max?
Flux Kontext Max is a model by Black Forest Labs in the Image generation category. On Railwail you can call it with an API key through the Railwail API.
How much does Flux Kontext Max cost on Railwail?
On Railwail, Flux Kontext Max costs US$0.096 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals US$0.01.
Which settings does Flux Kontext Max support?
According to its input schema, Flux Kontext Max knows these parameters: prompt and aspectRatio (match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1 or 1:2).
How fast is Flux Kontext Max?
There are not enough measured runs of Flux Kontext Max on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is Flux Kontext Max better than FLUX 1.1 Pro?
That depends on the task. Flux Kontext Max (Black Forest Labs) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.
Compare Flux Kontext Max and FLUX 1.1 ProHow do I use Flux Kontext Max through the API?
Create a Railwail API key and send your request with the model ID flux-kontext-max. Code examples for curl, Python and JavaScript are in the API section of this page.
Comparable models
All in this category- FLUX 1.1 ProBlack Forest Labs
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
- Flux 1.1 Pro UltraBlack Forest Labs
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
- Flux DevBlack Forest Labs
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Use Flux Kontext Max via the API
One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = US$0.01.