curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "omni-fast",
"prompt": "金色时刻海浪轻拍沙滩,电影感,暖阳",
"seconds": "8",
"aspect_ratio": "16:9",
"resolution": "720p"
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "omni-fast",
"status": "queued",
"progress": 0,
"created_at": 1775025000
}Google Omni视频
创建视频
创建 Google Omni 视频任务。
路径: POST https://api.omniall.ai/v1/videos
同一接口、不同用例: 文生视频 · 参考图 · 首尾帧 · 视频参考(omni-fast-v2v)。
鉴权:Authorization: Bearer sk-...
POST
/
v1
/
videos
curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "omni-fast",
"prompt": "金色时刻海浪轻拍沙滩,电影感,暖阳",
"seconds": "8",
"aspect_ratio": "16:9",
"resolution": "720p"
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "omni-fast",
"status": "queued",
"progress": 0,
"created_at": 1775025000
}请求头
示例:
"Bearer sk-..."
请求体
application/json
omni-fast 或 omni-fast-v2v(视频参考)。
示例:
"omni-fast"
提示词(运动 / 镜头 / 主体)。
首帧图 URL 或 base64;与 last_image_url 联用。
尾帧图 URL 或 base64;必须同时提供 first_image_url。
参考视频(MP4 URL 或 data URI)。别名:video_url、input_video。
时长(秒),建议 4–30。示例 "8"。
如 16:9、9:16。
如 720p、1080p、2k、4k。
最多 5 张参考图(URL 或 base64)。
Maximum array length:
5