К основному содержанию
скилл CX Codex

scenario-grok-imagine-video — скилл для Claude Code: генерация видео

Скилл для генерации и редактирования видео моделями Grok Imagine на платформе Scenario через MCP. Пригодится, когда нужен текст-в-видео, анимация кадра или продолжение клипа.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add scenario-labs/skills --skill scenario-grok-imagine-video -a claude-code
Открыть на GitHub

Что делает scenario-grok-imagine-video

Скилл покрывает четыре режима, и каждый живёт в своей модели: генерация по тексту или первому кадру (Video 1.5), перенос персонажей и объектов по референсам (R2V), правка готового ролика промптом (Edit Video) и продление клипа с последнего кадра (Extend Video). Выбор модели и есть выбор режима, поэтому сначала search по моделям, затем model_schema_get, чтобы снять лимиты.

Ограничения у членов семейства разные. На момент написания 1080p было только у Video 1.5 в текстовом и первокадровом режимах, R2V упирался в 720p и молча отдавал 480p по умолчанию. Extend добавляет от 2 до 10 новых секунд, Edit Video сжимает исходник до 8.7 секунды на 720p. Сид, негативный промпт и параметры камеры в семействе отсутствуют.

Звук управляется только промптом. Если его не прописать, модель склонна выдавать фоновую музыку, поэтому в конце каждого промпта указывают конкретные звуки или фразу «no music». Диалоги в кавычках с глаголом произнесения синхронизируют губы. Для работы нужен scenario скилл из того же репозитория, без него цикл подключения и загрузки ассетов придётся собирать по схемам инструментов.

Какие задачи решает

  • сгенерировать видео по текстовому описанию
  • анимировать статичный кадр, сохранив композицию первого кадра
  • перенести лицо, продукт или одежду между сценами через референсы
  • отредактировать готовый клип, описав только изменения
  • продлить ролик с последнего кадра на новые секунды

Примеры запросов агенту

  • сгенерируй видео по промпту: рыцарь на утёсе опускает меч и говорит «Это кончится сегодня», медленный наезд камеры, ветер поднимает плащ, звук: ветер, дальний гром, без музыки
  • анимируй этот кадр, первый кадр должен точно совпасть с картинкой, длительность 8 секунд, разрешение 1080p
  • продли этот клип: кадр продолжается, героиня оборачивается к окну, тот же свет, звук: дождь по стеклу, отдалённый трафик

Как установить scenario-grok-imagine-video

1Через Skills CLI (Vercel)

npx skills add scenario-labs/skills --skill scenario-grok-imagine-video -a claude-code

2Вручную: положить файлы

~/.claude/skills/scenario-grok-imagine-video/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/scenario-grok-imagine-video/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о scenario-grok-imagine-video

Как установить scenario-grok-imagine-video в Claude Code?

Выполните npx skills add scenario-labs/skills --skill scenario-grok-imagine-video -a claude-code, затем откройте ~/.claude/skills/scenario-grok-imagine-video/SKILL.md. Рядом стоит поставить scenario и scenario-video из того же репозитория.

Что делает scenario-grok-imagine-video?

Генерирует видео по тексту, анимирует статичные кадры, переносит персонажей и предметы по референсам, редактирует готовые клипы промптом и продлевает их с последнего кадра. Всё через модели Grok Imagine на Scenario по MCP.

Чем R2V отличается от режима с первым кадром?

image на Video 1.5 жёстко фиксирует первый кадр: ролик открывается точной композицией и анимируется из неё. referenceImages на R2V переносит лица, продукты или одежду между сценами, не задавая, как кадр открывается. Если важно точное начало — рендерите стоп-кадр и передавайте его как image.

Исходный текст

SKILL.md · MIT
---
name: scenario-grok-imagine-video
description: "Use when generating or editing video with Grok Imagine models on Scenario via MCP: text-to-video, image-to-video from a first frame, reference-to-video with @image tags for consistent people, products, or clothing, prompt-based editing, extending a clip from its last frame, native audio with lip-synced dialogue and sound effects, or choosing between first-frame and reference conditioning. Keywords: Grok Imagine Video 1.5, R2V, Grok Edit Video, Grok Extend Video, xAI, T2V, I2V, V2V."
license: MIT
---

# Scenario Grok Imagine Video

