curl --request POST \
--url https://api.omniall.ai/v1/video/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "muse-video",
"prompt": "海边日落延时摄影,金色阳光洒在波浪上",
"seconds": 5,
"resolution": "720P",
"size": "16:9",
"count": 1
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "muse-video",
"status": "processing",
"progress": 0,
"seconds": "5",
"size": "16:9"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}Muse
创建视频
创建 Muse 视频任务。
路径: POST https://api.omniall.ai/v1/video/generations
场景:
- 文生视频:只传
prompt+seconds(及可选size/resolution) - 图生 / 多图参考:传
reference_image或reference_images(合计最多 7 张) - 动作 / 视频参考:传
reference_videos(最多 3 个 MP4 URL)
约束:
muse-video:seconds必填,只能是 5 / 10 / 15 / 20 / 25 / 30muse-video-60s:固定 60 秒(传seconds: 60)resolution仅720P(可省略,默认 720P)size仅16:9/9:16(可省略,默认 16:9)count只能为 1- 不支持参考音频
- 参数不合法返回 HTTP 400
鉴权:Authorization: Bearer sk-...
POST
/
v1
/
video
/
generations
curl --request POST \
--url https://api.omniall.ai/v1/video/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "muse-video",
"prompt": "海边日落延时摄影,金色阳光洒在波浪上",
"seconds": 5,
"resolution": "720P",
"size": "16:9",
"count": 1
}
'{
"id": "task_xxxxxxxx",
"task_id": "task_xxxxxxxx",
"object": "video",
"model": "muse-video",
"status": "processing",
"progress": 0,
"seconds": "5",
"size": "16:9"
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}请求体
application/json
Muse 创建视频请求体。
响应
任务已提交(processing)
Muse 视频任务对象。