Grok Imagine Video
Быстрое короткое видео с синхронным звуком и точным следованием промпту. Продолжает клип с последнего кадра — удобно склеивать сцены. 480p/720p.
Стоимость
от 1 токенов/с
ВидеоПровайдер: xAI
Запустить генерацию
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":"кинематографичный пролёт дрона над ночным городом","aspectRatio":"9:16","resolution":"480p","duration":6}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
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.
- Тип
- 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
Стоимость
от 1 токенов/с720p2 тк/с
480pпо умолчанию1 тк/с
Вариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
Режимы
image_to_videotext_to_videoСлоты ассетов
startImage:imageЗапустить Grok Imagine Video
Получи API-ключ — и этот же запрос заработает для любой модели каталога.