curl --request POST \
--url https://api.omniall.ai/v1/video/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "muse-video",
"prompt": "Seaside sunset timelapse, golden light on the waves",
"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
Create video
Create a Muse video task.
Path: POST https://api.omniall.ai/v1/video/generations
Scenarios:
- Text-to-video:
prompt+seconds(optionalsize/resolution) - Image / multi-image reference:
reference_imageorreference_images(max 7 total) - Motion / video reference:
reference_videos(max 3 MP4 URLs)
Constraints:
muse-video:secondsrequired, only 5 / 10 / 15 / 20 / 25 / 30muse-video-60s: fixed 60 seconds (seconds: 60)resolutiononly720P(optional, default 720P)sizeonly16:9/9:16(optional, default 16:9)countmust be 1- Reference audio not supported
- Invalid params → HTTP 400
Auth: 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": "Seaside sunset timelapse, golden light on the waves",
"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>"
}
}Body
application/json
Muse create-video request body.
Response
Task accepted (processing)
Muse video task object.