Wan 3.0
Универсальная Wan 3.0: текст-в-видео, первый и последний кадры, а также референсы изображений, видео и аудио. Встроенный звук включён по умолчанию и переключается; 480p, 720p и 1080p, 2–30 секунд.
Стоимость
от 4 токенов/с
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":"wan-3.0","input":{"prompt":"кинематографичный пролёт дрона над ночным городом","aspectRatio":"adaptive","resolution":"480p","duration":5,"audioEnabled":true,"referenceAssetUris":["asset://asset_..."]}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | до 5000 симв. |
aspectRatio aspectRatio | string | adaptive | adaptive, 16:9, 4:3, 1:1, 3:4, 9:16 |
resolution resolution | string | 480p | 480p, 720p, 1080p |
duration duration | number | 5 | 2, 3, 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 |
Wan 30 reference video 1 wan30ReferenceVideo1Asset input for the wan30ReferenceVideo1 slot. | string | — | video · asset, https, data |
Wan 30 reference video 2 wan30ReferenceVideo2Asset input for the wan30ReferenceVideo2 slot. | string | — | video · asset, https, data |
Wan 30 reference video 3 wan30ReferenceVideo3Asset input for the wan30ReferenceVideo3 slot. | string | — | video · asset, https, data |
Wan 30 reference video 4 wan30ReferenceVideo4Asset input for the wan30ReferenceVideo4 slot. | string | — | video · asset, https, data |
Wan 30 reference video 5 wan30ReferenceVideo5Asset input for the wan30ReferenceVideo5 slot. | string | — | video · asset, https, data |
Wan 30 reference audio 1 wan30ReferenceAudio1Asset input for the wan30ReferenceAudio1 slot. | string | — | voiceover · asset, https, data |
Wan 30 reference audio 2 wan30ReferenceAudio2Asset input for the wan30ReferenceAudio2 slot. | string | — | voiceover · asset, https, data |
Wan 30 reference audio 3 wan30ReferenceAudio3Asset input for the wan30ReferenceAudio3 slot. | string | — | voiceover · asset, https, data |
Wan 30 reference audio 4 wan30ReferenceAudio4Asset input for the wan30ReferenceAudio4 slot. | string | — | voiceover · asset, https, data |
Wan 30 reference audio 5 wan30ReferenceAudio5Asset input for the wan30ReferenceAudio5 slot. | string | — | voiceover · asset, https, data |
Wan 30 reference document wan30ReferenceDocumentAsset input for the wan30ReferenceDocument slot. | string | — | file · asset, https, data |
Reference images referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs. | array | — | image · до 10 · asset, https, data |
promptGeneration prompt describing the scene, action and direction.
- Тип
- string
- По умолчанию
- —
- Допустимо
- до 5000 симв.
aspectRatio- Тип
- string
- По умолчанию
- adaptive
- Допустимо
- adaptive, 16:9, 4:3, 1:1, 3:4, 9:16
resolution- Тип
- string
- По умолчанию
- 480p
- Допустимо
- 480p, 720p, 1080p
duration- Тип
- number
- По умолчанию
- 5
- Допустимо
- 2, 3, 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Встроенный звук создаётся по умолчанию; его можно выключить.
- Тип
- boolean
- По умолчанию
- true
- Допустимо
- boolean
startImageAsset input for the startImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
endImageAsset input for the endImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
wan30ReferenceVideo1Asset input for the wan30ReferenceVideo1 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
wan30ReferenceVideo2Asset input for the wan30ReferenceVideo2 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
wan30ReferenceVideo3Asset input for the wan30ReferenceVideo3 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
wan30ReferenceVideo4Asset input for the wan30ReferenceVideo4 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
wan30ReferenceVideo5Asset input for the wan30ReferenceVideo5 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
wan30ReferenceAudio1Asset input for the wan30ReferenceAudio1 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- voiceover · asset, https, data
wan30ReferenceAudio2Asset input for the wan30ReferenceAudio2 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- voiceover · asset, https, data
wan30ReferenceAudio3Asset input for the wan30ReferenceAudio3 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- voiceover · asset, https, data
wan30ReferenceAudio4Asset input for the wan30ReferenceAudio4 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- voiceover · asset, https, data
wan30ReferenceAudio5Asset input for the wan30ReferenceAudio5 slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- voiceover · asset, https, data
wan30ReferenceDocumentAsset input for the wan30ReferenceDocument slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- file · asset, https, data
referenceAssetUrisOptional reference assets as asset:// URIs, HTTPS URLs, or data URIs.
- Тип
- array
- По умолчанию
- —
- Допустимо
- image · до 10 · asset, https, data
Стоимость
от 4 токенов/сВариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
text_to_videoimage_to_videovideo_referencestartImage:imageendImage:imagewan30ReferenceVideo1:videowan30ReferenceVideo2:videowan30ReferenceVideo3:videowan30ReferenceVideo4:videowan30ReferenceVideo5:videowan30ReferenceAudio1:voiceoverwan30ReferenceAudio2:voiceoverwan30ReferenceAudio3:voiceoverwan30ReferenceAudio4:voiceoverwan30ReferenceAudio5:voiceoverwan30ReferenceDocument:filereferenceAssetUris:image[]<=10Запустить Wan 3.0
Получи API-ключ — и этот же запрос заработает для любой модели каталога.