Async jobs
Queue generation, poll status, and return image URLs when render completes.
Flux.2 Pro API brings Flux image generation into LumixAI for creative prompts, reference-aware editing, realistic scenes, and high-detail production work.

Model overview
Flexible Flux.2 API model for product, people, editorial, and creative image generation.
Use Flux.2 Pro through LumixAI when you want one stable REST workflow for prompts, model selection, async jobs, usage tracking, and credit pricing. The page targets searches for Flux.2 Pro API, Flux.2 Pro image API, and Black Forest Labs image generation API.
creative campaigns
product shots
lifestyle images
Developer workflow
Queue generation, poll status, and return image URLs when render completes.
Flux.2 Pro starts at 6 credits per image before conditional rules.
await fetch("https://api.example.com/v1/images/jobs", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": process.env.LUMIXAI_API_KEY
},
body: JSON.stringify({
model: "flux-2",
prompt: "premium product image, clean studio lighting",
aspectRatio: "16:9",
resolution: "2k"
})
});SEO content source map
Next step