Async jobs
Queue generation, poll status, and return image URLs when render completes.
Grok API is a fast creative image generation option for social-first visuals, conversational prompts, and rapid idea exploration.

Model overview
Grok image API option for fast creative generation, social-first visuals, and conversational prompt workflows.
Use Grok 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 Grok API, Grok image API, and xAI image generation API.
social visuals
rapid generation
creative prompts
Developer workflow
Queue generation, poll status, and return image URLs when render completes.
Grok 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: "grok",
prompt: "premium product image, clean studio lighting",
aspectRatio: "16:9",
resolution: "2k"
})
});SEO content source map
Next step