Generate a video using the Grok Imagine Video i2v model
Bearer authentication using API key
Request payload
Request format for video generation models
Aspect ratio
1:1, 9:16, 16:9, 4:3, 3:4, 3:2, 2:3 Fixed duration
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 Input image for generation, it can be data URL or image URL
Model name to use for the request
x-ai/grok-imagine-video-i2v Text prompt for generation
Size
480p, 720p