## Overview

Grok Imagine, xAI's video family on Scenario, splits its modes across single-purpose members: text
and first-frame generation, reference-to-video, prompt editing, and clip extension each live in
their own model, so picking the member is picking the mode. Discover them with `search` and treat
`model_schema_get` as the contract: members agree on prompt style and disagree on every cap. The
Grok Imagine image models belong to the `scenario-grok-imagine-image` skill.

Connection and the core loop: see the `scenario` skill in this repo; model-agnostic video work: the
`scenario-video` skill. If a sibling skill named here is missing from your available skills, ask the
user to install it (`npx skills add scenario-labs/skills --skill <name>`); unattended, proceed from
tool schemas and flag the gap.

## Quick reference

Pick the member by intent (input names from the live schema):

| Intent                   | Member        | Inputs                                                     |
| ------------------------ | ------------- | ---------------------------------------------------------- |
| Text-to-video            | Video 1.5     | `prompt` alone; `aspectRatio` auto lands on 16:9           |
| Animate a still          | Video 1.5     | `image` + `prompt`; auto follows the image ratio           |
| Identity, opening free   | Video 1.5 R2V | `referenceImages` + `prompt` tagging `@image1`             |
| Restyle or swap in place | Edit Video    | `video` + a prompt naming only the changes                 |
| Continue a clip          | Extend Video  | `video` + a continuation prompt; `duration` is new seconds |

Caps are per member, so read them off `model_schema_get`. At authoring time the generation members
took 1 to 15 seconds, 1 to 4 `numOutputs`, and eight `aspectRatio` values including auto; 1080p
existed only on Video 1.5's text and first-frame modes, while R2V stopped at 720p and defaulted to
480p. The earlier unversioned Grok Imagine Video takes the same inputs as Video 1.5, also caps at
720p, and runs cheaper per `dry_run`. R2V took up to 7 `referenceImages`; Extend generated 2 to 10
new seconds; Edit exposed no duration or resolution and preprocessed its source down to 8.7 seconds
at 720p, so trim to the segment first (see `scenario-video`). No seed, negative prompt, or camera
parameter exists anywhere in the family.

## First frame or references

`image` locks frame one: the video opens on that exact composition and animates out of it.
`referenceImages` (its own member, R2V) carries people, products, and clothing across the shot
without deciding how it opens. Tags bind by array order: `@image1` is `referenceImages[0]`
(`<IMAGE_1>` also works), and one clean subject per reference keeps control; a busy reference
dilutes it. If the opening must match a composition exactly, render that still and pass it as
`image`; when only a face, product, or outfit must stay consistent, use R2V and tag each reference
where it acts.

## Sound is prompted, not switched

Generation members produce native audio and no parameter controls it: the prompt is the whole mixing
desk. Left unaddressed, the track tends toward generic background music, so end every prompt with
named sounds ("Audio: rain on glass, distant traffic") or "no music". Dialogue written in quotes
with a delivery verb lip-syncs: She says calmly: "We're live." Structure the rest like a director:
scene, camera, style, motion, audio, in present tense, one continuous shot, one dominant camera
move, physical actions instead of named emotions. 80 to 150 words touching at least three of those
layers beat a one-line scene; editing prompts run shorter, naming only what changes. Extension
prompts describe the next beat, not a new scene: open with a bridge ("the shot continues"), keep the
established light and cast, and restate the audio.

## Worked example: dialogue over an animated hero still

1. `search` with `target="models"`, `query="grok imagine video"`, `public=true`. Match the member by
   name: first-frame animation wants e.g. `model_xai-grok-imagine-video-1-5` (a live hit at
   authoring time: re-discover each session).
2. `model_schema_get` with that id: fields, caps, and defaults before anything else.
3. `upload_asset` the hero still (see the `scenario` skill) to get its asset id.
4. `model_run` with that `model_id`, `dry_run=true`, and the exact
   `parameters={"prompt": "The frame shows a knight on a cliff at dusk. She lowers her sword, turns to the camera, and says quietly: 'It ends tonight.' Slow dolly-in, wind lifting her cloak. Audio: wind, distant thunder, her line clear. No music.", "image": "asset_abc", "duration": 8, "resolution": "1080p"}`
   for the cost estimate; re-estimate after any change to duration, resolution, or `numOutputs`.
