← All Models
Grok Imagine
xAI's image generation model. Creative and expressive outputs from text descriptions.
Specifications
| Provider | xAI |
| Category | Image |
Quick Start
curl -X POST https://query.genx.sh/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine",
"params": {
"prompt": "A futuristic city skyline at sunset"
}
}'
Example Request Body
// POST /api/v1/generate
{
"model": "grok-imagine",
"params": {
"prompt": "A futuristic city skyline at sunset"
}
}