Grok Imagine Image-to-Video
- Grok Imagine image-to-video generation model
- Supports
480p/720poutput, 1-15 seconds duration - Asynchronous processing mode, use the returned task ID to query status
- Generated video links are valid for 24 hours, please save them promptly
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
grok-imagine-image-to-video: Image-to-video generation, aspect_ratio additionally supports auto
"grok-imagine-image-to-video"
Text prompt describing the desired video content or motion
Notes:
- Supports both Chinese and English
"The camera slowly pushes in as the character smiles and wind moves the hair"
Public URL of the input image
Notes:
- Must be a publicly accessible image URL
"https://example.com/reference.jpg"
Output video duration (seconds)
Notes:
- Range:
1-15 - Default:
6if not provided
6
Output video aspect ratio
Options:
auto,16:9,4:3,3:2,1:1,2:3,3:4,9:16
Notes:
- Default:
autoif not provided
"auto"
Output video resolution
Options:
480p720p
Notes:
- Default:
720pif not provided
"480p"
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Asynchronous task info
Task output type
video "video"