5. Repeat `model_run` with `wait=false`, then `jobs_wait` with the returned job id, re-called with
   `pending_job_ids` on timeout, never a second `model_run`.
6. `asset_display` the output and watch it with sound: the audio direction is judged by ear.

## Common mistakes

- Leaving audio to the default: generic music appears; direct the sound or state "no music" in every
  prompt.
- Prompting an exact opening frame in R2V: references guide identity, not frame one; pass the still
  as `image` on Video 1.5.
- Expecting 1080p everywhere: at authoring time it existed only on Video 1.5 text and first-frame
  runs, and R2V silently defaults to 480p.
- Feeding Edit Video a long clip and expecting full-length output: the source is preprocessed down
  (8.7 seconds at authoring time); trim to the segment first.
- Reading Extend's `duration` as total length: it counts only new footage.
- Stacking camera moves or contradictory directions ("zoom in as the camera pulls back"): one
  dominant move per shot.

© scenario-labs · MIT · scenario-labs/skills

Похожие скиллы

Всё по теме «ИИ и ML» →
ai-video-generation 101-skills Генерируй видео с помощью Google Veo, Seedance, HappyHorse и 40+ моделей прямо из редактора. Поддерживает текст-в-видео, анимацию картинок, синхронизацию губ и озвучку. CX Codex +1 872 100установок p-video 101-skills Генерирует видео по тексту или картинке через утилиту belt и модели Pruna. Пригодится, когда нужно получить ролик в 720p или 1080p прямо из чата с агентом. CX Codex +1 12 400установок videoagent-video-studio pexoai Генерирует короткие ролики из текстового описания или изображения. Пригодится, когда нужно быстро сделать клип, анимировать фото или собрать видео по референсу. CX Codex +1 10 500установок happyhorse-1-0 prime-skills Скилл для генерации видео на HappyHorse 1.0 через RunComfy. Модель лидирует в Artificial Analysis Video Arena, создаёт видео 1080p с синхронизированным звуком в одном проходе и держит консистентность персонажей между сценами. CX Codex +1 436 100установок kling-3-0 prime-skills Скилл запускает Kling 3.0 через RunComfy CLI: можно создать видео по тексту или оживить изображение. Выбирайте его, когда нужны несколько сцен или синхронный звук. CX Codex +1 413 200установок pexo-agent pexoai Скилл создаёт готовые многосценовые видео из текста, изображений, URL, сценариев или аудио. Подходит для рекламных роликов, коротких видео и объясняющих материалов. CX Codex +1 40 400установок

Из того же набора68

scenario-luma-image Скилл для генерации и правки изображений моделями Luma Uni-1 через Scenario MCP. Пригодится, когда нужны постеры с точным текстом, стилизованные сцены или правки по промпту. CX Codex +1 375установок scenario-reve Управляет генерацией и текстовой правкой картинок через модели Reve v2.1 и Reve Remix в Scenario по протоколу MCP. Помогает менять детали без масок и собирать коллажи. CX Codex +1 367установок scenario-mai-image Скилл для работы с моделями Microsoft MAI Image на Scenario через MCP: генерация по тексту и правка изображений по инструкции. CX Codex +1 375установок scenario-luma-video Управляет генерацией и обработкой видео через модели Luma Ray на платформе Scenario. Помогает создавать ролики по тексту, дорисовывать края при смене пропорций и стилизовать сцены. CX Codex +1 366установок scenario-orbit-views Генерирует ракурсы объекта из одной картинки через 3D-меш в Blender и перерисовку в Scenario MCP. Помогает избежать искажения пропорций при смене камеры. CX Codex +1 365установок scenario-wan Скилл для генерации и правки видео на моделях Wan через MCP Scenario: текст в видео, оживление кадра, монтаж по инструкции, смена пропорций. CX Codex +1 370установок scenario-blender-hard-surface Скилл для моделирования твёрдых поверхностей в Blender: булевы вырезы, фаски, weighted normals и subdivision. Помогает, когда шейдинг ломается или фаска исчезает после булевой операции. CX Codex +1 371установок scenario-caption-studio Скилл для работы с субтитрами через Scenario по MCP: транскрипция, вжигание стилизованных подписей, SRT-файл, перевод. CX Codex +1 369установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой