Wan 2.7 Video
Генерация и редактирование видео в одном движке: из текста, из фото, с заданным финальным кадром или правкой готового клипа по описанию. До 1080p.
Стоимость
от 6 токенов/с
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-2.7-video","input":{"prompt":"кинематографичный пролёт дрона над ночным городом","aspectRatio":"9:16","resolution":"720p","duration":4}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | string |
aspectRatio aspectRatio | string | 9:16 | 16:9, 1:1, 3:4, 4:3, 9:16 |
resolution resolution | string | 720p | 720p, 1080p |
duration duration | number | 4 | 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 |
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 |
Source video sourceVideoAsset input for the sourceVideo slot. | string | — | video · asset, https, data |
Reference video referenceVideoAsset input for the referenceVideo slot. | string | — | video · asset, https, data |
Speech audio speechAudioAsset input for the speechAudio slot. | string | — | voiceover · asset, https, data |
promptGeneration prompt describing the scene, action and direction.
- Тип
- string
- По умолчанию
- —
- Допустимо
- string
aspectRatio- Тип
- string
- По умолчанию
- 9:16
- Допустимо
- 16:9, 1:1, 3:4, 4:3, 9:16
resolution- Тип
- string
- По умолчанию
- 720p
- Допустимо
- 720p, 1080p
duration- Тип
- number
- По умолчанию
- 4
- Допустимо
- 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
startImageAsset input for the startImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
endImageAsset input for the endImage slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
sourceVideoAsset input for the sourceVideo slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
referenceVideoAsset input for the referenceVideo slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
speechAudioAsset input for the speechAudio slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- voiceover · asset, https, data
Стоимость
от 6 токенов/сВариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
video_editimage_to_videotext_to_videostartImage:imageendImage:imagesourceVideo:videoreferenceVideo:videospeechAudio:voiceoverЗапустить Wan 2.7 Video
Получи API-ключ — и этот же запрос заработает для любой модели каталога.