FLUX 3
Универсальная видео-модель Black Forest Labs: создаёт ролик из текста, первого кадра, пары первого и последнего кадров или до 10 ключевых кадров, а также продлевает готовое MP4-видео. 720p/1080p, 5–20 секунд, звук по желанию.
Coste
desde 7 tokens/s
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":"toma cinematográfica de dron sobre una ciudad nocturna","aspectRatio":"auto","resolution":"720p","duration":5,"audioEnabled":true}}'Campos de entrada
* obligatorio| Campo | Tipo | Predeterminado | Permitido |
|---|---|---|---|
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.
- Tipo
- string
- Predeterminado
- —
- Permitido
- string
aspectRatio- Tipo
- string
- Predeterminado
- auto
- Permitido
- 16:9, 1:1, 21:9, 2:1, 3:4, 4:3, 9:16, auto
resolution- Tipo
- string
- Predeterminado
- 720p
- Permitido
- 720p, 1080p
duration- Tipo
- number
- Predeterminado
- 5
- Permitido
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
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
sourceVideoAsset input for the sourceVideo slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
Coste
desde 7 tokens/sLa variante se selecciona automáticamente a partir de los campos de la petición; no necesitas enviarla.
Capacidades
text_to_videoimage_to_videofirst_last_frame_to_videovideo_extendkeyframes_to_videostartImage:imageendImage:imagesourceVideo:videoEjecutar FLUX 3
Obtén una clave API y el mismo formato de petición funcionará con cualquier modelo del catálogo.