Async jobs
Queue generation, poll status, and return image URLs when render completes.
Gemini 2.5 Flash API is a Google image generation model for teams that need strong prompt following, clean compositions, and production-friendly visual output through one LumixAI endpoint.

Model overview
Gemini 2.5 Flash image generation through the LumixAI API with live model pricing from the backend.
Use Gemini 2.5 Flash 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 Gemini 2.5 Flash API, Gemini 2.5 Flash image API, and Google image generation API.
AI image generation
production workflows
API integrations
Developer workflow
Queue generation, poll status, and return image URLs when render completes.
Gemini 2.5 Flash starts at 5 credits per image before conditional rules.
await fetch("https://api.lumixai.live/v1/images/jobs", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": process.env.LUMIXAI_API_KEY
},
body: JSON.stringify({
model: "gemini-2-5-flash",
prompt: "premium product image, clean studio lighting",
aspectRatio: "16:9",
resolution: "2k"
})
});SEO content source map
Next step