Kling 4.0

Видео по тексту, последовательности кадров или изображениям, видео и голосам в качестве референсов. 3–30 секунд, 720p и 1080p.

Стоимость

от 11 токенов/с

ВидеоПровайдер: Kie

Попробовать Kling 4.0 в Givon AI

Открой рабочий проект для обычной генерации или Playground, чтобы проверить точные параметры модели.

Использовать через API

Поля запроса, ограничения и готовые примеры для разработчиков. Пользовательский запуск находится выше.

Запустить генерацию
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":"kling-4.0","input":{"prompt":"кинематографичный пролёт дрона над ночным городом","mode":"create","aspectRatio":"auto","resolution":"720p","duration":5,"referenceAssetUris":["asset://asset_..."]}}'

Входные поля

* — обязательное
modemode
Тип
string
По умолчанию
create
Допустимо
create, reference
prompt*prompt

Generation prompt describing the scene, action and direction.

Тип
string
По умолчанию
—
Допустимо
до 10000 симв.
aspectRatioaspectRatio
Тип
string
По умолчанию
auto
Допустимо
auto, 16:9, 9:16, 1:1, 21:9, adaptive
resolutionresolution
Тип
string
По умолчанию
720p
Допустимо
720p, 1080p
durationduration
Тип
number
По умолчанию
5
Допустимо
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
Start imagestartImage

Asset input for the startImage slot.

Тип
string
По умолчанию
—
Допустимо
image · asset, https, data
End imageendImage

Asset input for the endImage slot.

Тип
string
По умолчанию
—
Допустимо
image · asset, https, data
Reference videoreferenceVideo

Asset input for the referenceVideo slot.

Тип
string
По умолчанию
—
Допустимо
video · asset, https, data
Reference video 2referenceVideo2

Asset input for the referenceVideo2 slot.

Тип
string
По умолчанию
—
Допустимо
video · asset, https, data
Reference video 3referenceVideo3

Asset input for the referenceVideo3 slot.

Тип
string
По умолчанию
—
Допустимо
video · asset, https, data
Reference video 4referenceVideo4

Asset input for the referenceVideo4 slot.

Тип
string
По умолчанию
—
Допустимо
video · asset, https, data
Reference video 5referenceVideo5

Asset input for the referenceVideo5 slot.

Тип
string
По умолчанию
—
Допустимо
video · asset, https, data
Reference audioreferenceAudio

Asset input for the referenceAudio slot.

Тип
string
По умолчанию
—
Допустимо
voiceover · asset, https, data
Reference audio 2referenceAudio2

Asset input for the referenceAudio2 slot.

Тип
string
По умолчанию
—
Допустимо
voiceover · asset, https, data
Reference audio 3referenceAudio3

Asset input for the referenceAudio3 slot.

Тип
string
По умолчанию
—
Допустимо
voiceover · asset, https, data
Reference imagesreferenceAssetUris

Optional 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 · до 10 · asset, https, data
providerOptionsproviderOptions
Тип
object
По умолчанию
—
Допустимо
object

Стоимость

от 11 токенов/с
720p12 тк/с
1080p17,5 тк/с
720pпо умолчанию11 тк/с
1080p16 тк/с
720p11 тк/с
1080p16 тк/с

Вариант подбирается по полям запроса автоматически — указывать его не нужно.

Возможности

Режимыtext_to_videoimage_to_videovideo_reference
Слоты ассетовstartImage:imageendImage:imagereferenceVideo:videoreferenceVideo2:videoreferenceVideo3:videoreferenceVideo4:videoreferenceVideo5:videoreferenceAudio:voiceoverreferenceAudio2:voiceoverreferenceAudio3:voiceoverreferenceAssetUris:image[]<=15
Получить API-ключ

Где использовать эту модель