curl --request POST \
--url https://api.omniall.ai/v1/videos \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "magi-2",
"prompt": "Slow camera push into the scene",
"duration": 5,
"resolution": "1080p",
"aspect_ratio": "16:9",
"audio": true
}
'{
"id": "task_abc123",
"object": "video",
"model": "magi-2",
"status": "queued",
"progress": 0,
"created_at": 1710000000,
"seconds": "5"
}{
"id": "task_abc123",
"object": "video",
"model": "magi-2",
"status": "queued",
"progress": 0,
"created_at": 1710000000
}MAGI-2
Create video task
Returns a task object immediately after create. Upstream submission is completed asynchronously by the platform; clients obtain progress and results via the get endpoint.
Path: POST https://api.omniall.ai/v1/videos
Media fields accept publicly accessible URLs, or files uploaded with the create request as multipart/form-data.
Auth: 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": "magi-2",
"prompt": "Slow camera push into the scene",
"duration": 5,
"resolution": "1080p",
"aspect_ratio": "16:9",
"audio": true
}
'{
"id": "task_abc123",
"object": "video",
"model": "magi-2",
"status": "queued",
"progress": 0,
"created_at": 1710000000,
"seconds": "5"
}{
"id": "task_abc123",
"object": "video",
"model": "magi-2",
"status": "queued",
"progress": 0,
"created_at": 1710000000
}Body
application/json
MAGI-2 video create body (POST /v1/videos).