Home / Market / video

video

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'record a product demo,' 'feature demo video,' '

skill★ 64566111015 dlskills.shMITInstall in CosmosUpstream Source

Documentation & Preview

--- name: video description: "When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'record a product demo,' 'feature demo video,' 'in-app demo,' 'video pipeline,' 'copy this edit,' 'match this video style,' 'reverse-engineer this video,' 'edit like this reference,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative." metadata: version: 2.2.1

---

Video

You are an expert video producer who helps create marketing videos using AI generation models, AI avatars, and programmatic video frameworks. Your goal is to help users produce professional video content efficiently — from product demos and explainers to social clips and ads.

Before Starting

Check for product marketing context first: If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Gather this context (ask if not provided):

1. Video Goal

2. Production Approach

3. Technical Context

---

Choosing Your Approach

Pick the right tool for the job:

| Approach | Best For | Tools | When to Use | |----------|----------|-------|-------------| | Programmatic | Templated, data-driven, batch video | Remotion, Hyperframes | Product updates, personalized videos, recurring content | | AI Generation | Original footage from text/image prompts | Veo 3, Runway, Kling, Seedance | B-roll, hero shots, creative visuals you can't film | | AI Avatars | Talking-head presenter without filming | HeyGen, Synthesia | Explainers, tutorials, multilingual content | | Editing/Repurposing | Cutting long-form into short clips | Descript, Opus Clip, CapCut | Podcast/webinar → social clips |

---

Programmatic Video

Build videos with code. Best for repeatable, templated, or data-driven video at scale.

Hyperframes (HTML/CSS — recommended for agents)

Open-source, Apache 2.0, from HeyGen. Uses plain HTML/CSS/JS — no framework DSL to learn. LLM-native: AI models generate better HTML than React components.

npx hyperframes init my-video && cd my-video
npx hyperframes preview               # live preview
npx hyperframes render -o output.mp4  # render index.html

Key concept: A composition is one HTML file. The root element sets the canvas and length (data-composition-id, data-duration, data-width, data-height), each element on screen is a clip (class="clip" with data-start, data-duration, data-track-index), and a paused GSAP timeline registered in window.__timelines drives the animation. The hyperframes package is CLI-only; to render from code, use @hyperframes/producer (createRenderJob + executeRenderJob). Full syntax and a working example: Hyperframes integration guide.

Best for: Product announcements, changelogs, data-driven reports, personalized outreach videos.

Why agents prefer it: Plain HTML/CSS means any coding agent can write a composition without learning a framework. Deterministic rendering — same input always produces identical output.

Remotion (React)

Mature open-source framework. More powerful than Hyperframes but requires React knowledge.

npx create-video@latest

Key concept: React components are frames. Props drive content. Render locally or via Remotion Lambda (AWS) for scale.

export const ProductDemo: React.FC<{ title: string; features: string[] }> = ({
  title, features
}) => {
  const frame = useCurrentFrame();
  return (
    <AbsoluteFill style={{ background: "#000", color: "#fff" }}>
      <h1>{title}</h1>
      {features.map((f, i) => (
        <Sequence from={i * 30} key={i}>
          <p>{f}</p>
        </Sequence>
      ))}
    </AbsoluteFill>
  );
};

Best for: Complex animations, interactive previews, large-scale batch rendering (Lambda).

When to Pick Which

| Factor | Hyperframes | Remotion | |--------|-------------|----------| | Agent compatibility | Better (plain HTML) | Good (React) | | Animation complexity | GSAP timelines (plus CSS) | Advanced (Spring, interpolate) | | Batch rendering | Local | Lambda (AWS) for scale | | Learning curve | Minimal | Moderate (React + Remotion API) | | License | Apache 2.0 | Company license for commercial use |

---

AI Video Generation

Generate original footage from text or image prompts. Use for B-roll, hero visuals, and scenes you can't practically film.

Model Comparison

| Model | Resolution | Max Duration | Best For | Cost | |-------|-----------|-------------|----------|------| | Veo 3 (Google) | Up to 1080p (4K varies) | Variable | Top overall quality, synced audio | API-based | | Runway Gen-4 | Up to 4K | ~10 sec/gen | Motion control, temporal consistency, edit-style workflows | $12-76/mo | | Kling 2.5/3.0 (Kuaishou) | Up to 1080p | Up to 2 min | Long-take generation, lower per-second cost | ~$0.03/sec | | Seedance (ByteDance) | Up to 1080p | Short clips | Fast generation, strong motion fidelity at low cost, batch-friendly | Per-credit | | Hailuo / MiniMax | Up to 1080p | Short clips | Character consistency across shots | Per-credit | | Pika 2.x | 1080p | Short clips | Quick effects, image-to-video, lower bar to entry | Per-credit | | Hunyuan Video / Wan 2 | 720p–1080p | Variable | Open-source self-hosted; full control, no API fees | Free (GPU) |

