Generate video
Grok Imagine Video Test i2v
POST
Generate video
Authorizations
Bearer authentication using API key
Body
application/json
Request payload
Request format for video generation models
Aspect ratio
Available options:
1:1, 9:16, 16:9, 4:3, 3:4, 3:2, 2:3 Fixed duration
Available options:
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
Available options:
x-ai/grok-imagine-video-test-i2v Text prompt for generation
Size
Available options:
480p, 720p 