grok-imagine-video-1.5 视频任务。该模型使用 JSON 请求;seconds 必须传字符串;尺寸控制可传 size 或 aspect_ratio。图生视频只支持首帧参考图或多参考图,不支持首尾帧。{
"model": "grok-imagine-video-1.5",
"prompt": "A clean product video of a white cube rotating slowly on a neutral studio background.",
"seconds": "6",
"size": "720x1280",
"aspect_ratio": "16:9",
"resolution": "720p",
"reference_images": [
"https://upload.wikimedia.org/wikipedia/commons/1/15/Red_Apple.jpg"
],
"input_reference": "https://upload.wikimedia.org/wikipedia/commons/1/15/Red_Apple.jpg",
"property1": "string",
"property2": "string"
}