
Grok Imagine Image
xAI · Image generation
The fast, low-cost route for stills, with up to five reference images.
60 creditsREST APIMCPEditor agent
OpenAI's image model. A good choice when the image has to contain readable text or follow a detailed brief. Accepts up to five reference images for edits.
id provider "openai"

Prompt A lighthouse on a rocky coast at golden hour, waves breaking against the rocks, warm light, cinematic photograph
A real, unedited output of this model, made for this page.
The same prompt on other models
POST /v1/ai/imagesMCPgenerate_imagegenerateMedia kind "image"Generate page and editorA test key answers with a sample and spends nothing. Every parameter and error is in the API reference.