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
}请求体
application/json