Grok Imagine 1.0
Grok Imagine 1.0 Image Generation
- Async processing mode, returns task ID for subsequent queries
- High-quality AI image generation, supports multilingual prompts
- Generated image links are valid for 24 hours, please save them promptly
POST
Documentation Index
Fetch the complete documentation index at: https://gccai.heqingsong.uk/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
All APIs require Bearer Token authenticationGet API Key:Visit the API Key Management Page to get your API KeyAdd it to the request header:
Body
Image generation model nameSupported models:
grok-imagine-1.0-gccai- Grok Image Generation
"grok-imagine-1.0-gccai"Text description for image generation, supports multiple languages
Image generation sizeSupported formats:
1:1- Square (default)16:9- Landscape widescreen9:16- Portrait tall3:2- Landscape2:3- Portrait
Number of images to generateRange: 1-10 (minimum 1, maximum 10)⚠️ Note: Must be a plain number (e.g.
1), do not add quotes, otherwise an error will occurResponse
Response status code
Response data array