grok-imagine-video API генерации видео
xAI предоставляет grok-imagine-video для задач: генерация видео. Flatkey направляет модель через /v1/videos. $0.072 per second.
Вывод
ПредпросмотрСгенерировано с Seedance 2.0
Сводка запроса
- Конечная точка
- POST /v1/videos
- ID модели
- grok-imagine-video
- Соотношение сторон
- 9:16
- Разрешение
- —
- Длительность
- 5s
- Медиа-референс
- Нет
Только предпросмотр. Войдите, чтобы отправить запрос в Flatkey.
{
"model": "grok-imagine-video",
"prompt": "Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent.\n\nShot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity: Keep the character's face, clothing and key prop consistent; preserve screen direction across cuts.\nExclude: extra people or props, text, logos and watermarks.",
"duration": 5
}Производительность API
grok-imagine-video Надёжность и доступность API
Здесь появится телеметрия запросов Flatkey для grok-imagine-video, когда будет достаточно производственного трафика.
Активность API
grok-imagine-video Использование и активность запросов API
Отслеживайте объём запросов и успешную активность инференса grok-imagine-video за последний отчётный период.
grok-imagine-video цены
grok-imagine-video Цены и расчёты API
Цены ниже рассчитываются из данных Flatkey для этой модели и видимых групп, которые возвращает наш pricing API.
Пополнить баланс
Используйте один баланс Flatkey и API-ключ для моделей изображений, видео, аудио и текста.
- Тип модели
- Текст в видео
- API
- /v1/videos
- Основа расчёта
- секунду
- Длительность
- 1–15s
- Соотношение сторон
- adaptive
grok-imagine-video ИИ-генератор видео и API: основные возможности
Маршрут grok-imagine-video от xAI поддерживает текст · изображение · видео. Категории каталога: Marketing.
grok-imagine-video для задач генерация видео
Преобразуйте письменный бриф в результат для задач «генерация видео» через /v1/videos.
Работа с референсами в grok-imagine-video
Используйте готовый референс, если маршрут grok-imagine-video принимает медиа или контекст.
Варианты grok-imagine-video для каналов
Адаптируйте одну идею под варианты для магазина, кампании или контентного конвейера.
Передача grok-imagine-video в продакшен
Перенесите утверждённый результат из эксперимента с промптом в повторяемый workflow Flatkey.
Сравнить
grok-imagine-video Сравнение API: возможности и доступ
Сравните факты каталога для grok-imagine-video с базовой версией предыдущего поколения перед изменением интеграции.
| Возможность | Предыдущее поколение | grok-imagine-video |
|---|---|---|
| Провайдер | Не подтверждено в этом снимке каталога | xAI |
| Модальности | Не подтверждено в этом снимке каталога | текст · изображение · видео |
| Контекст | Не подтверждено в этом снимке каталога | Окно контекста не указано в каталоге |
| Конечная точка | Не подтверждено в этом снимке каталога | /v1/videos |
| Тарификация | Не подтверждено в этом снимке каталога | $0.072 per second |
Выберите правильный запрос до интеграции
Проверьте сценарии, текущую стоимость и точный контракт параметров Flatkey.
Считается по текущим настройкам и живому тарифу каталога при наличии фиксированной цены.
- Текущие настройки
- 5s
- Текущий тариф
- $0.072 / секунду
- Оценка запроса
- $0.072
Итог зависит от запроса и группы аккаунта; токены и тарифные уровни нельзя свести к одной сумме.
Сценарии и Model ID
Используйте только доступные сценарии. Flatkey сохраняет один публичный ID, тип входа задаёт тело запроса.
Текст в видео
Создайте клип из текста и параметров вывода.
- ID модели
grok-imagine-video- Endpoint
/v1/videos
Изображение в видео
Анимируйте референсы, сохраняя объект и композицию.
- ID модели
grok-imagine-video- Endpoint
/v1/videos
Совместимость параметров
Значения из той же конфигурации, что использует Playground.
durationДлительность1–15
По умолчанию: 5imageЛимит референсов1 файлов
Endpoint: /v1/videosОт первого теста до production
Используйте единый контракт в Playground и API и обрабатывайте проверку, баланс, статус и результат.
Жизненный цикл
- 1
Проверить модель, prompt, референсы и вывод.
- 2
Отправить запрос и сохранить task ID.
- 3
Проверять статус или обработать callback.
- 4
Скачать и сохранить файл до истечения срока.
Проверки production
Не отправляйте неподдерживаемые значения и референсы.
Разделяйте ошибки ключа, баланса, лимитов и группы.
Покажите, какой prompt или файл нужно заменить.
Сохраните task ID, ограничьте повторы и не считайте таймаут успехом.
Библиотека промптов
Примеры промптов grok-imagine-video для задач: генерация видео
Начните с промпта grok-imagine-video для задачи «генерация видео», затем измените поля запроса в playground.
Сгенерировано с Seedance 2.0
Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction. Visual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Shot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction. Continuity: Keep the character's face, clothing and key prop consistent; preserve screen direction across cuts. Exclude: extra people or props, text, logos and watermarks.
Сгенерировано с Seedance 2.0
Creative direction: A white travel mug with a blue hinged lid stands on a dark studio surface. One hand flips the lid open at its fixed hinge; a thin plume of steam rises from the opening. Finish on the mug profile with its lid, handle and opening clearly visible. Visual treatment: Photoreal product close-up with a soft edge light on white ceramic, a blue lid and restrained backlit steam. Shot sequence: 1. Hold the closed mug in a three-quarter close-up; 2. Show the hand opening the lid around its hinge; 3. Let the steam rise and settle on the open product profile Continuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame. Exclude: extra people or props, text, logos and watermarks.
Сгенерировано с Seedance 2.0
Creative direction: A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view. Visual treatment: Live-action location reveal with industrial shadows and warm coastal sunset. Shot sequence: 1. Follow the man from behind through the industrial room.; 2. Approach the large window as the sunset ocean fills the opening.; 3. Stop behind his silhouette and retain detail around the window frame. Continuity: Maintain scene geography, subject scale and motivated light direction throughout the camera move. Exclude: extra people or props, text, logos and watermarks.
Сгенерировано с Seedance 2.0
Creative direction: A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read. Visual treatment: Live-action character-and-drone study with neutral gray lighting and clear spatial separation. Shot sequence: 1. Hold the man in profile in the neutral gray studio.; 2. Move the quadcopter behind and beside him along a clear curved path.; 3. Keep its distance from the man as the locked camera holds the composition. Continuity: Maintain character design, equipment geometry and travel direction from first to final frame. Exclude: extra people or props, text, logos and watermarks.
Сгенерировано с Seedance 2.0
Creative direction: A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation. Visual treatment: Live-action creator demonstration with natural desk lighting and restrained depth of field. Shot sequence: 1. Establish the seated presenter speaking into the black microphone.; 2. Cut to the hand aligning and inserting the cable into the adapter.; 3. Return to the original desk framing as the explanation continues. Continuity: Keep demonstration props, layout and hand contact consistent so the action remains legible. Exclude: extra people or props, text, logos and watermarks.
Сгенерировано с Seedance 2.0
Creative direction: A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room. Visual treatment: Light-installation performance with turquoise, orange and purple emissive panels. Shot sequence: 1. Frame the man touching the turquoise panel in the dark gallery.; 2. Follow his hands pushing and rotating the panel while orange and purple panels illuminate.; 3. Hold all three colored surfaces in their final arrangement. Continuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops. Exclude: extra people or props, text, logos and watermarks.
Зачем нужен API grok-imagine-video
Зачем использовать grok-imagine-video через Flatkey?
Используйте один шлюз для grok-imagine-video, управления аккаунтом и остальных моделей каталога.
grok-imagine-video через единый API
Сохраняйте явные ID модели и endpoint grok-imagine-video, используя тот же ключ Flatkey для других нагрузок.
Актуальные цены каталога
Проверьте текущие измерения тарификации grok-imagine-video до отправки запроса и подтвердите итоговую оценку в аккаунте.
Практическая передача модели
Проверьте промпт grok-imagine-video в открытом playground и перенесите те же настройки в авторизованную интеграцию.
Управление трафиком и маршрутами
Централизуйте ключи, квоты и маршрутизацию grok-imagine-video, не меняя рабочий процесс приложения для провайдера.
grok-imagine-video API
grok-imagine-video Руководство по интеграции API
Используйте указанный выше ID модели с /v1/videos; сохраняйте документированные поля запроса и единицу тарификации маршрута.
curl https://router.flatkey.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"grok-imagine-video","prompt":"Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent.\n\nShot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity: Keep the character'"'"'s face, clothing and key prop consistent; preserve screen direction across cuts.\nExclude: extra people or props, text, logos and watermarks.","duration":5}' # Poll for the result (replace TASK_ID with the returned task id) curl "https://router.flatkey.ai/v1/videos/TASK_ID" \ -H "Authorization: Bearer sk-***"
Частые вопросы
grok-imagine-video API
вопросы о ценах, функциях и использовании
Ответы о ценах, возможностях, endpoint и лимитах каталога grok-imagine-video.