v4
latestOpenAPI 3.1.02026-08-0143190206.8 KBv1
Generate an image based on a prompt. This is the endpoint for making generation requests to image generation models.
post/v1/images/generations
Request body
Example request
{
"model": "grok-imagine-image"
}Response
Success