Skip to main content
skill CX Codex

scenario-grok-imagine-video — Claude Code skill for Grok Imagine video

A skill for generating and editing video with Grok Imagine models on Scenario over MCP. Covers text-to-video, first-frame animation, reference-based consistency, prompt editing, and clip extension.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add scenario-labs/skills --skill scenario-grok-imagine-video -a claude-code
Open on GitHub

What scenario-grok-imagine-video does

The skill splits its modes across four single-purpose models: Video 1.5 handles text and first-frame generation, R2V carries identity through references, Edit Video restyles clips by prompt, and Extend Video continues from the last frame. Picking the member is picking the mode, so run search first and treat model_schema_get as the contract for caps and defaults.

Caps differ per member. At authoring time 1080p existed only on Video 1.5's text and first-frame modes; R2V stopped at 720p and defaulted to 480p silently. Extend adds 2 to 10 new seconds, Edit Video preprocesses the source down to 8.7 seconds at 720p. No seed, negative prompt, or camera parameter exists anywhere in the family.

Audio is prompted, not switched. Generation members produce native sound, and an unaddressed track tends toward generic background music, so end every prompt with named sounds or the phrase "no music". Dialogue written in quotes with a delivery verb lip-syncs. The scenario skill from the same repo handles connection and asset uploads; without it you build the loop from raw tool schemas.

What it helps with

  • generate video from a text prompt
  • animate a still while locking the first frame's composition
  • keep a person, product, or outfit consistent across shots via references
  • edit an existing clip by describing only the changes
  • extend a clip from its last frame with new seconds

Example prompts for the agent

  • generate a video: a knight on a cliff lowers her sword and says "It ends tonight", slow dolly-in, wind lifts her cloak, audio: wind, distant thunder, no music
  • animate this still, keep the first frame exactly as the image, duration 8, resolution 1080p
  • extend this clip: the shot continues, she turns to the window, same light and cast, audio: rain on glass, distant traffic

How to install scenario-grok-imagine-video

1Skills CLI (Vercel)

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

2Manually: put the files in place

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

Copy the whole skill folder; for one project use .claude/skills/scenario-grok-imagine-video/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about scenario-grok-imagine-video

How do I install scenario-grok-imagine-video in Claude Code?

Run npx skills add scenario-labs/skills --skill scenario-grok-imagine-video -a claude-code, then open ~/.claude/skills/scenario-grok-imagine-video/SKILL.md. Install scenario and scenario-video from the same repo for the full loop.

What does scenario-grok-imagine-video do?

Generates video from text, animates stills, carries people and products across shots via references, edits finished clips by prompt, and extends them from the last frame. All through Grok Imagine models on Scenario over MCP.

How is R2V different from first-frame animation?

image on Video 1.5 locks frame one to an exact composition and animates out of it. referenceImages on R2V carries faces, products, or clothing across the shot without deciding how it opens. If the opening must match exactly, render the still and pass it as image.

Source text

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

Similar skills

Everything for AI and ML →

From the same set68

scenario-luma-image A skill for generating and editing images with Luma Uni-1 models on Scenario via MCP. Covers posters with exact text, styled scenes, and prompt-based edits. CX Codex +1 375installs scenario-reve Controls Scenario's Reve v2.1 and Reve Remix image models over MCP for prompt-only generation, instruction edits, and multi-image blending. CX Codex +1 367installs scenario-mai-image A skill for driving Microsoft MAI Image models on Scenario over MCP: text-to-image and instruction-based image edits. CX Codex +1 375installs scenario-luma-video Generates and edits video using Luma Ray models on Scenario via MCP. It routes prompts to the right model for text-to-video, restyling, or outpainting new aspect ratios. CX Codex +1 366installs scenario-orbit-views Builds consistent multi-angle views and 360 turnarounds of a subject from a single image using Blender and Scenario MCP. CX Codex +1 365installs scenario-wan A skill for generating and editing video with Wan models through Scenario MCP: text-to-video, animating a still, instruction-based edits, reframing. CX Codex +1 370installs scenario-blender-hard-surface A Blender hard-surface modeling skill: boolean cuts, bevels, weighted normals and subdivision. Handles broken shading and bevels that vanish after a boolean. CX Codex +1 371installs scenario-caption-studio A skill that runs Scenario captioning over MCP: transcribe a clip, burn in styled captions, export an SRT sidecar, translate the words. CX Codex +1 369installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor