Generate an image using the Grok Imagine Image t2i model
Bearer authentication using API key
Request payload
Request format for image generation models
Aspect ratio
1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2, 9:19.5, 19.5:9, 9:20, 20:9, 1:2, 2:1, auto Model name to use for the request
x-ai/grok-imagine-image-t2i Text prompt for generation
Size
1k, 2k