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
prompt*prompt

Generation prompt describing the scene, action and direction.

Tipo
string
Predeterminado
Permitido
string
aspectRatioaspectRatio
Tipo
string
Predeterminado
9:16
Permitido
16:9, 1:1, 2:3, 3:2, 9:16
resolutionresolution
Tipo
string
Predeterminado
480p
Permitido
720p, 480p
durationduration
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 imagestartImage

Asset input for the startImage slot.

Tipo
string
Predeterminado
Permitido
image · asset, https, data

Coste

desde 1 tokens/s
720p2 tokens/s
480ppredeterminado1 tokens/s

La variante se selecciona automáticamente a partir de los campos de la petición; no necesitas enviarla.

Capacidades

Modosimage_to_videotext_to_video
Slots de assetsstartImage:image

Ejecutar Grok Imagine Video

Obtén una clave API y el mismo formato de petición funcionará con cualquier modelo del catálogo.