Grok Imagine Video
Быстрое короткое видео с синхронным звуком и точным следованием промпту. Продолжает клип с последнего кадра — удобно склеивать сцены. 480p/720p.
Coste
desde 1 tokens/s
VideoProveedor: xAI
Ejecutar generación
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":"grok-imagine-video","input":{"prompt":"toma cinematográfica de dron sobre una ciudad nocturna","aspectRatio":"9:16","resolution":"480p","duration":6}}'Campos de entrada
* obligatorio| Campo | Tipo | Predeterminado | Permitido |
|---|---|---|---|
prompt* promptGeneration prompt describing the scene, action and direction. | string | — | string |
aspectRatio aspectRatio | string | 9:16 | 16:9, 1:1, 2:3, 3:2, 9:16 |
resolution resolution | string | 480p | 720p, 480p |
duration duration | number | 6 | 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 image startImageAsset input for the startImage slot. | string | — | image · asset, https, data |
prompt*
promptGeneration prompt describing the scene, action and direction.
- Tipo
- string
- Predeterminado
- —
- Permitido
- string
aspectRatio
aspectRatio- Tipo
- string
- Predeterminado
- 9:16
- Permitido
- 16:9, 1:1, 2:3, 3:2, 9:16
resolution
resolution- Tipo
- string
- Predeterminado
- 480p
- Permitido
- 720p, 480p
duration
duration- Tipo
- number
- Predeterminado
- 6
- Permitido
- 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 image
startImageAsset input for the startImage slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
Coste
desde 1 tokens/s720p2 tokens/s
480ppredeterminado1 tokens/s
La variante se selecciona automáticamente a partir de los campos de la petición; no necesitas enviarla.
Capacidades
Modos
image_to_videotext_to_videoSlots de assets
startImage:imageEjecutar Grok Imagine Video
Obtén una clave API y el mismo formato de petición funcionará con cualquier modelo del catálogo.