Generate an image using the Grok Imagine Image i2i 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 Array of input images, which can be data URL or image URL
1 - 3 elementsModel name to use for the request
x-ai/grok-imagine-image-i2i Text prompt for generation
Size
1k, 2k