MAGI-2
Для сцен с диалогом и синхронным звуком, анимации изображений и роликов по референсам персонажей, движения или звука.
Coste
5,5 tokens/s
Probar MAGI-2 en Givon AI
Abre un proyecto para crear de forma habitual o usa Playground para revisar los parámetros del modelo.
Usar mediante API
Campos, límites y ejemplos listos para desarrolladores. El flujo de usuario empieza arriba.
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"video","model":"magi-2","input":{"prompt":"toma cinematográfica de dron sobre una ciudad nocturna","aspectRatio":"16:9","resolution":"1080p","duration":5,"audioEnabled":true,"referenceAssetUris":["asset://asset_..."]}}'Campos de entrada
* obligatorio| Campo | Tipo | Predeterminado | Permitido |
|---|---|---|---|
prompt promptGeneration prompt describing the scene, action and direction. | string | — | hasta 15000 caracteres |
aspectRatio aspectRatio | string | 16:9 | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, adaptive |
resolution resolution | string | 1080p | 1080p |
duration duration | number | 5 | 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 |
audioEnabled audioEnabled | boolean | true | boolean |
Start image startImageAsset input for the startImage slot. | string | — | image · asset, https, data |
End image endImageAsset input for the endImage slot. | string | — | image · asset, https, data |
Reference video referenceVideoAsset input for the referenceVideo slot. | string | — | video · asset, https, data |
Reference video 2 referenceVideo2Asset input for the referenceVideo2 slot. | string | — | video · asset, https, data |
Reference video 3 referenceVideo3Asset input for the referenceVideo3 slot. | string | — | video · asset, https, data |
Reference video 4 referenceVideo4Asset input for the referenceVideo4 slot. | string | — | video · asset, https, data |
Reference video 5 referenceVideo5Asset input for the referenceVideo5 slot. | string | — | video · asset, https, data |
Speech audio speechAudioAsset input for the speechAudio slot. | string | — | voiceover · asset, https, data |
Speech audio 2 speechAudio2Asset input for the speechAudio2 slot. | string | — | voiceover · asset, https, data |
Speech audio 3 speechAudio3Asset input for the speechAudio3 slot. | string | — | voiceover · asset, https, data |
Speech audio 4 speechAudio4Asset input for the speechAudio4 slot. | string | — | voiceover · asset, https, data |
Speech audio 5 speechAudio5Asset input for the speechAudio5 slot. | string | — | voiceover · asset, https, data |
Reference images referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs. The item limit applies to physical references after repeated owned asset identities and identities already bound to video slots are excluded. URL entries remain distinct; every supplied item is validated. | array | — | image · hasta 10 · asset, https, data |
providerOptions providerOptions | object | — | object |
promptGeneration prompt describing the scene, action and direction.
- Tipo
- string
- Predeterminado
- —
- Permitido
- hasta 15000 caracteres
aspectRatio- Tipo
- string
- Predeterminado
- 16:9
- Permitido
- 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, adaptive
resolution- Tipo
- string
- Predeterminado
- 1080p
- Permitido
- 1080p
duration- Tipo
- number
- Predeterminado
- 5
- Permitido
- 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
audioEnabled- Tipo
- boolean
- Predeterminado
- true
- Permitido
- boolean
startImageAsset input for the startImage slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
endImageAsset input for the endImage slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
referenceVideoAsset input for the referenceVideo slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
referenceVideo2Asset input for the referenceVideo2 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
referenceVideo3Asset input for the referenceVideo3 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
referenceVideo4Asset input for the referenceVideo4 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
referenceVideo5Asset input for the referenceVideo5 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
speechAudioAsset input for the speechAudio slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- voiceover · asset, https, data
speechAudio2Asset input for the speechAudio2 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- voiceover · asset, https, data
speechAudio3Asset input for the speechAudio3 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- voiceover · asset, https, data
speechAudio4Asset input for the speechAudio4 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- voiceover · asset, https, data
speechAudio5Asset input for the speechAudio5 slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- voiceover · asset, https, data
referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs. The item limit applies to physical references after repeated owned asset identities and identities already bound to video slots are excluded. URL entries remain distinct; every supplied item is validated.
- Tipo
- array
- Predeterminado
- —
- Permitido
- image · hasta 10 · asset, https, data
providerOptions- Tipo
- object
- Predeterminado
- —
- Permitido
- object
Coste
5,5 tokens/sLa variante se selecciona automáticamente a partir de los campos de la petición; no necesitas enviarla.
Capacidades
text_to_videoimage_to_videovideo_referencestartImage:imageendImage:imagereferenceVideo:videoreferenceVideo2:videoreferenceVideo3:videoreferenceVideo4:videoreferenceVideo5:videospeechAudio:voiceoverspeechAudio2:voiceoverspeechAudio3:voiceoverspeechAudio4:voiceoverspeechAudio5:voiceoverreferenceAssetUris:image[]<=10