FLUX 3
Универсальная видео-модель Black Forest Labs: создаёт ролик из текста, первого кадра, пары первого и последнего кадров или до 10 ключевых кадров, а также продлевает готовое MP4-видео. 720p/1080p, 5–20 секунд, звук по желанию.
Стоимость
от 7 токенов/с
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":"flux-3","input":{"prompt":"кинематографичный пролёт дрона над ночным городом","aspectRatio":"auto","resolution":"720p","duration":5,"audioEnabled":true}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | string |
aspectRatio aspectRatio | string | auto | 16:9, 1:1, 21:9, 2:1, 3:4, 4:3, 9:16, auto |
resolution resolution | string | 720p | 720p, 1080p |
duration duration | number | 5 | 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 |
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 |
Source video sourceVideoAsset input for the sourceVideo slot. | string | — | video · asset, https, data |
promptGeneration prompt describing the scene, action and direction.
- Тип
- string
- По умолчанию
- —
- Допустимо
- string
aspectRatio- Тип
- string
- По умолчанию
- auto
- Допустимо
- 16:9, 1:1, 21:9, 2:1, 3:4, 4:3, 9:16, auto
resolution- Тип
- string
- По умолчанию
- 720p
- Допустимо
- 720p, 1080p
duration- Тип
- number
- По умолчанию
- 5
- Допустимо
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
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
sourceVideoAsset input for the sourceVideo slot.
- Тип
- string
- По умолчанию
- —
- Допустимо
- video · asset, https, data
Стоимость
от 7 токенов/сВариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
text_to_videoimage_to_videofirst_last_frame_to_videovideo_extendkeyframes_to_videostartImage:imageendImage:imagesourceVideo:videoЗапустить FLUX 3
Получи API-ключ — и этот же запрос заработает для любой модели каталога.