如何使用 Grok Imagine Video 1.5 参考图转视频
-
输入:提供提示词,并在 images_list 中添加最多 7 张参考图片,用于引导主体和风格。
-
设置时长、分辨率和音频:时长为 1-15 秒(默认 8 秒),分辨率可选 480p 或 720p,并可开启或关闭 generate_audio。
-
提交并轮询:API 会返回 request_id;持续轮询 GET /api/v1/predictions/{request_id}/result,直到 status 为 completed。
curl -X POST "https://api.muapi.ai/api/v1/grok-imagine-video-1-5-reference-to-video" \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"The character from the references walks through a neon city at night.","images_list":["https://example.com/ref1.jpg","https://example.com/ref2.jpg"],"aspect_ratio":"16:9","duration":8,"resolution":"720p"}'