FLUX.1 Kontext [dev]
Open-weight version of FLUX.1 Kontext by Black Forest Labs. Instruction-based editing: pass an input image and a plain text edit ('change the jacket to red', 'remove the person on the left') and it applies the change while keeping the rest of the scene and identity consistent.
FLUX.1 Kontext [dev] is image generation AI model from Black Forest Labs, priced at β¬0.000 per 1M input tokens with a unknown context window.
Pricing
API Integration
Use our OpenAI-compatible API to integrate FLUX.1 Kontext [dev] into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
const images = await rw.run("flux-kontext-dev", "A beautiful sunset over Tokyo");
console.log(images[0].url);
// Or use the image() method for full control
const res = await rw.image("flux-kontext-dev", "A cat in space", {
size: "1024x1024",
n: 1,
});
console.log(res.data[0].url);Frequently asked questions
Related Models
View all Image GenerationFLUX 1.1 Pro
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 Ultra
FLUX 1.1 Pro in Ultra mode by Black Forest Labs. Generates up to 4 megapixel images with a raw mode for less processed, more natural-looking photography. Best FLUX option when output resolution and fine detail matter.
Flux 1.1 Pro Ultra
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
Flux Dev
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Start using FLUX.1 Kontext [dev] today
Get started with free credits. No credit card required. Access FLUX.1 Kontext [dev] and 100+ other models through a single API.