Create Grok 1.5 Video
创建 Grok 1.5 视频生成任务。任务创建后,请使用通用视频任务查询接口获取生成状态和结果。
task_id. Use the Query Video Task endpoint to poll task status and read the final video URL from result.video_url.Supported models
| model | Notes |
|---|---|
grok-imagine-video-1.5 | Grok 1.5 Video Model, supporting 10 or 15 seconds with custom aspect ratios. Requires exactly 1 reference image. |
grok-1.5 and grok_1_5 normalize to grok-imagine-video-1.5.
Parameter Constraints
- Reference Image:
grok-imagine-video-1.5must be used with a reference image. Upload exactly 1 image in theimage_urls(orimages) field. - Duration: Only supports 10 or 15 seconds (defaults to 10).
- Aspect Ratio: Supports
16:9,9:16,1:1,3:2,2:3(defaults to16:9).
Example Request
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Model name. grok-imagine-video-1.5, grok-1.5, and grok_1_5 normalize to grok-imagine-video-1.5.
grok-imagine-video-1.5 Text prompt for video generation
Reference image URL list. grok-imagine-video-1.5 requires exactly 1 reference image.
Video duration in seconds. Only supports 10 or 15 seconds. Defaults to 10.
10, 15 Video aspect ratio (e.g., 16:9, 9:16). Takes precedence over orientation.
16:9, 9:16, 1:1, 3:2, 2:3 Video orientation. Active only when ratio is empty: landscape maps to 16:9, portrait maps to 9:16.
landscape, portrait Compatibility field for common OpenAPI image inputs; used when image_urls is empty. Requires exactly 1 image.