Async jobs
Queue generation with /v1/images/jobs, poll /v1/images/jobs/{id}, then download the finished image.
Grok API is a fast creative image generation option for social-first visuals, conversational prompts, and rapid idea exploration.

Model overview
Grok image generation through the LumixAI API with live model pricing from the backend.
Use Grok through LumixAI when you want one stable REST workflow for prompts, model selection, async jobs, polling, usage tracking, and credit pricing. The page targets searches for Grok API, Grok image API, and xAI image generation API.
AI image generation
production workflows
API integrations
Developer workflow
Queue generation with /v1/images/jobs, poll /v1/images/jobs/{id}, then download the finished image.
Grok starts at 6 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: "grok",
prompt: "premium product image, clean studio lighting",
aspectRatio: "auto",
resolution: "2k"
})
});SEO content source map
Next step