Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过 /v1/videos 调用 MAGI-2,支持文生视频与参考生视频。
POST
/v1/videos
GET
/v1/videos/{task_id}
/v1/videos/{task_id}/content
https://api.omniall.ai
Authorization: Bearer sk-...
magi-2
model
prompt
mode
i2v
r2v
t2v
resolution
1080p
aspect_ratio
21:9
16:9
4:3
1:1
3:4
9:16
size
duration
seconds
"5"
audio
true
reference_images
reference_videos
reference_audios
multipart/form-data
queued
in_progress
completed
failed
error
curl --request POST \ --url 'https://api.omniall.ai/v1/videos' \ --header 'Authorization: Bearer sk-...' \ --header 'Content-Type: application/json' \ --data '{ "model": "magi-2", "prompt": "以参考图为场景,镜头缓缓向前推进", "duration": 5, "resolution": "1080p", "aspect_ratio": "16:9", "audio": true }'