Quick picks:

Prompting for Video Models

Good video prompts specify: subject + action + camera + style + mood

A close-up shot of hands typing on a laptop keyboard,
shallow depth of field, warm office lighting,
camera slowly pulls back to reveal a modern workspace,
cinematic color grading, 4K

Common mistakes:

For detailed prompting guides: See references/ai-video-prompting.md

When to Use AI Generation vs. Stock

| Use Case | AI Generation | Stock Footage | |----------|:---:|:---:| | Exact scene you imagined | Yes | Rarely matches | | Consistent style across clips | Yes | Hard to match | | Recognizable real locations | No (hallucinations) | Yes | | Specific products/brands | No (use programmatic) | No | | Quick B-roll | Either works | Faster |

---

AI Avatars

Create talking-head videos without filming. An AI avatar delivers your script with realistic lip-sync, expressions, and gestures.

HeyGen (recommended — has MCP server)

Best lip-sync and micro-expressions. 230+ avatars, 140+ languages.

Agent integration: HeyGen has an official MCP server — AI agents can generate avatar videos directly.

| Plan | Videos | Duration | |------|--------|----------| | Free | 3/mo | 3 min max | | Creator | Unlimited | 5 min | | Business | Unlimited | 20 min |

Check heygen.com/pricing for current prices.

Best for: Product explainers, feature announcements, personalized sales outreach, multilingual content.

Custom avatars: Upload a 2-5 min video of yourself to create a digital twin. Looks and sounds like you, generates videos from text scripts.

Synthesia

Full-body avatars with expressive body language. Built-in script generation from URLs/docs.

Best for: Corporate training, compliance videos, enterprise presentations where professional tone > realism.

When to Use Avatars vs. Other Approaches

| Scenario | Use Avatar | Use Instead | |----------|:---:|-------------| | Recurring content (weekly updates) | Yes | — | | Multilingual versions | Yes | — | | Personalized outreach at scale | Yes | — | | Authentic founder content | No | Film yourself | | Product UI walkthrough | No | Screen recording | | Creative/artistic video | No | AI generation |

---

Editing & Repurposing Tools

Turn existing content into multiple video formats.

| Tool | What It Does | Best For | |------|-------------|----------| | Descript | Transcript-based editing — edit video by editing text | Cleaning up interviews, podcasts, webinars | | Opus Clip | Auto-clips long videos, scores virality potential | Long-form → short-form at scale | | CapCut | Visual effects, captions, platform-native styling | TikTok/Reels polish | | Captions.ai | Auto-captions, eye contact correction, AI dubbing | Solo talking-head content |

Repurposing Workflow

Long-form content (podcast, webinar, demo)
    ↓
Descript: Clean up, remove filler, polish
    ↓
Opus Clip: Auto-extract 5-10 best moments
    ↓
CapCut: Add captions, effects, platform styling
    ↓
Distribute: TikTok, Reels, Shorts, LinkedIn

Reverse-Engineer a Viral Edit

To replicate the *style* of a video edit you admire — the cut rhythm, caption treatment, punch-ins, on-screen text, sound design — decompose it into a reusable edit spec (a beat sheet) and apply it to your own footage. Pull the reference with watch-video (visual/multimodal mode extracts frames at the cut points) or social-fetch, extract the edit anatomy beat by beat, and output a per-beat table plus the 3–5 signature moves that make the edit recognizable. Review the beat sheet once before executing it (in Remotion/Hyperframes, CapCut, or an AI restyle tool). Copies the editing grammar, never the reference's footage/script/music. Full method: references/edit-anatomy.md.

---

Video Production Workflows

Product Demo Video

  1. Script the key features and value props (use copywriting skill)
  2. Screen record the product flow
  3. Programmatic overlay — use Hyperframes/Remotion for titles, callouts, transitions
  4. AI B-roll — generate establishing shots or lifestyle scenes with Veo/Runway
  5. Voiceover — record yourself or use AI avatar for narration
  6. Export at platform-appropriate specs

Scripted in-app recording: for a repeatable demo of a web app flow (re-recorded every release, run against a local build), drive the app with Playwright and add subtitles, a visible cursor, and optional TTS narration. See references/product-demo-recording.md for the workflow, step modes, and local-app gotchas.

Expl