Sand AI MAGI-2 Reference to Video
Sand AI/MAGI-2 Reference-to-Video 可依據參考圖片、影片與音訊片段生成具同步音訊的 1080p 影片。解析度 1080p;時長 4–30 秒。
Schema
Contents
Endpoints
POST
https://kinovi.ai/api/v1/jobs/createTaskGET
https://kinovi.ai/api/v1/jobs/recordInfo?taskId={taskId}model:
magi-2/reference-to-videoauth: Bearer $KINOVI_API_KEYSchema
7 fieldsSchema
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt | string | Yes | — | 描述影片內容以及各項參考素材的用途。 |
| imageUrls | array<string> | No | — | 參考圖片,最多 10 張。 |
| videoUrls | array<string> | No | — | 參考影片,最多 5 段,每段 2–30 秒且合計不超過 30 秒;超過長度將自動裁切。 |
| audioUrls | array<string> | No | — | 參考音訊片段,最多 5 段,每段 2–30 秒且合計不超過 30 秒;超過長度將自動裁切。 |
| aspectRatio | string | No | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
| duration | integer | No | 5 | 影片長度(整數秒,4–30)。 |
| generateAudio | boolean | No | true | 隨影片生成音訊(對白、音效、音樂)。關閉此選項不會改變價格。 |
Status & Output
Poll recordInfo every 2 seconds until status reaches a terminal state.
| Status | Description |
|---|---|
| waiting | Task queued |
| generating | Processing in progress |
| success | Output ready |
| fail | Generation failed |
`creditsUsed` and output fields vary by model and selected tier.
Auth
Authenticate with a Bearer token in the Authorization header.
Get your API key
Environment variable
export KINOVI_API_KEY="your-api-key"Pricing
Variant rates for MAGI-2 Reference to Video, starting at $0.0800/s.
How billing works
Priced per second of requested video at 1080p. Charged at submit; failed tasks are refunded in full.
Want an exact quote for your duration, resolution and batch size? Try the model price calculator →
MAGI-2 Reference to Video · 1080p
Rate$0.0800/s
Credits17.24/s
| Variant | Rate | Credits |
|---|---|---|
MAGI-2 Reference to Video · 1080p | $0.0800/s | 17.24/s |