video

โดย coreyhaines31

เมื่อผู้ใช้ต้องการสร้าง ผลิต หรือผลิตเนื้อหาวิดีโอโดยใช้เครื่องมือ AI หรือเฟรมเวิร์กเชิงโปรแกรม รวมถึงเมื่อผู้ใช้กล่าวถึง 'การผลิตวิดีโอ' 'วิดีโอ AI' 'Remotion' 'Hyperframes' 'HeyGen' 'Synthesia' 'Veo' 'Sora' 'Runway' 'Kling' 'Seedance' 'Hailuo' 'MiniMax' 'Pika' 'Hunyuan' 'Wan' 'การสร้างวิดีโอ' 'อวาตาร์ AI' 'วิดีโอพูดหน้าจอ' 'วิดีโอเชิงโปรแกรม' 'เทมเพลตวิดีโอ' 'วิดีโออธิบาย' 'วิดีโอสาธิตผลิตภัณฑ์' 'ไปป์ไลน์วิดีโอ' หรือ 'สร้างวิดีโอให้ฉัน' ใช้...

npx skills add https://github.com/coreyhaines31/marketingskills --skill video

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

  • What type of video? (Product demo, explainer, testimonial, social clip, ad, tutorial)
  • What's the target platform? (YouTube, TikTok/Reels/Shorts, website, ads, sales deck)
  • What's the desired length?

2. Production Approach

  • Do you need a human presenter? (AI avatar vs. voiceover vs. screen recording)
  • Do you have existing footage or assets? (Screenshots, logos, product UI)
  • Do you need generated footage? (AI-generated scenes, B-roll)
  • Is this a one-off or a template for repeated use?

3. Technical Context

  • What's your tech stack? (Node.js, Python, etc.)
  • Do you have API keys for any video tools?
  • Budget constraints? (Some tools charge per minute of video)

Choosing Your Approach

Pick the right tool for the job:

ApproachBest ForToolsWhen to Use
ProgrammaticTemplated, data-driven, batch videoRemotion, HyperframesProduct updates, personalized videos, recurring content
AI GenerationOriginal footage from text/image promptsVeo 3, Sora 2, Runway, Kling, SeedanceB-roll, hero shots, creative visuals you can't film
AI AvatarsTalking-head presenter without filmingHeyGen, SynthesiaExplainers, tutorials, multilingual content
Editing/RepurposingCutting long-form into short clipsDescript, Opus Clip, CapCutPodcast/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.

npm install hyperframes

Key concept: Each frame is an HTML document. Compose frames into a timeline, render to MP4.

import { render } from "hyperframes";

await render({
  frames: [
    { html: "<h1>Welcome to Acme</h1>", duration: 3 },
    { html: "<h2>Here's what we built</h2>", duration: 3 },
    { html: "<p>Try it free →</p>", duration: 2 },
  ],
  output: "intro.mp4",
  width: 1080,
  height: 1920, // 9:16 for vertical
});

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

Why agents prefer it: Plain HTML/CSS means any coding agent can generate frames 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

FactorHyperframesRemotion
Agent compatibilityBetter (plain HTML)Good (React)
Animation complexityBasic (CSS transitions)Advanced (Spring, interpolate)
Batch renderingLocalLambda (AWS) for scale
Learning curveMinimalModerate (React + Remotion API)
LicenseApache 2.0Company 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

ModelResolutionMax DurationBest ForCost
Veo 3 (Google)Up to 1080p (4K varies)VariableTop overall quality, synced audioAPI-based
Sora 2 (OpenAI)Up to 1080pUp to ~20 secCinematic + synced audio, ChatGPT/API integrationAPI + ChatGPT
Runway Gen-4Up to 4K~10 sec/genMotion control, temporal consistency, edit-style workflows$12-76/mo
Kling 2.5/3.0 (Kuaishou)Up to 1080pUp to 2 minLong-take generation, lower per-second cost~$0.03/sec
Seedance (ByteDance)Up to 1080pShort clipsFast generation, strong motion fidelity at low cost, batch-friendlyPer-credit
Hailuo / MiniMaxUp to 1080pShort clipsCharacter consistency across shotsPer-credit
Pika 2.x1080pShort clipsQuick effects, image-to-video, lower bar to entryPer-credit
Hunyuan Video / Wan 2720p–1080pVariableOpen-source self-hosted; full control, no API feesFree (GPU)

Quick picks:

  • Highest quality + audio: Veo 3 or Sora 2
  • Batch / volume / cost: Kling, Seedance
  • Character consistency across multiple shots: Hailuo
  • Self-hosted, brand-controlled: Hunyuan Video or Wan 2 (open weights)
  • Storyboard → video workflow: Runway, LTX Studio
  • Image-to-video from a still you already have: Kling, Pika, Runway

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:

  • Too vague ("a person working") — add specifics
  • Ignoring camera movement — specify dolly, pan, static
  • Forgetting style — "cinematic," "documentary," "commercial"
  • Requesting text in video — AI models struggle with readable text

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

When to Use AI Generation vs. Stock

Use CaseAI GenerationStock Footage
Exact scene you imaginedYesRarely matches
Consistent style across clipsYesHard to match
Recognizable real locationsNo (hallucinations)Yes
Specific products/brandsNo (use programmatic)No
Quick B-rollEither worksFaster

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.

PlanVideosDuration
Free3/mo3 min max
CreatorUnlimited5 min
BusinessUnlimited20 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

ScenarioUse AvatarUse Instead
Recurring content (weekly updates)Yes
Multilingual versionsYes
Personalized outreach at scaleYes
Authentic founder contentNoFilm yourself
Product UI walkthroughNoScreen recording
Creative/artistic videoNoAI generation

Editing & Repurposing Tools

Turn existing content into multiple video formats.

ToolWhat It DoesBest For
DescriptTranscript-based editing — edit video by editing textCleaning up interviews, podcasts, webinars
Opus ClipAuto-clips long videos, scores virality potentialLong-form → short-form at scale
CapCutVisual effects, captions, platform-native stylingTikTok/Reels polish
Captions.aiAuto-captions, eye contact correction, AI dubbingSolo 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

Explainer Video

  1. Script the problem → solution → CTA arc
  2. Choose presenter — AI avatar (HeyGen) or voiceover + visuals
  3. Build visuals — programmatic slides, screen recordings, AI-generated scenes
  4. Add captions — always, for accessibility and engagement
  5. Export — landscape for YouTube/website, vertical for social

Batch Social Clips

  1. Create master template in Hyperframes/Remotion
  2. Feed data — product features, testimonials, stats
  3. Render batch — one template, many variations
  4. Add platform-specific captions via CapCut or Captions.ai
  5. Schedule across platforms

Agent-Native Video Pipeline

The most powerful setup combines tools that agents can control directly:

Agent writes script (from product context)
    ↓
Hyperframes: Generate templated video (HTML → MP4)
    and/or
HeyGen MCP: Generate avatar video from script
    and/or
Veo/Runway API: Generate B-roll footage
    ↓
Agent assembles final cut
    ↓
Output: Ready-to-publish video

What makes this agent-native:

  • Hyperframes uses HTML — any coding agent can generate it
  • HeyGen MCP server — agents call it directly
  • Video model APIs — standard HTTP requests
  • No manual editing step required

Common Mistakes

  1. Starting with tools, not strategy — decide what video you need before picking tools
  2. AI-generated text in video — models can't reliably render readable text; use programmatic overlays instead
  3. Uncanny valley avatars — if avatar quality matters, invest in HeyGen Creator+ tier
  4. No captions — 85% of social video is watched without sound
  5. Wrong aspect ratio — 9:16 for social, 16:9 for YouTube/website, 1:1 for feeds
  6. Over-producing — authentic often outperforms polished, especially on TikTok

Task-Specific Questions

  1. What type of video do you need? (Demo, explainer, social clip, ad, tutorial)
  2. Do you need a human presenter or can it be voiceover/text?
  3. Is this a one-off or a repeatable template?
  4. What platform is it for? (This determines aspect ratio and length)
  5. Do you have existing assets to work with? (Screenshots, footage, scripts)
  6. What's your budget for video tools?

Tool Integrations

ToolTypeMCPGuide
HeyGenAI avatarsYesheygen.md
HyperframesProgrammatic video-hyperframes.md
RemotionProgrammatic video-remotion.dev
RunwayAI generation-runwayml.com/docs

Related Skills

  • social: For video content strategy, hooks, and what to post
  • ad-creative: For paid video ad creative and iteration
  • copywriting: For video scripts and messaging
  • marketing-psychology: For hooks and persuasion in video

Skills เพิ่มเติมจาก coreyhaines31

copywriting
coreyhaines31
เมื่อผู้ใช้ต้องการเขียน เขียนใหม่ หรือปรับปรุงข้อความการตลาดสำหรับหน้าใดๆ รวมถึงหน้าแรก หน้าแลนดิ้ง หน้าราคา หน้าฟีเจอร์ หน้าเกี่ยวกับ หรือหน้าสินค้า รวมถึงเมื่อผู้ใช้พูดว่า "เขียนข้อความการตลาดให้" "ปรับปรุงข้อความนี้" "เขียนหน้าใหม่" "ข้อความการตลาด" "ช่วยเรื่องพาดหัว" "ข้อความ CTA" "คุณค่าที่นำเสนอ" "แท็กไลน์" "พาดหัวรอง" "ข้อความส่วนฮีโร่" "เหนือรอยพับ" "ข้อความนี้ยังอ่อน" "ทำให้ดูน่าสนใจขึ้น" หรือ "ช่วยอธิบายสินค้าของฉัน" ใช้สิ่งนี้...
marketingcreativecommunication
seo-audit
coreyhaines31
เมื่อผู้ใช้ต้องการตรวจสอบ ทบทวน หรือวินิจฉัยปัญหา SEO บนเว็บไซต์ของตน ใช้เมื่อผู้ใช้พูดถึง "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," หรือ "indexing issues." ใช้แม้ผู้ใช้พูดคลุมเครือเช่น "my SEO is bad" หรือ "help...
marketingresearchdata-analysis
marketing-psychology
coreyhaines31
เมื่อผู้ใช้ต้องการประยุกต์ใช้หลักจิตวิทยา แบบจำลองทางความคิด หรือวิทยาศาสตร์พฤติกรรมกับการตลาด รวมถึงเมื่อผู้ใช้กล่าวถึง 'จิตวิทยา' 'แบบจำลองทางความคิด' 'อคติทางความคิด' 'การโน้มน้าว' 'วิทยาศาสตร์พฤติกรรม' 'เหตุผลที่คนซื้อ' 'การตัดสินใจ' 'พฤติกรรมผู้บริโภค' 'การยึดติด' 'หลักฐานทางสังคม' 'ความขาดแคลน' 'การกลัวสูญเสีย' 'การวางกรอบ' หรือ 'การกระตุ้น' ใช้สิ่งนี้เมื่อมีคนต้องการเข้าใจหรือใช้ประโยชน์จากวิธีที่ผู้คนคิดและตัดสินใจในบริบททางการตลาด สำหรับการประยุกต์ใช้...
marketingresearch
content-strategy
coreyhaines31
เมื่อผู้ใช้ต้องการวางแผนกลยุทธ์เนื้อหา ตัดสินใจว่าจะสร้างเนื้อหาอะไร หรือหาว่าควรครอบคลุมหัวข้อใด นอกจากนี้ยังใช้เมื่อผู้ใช้พูดถึง "กลยุทธ์เนื้อหา" "ควรเขียนเกี่ยวกับอะไร" "ไอเดียเนื้อหา" "กลยุทธ์บล็อก" "กลุ่มหัวข้อ" "การวางแผนเนื้อหา" "ปฏิทินบรรณาธิการ" "การตลาดเนื้อหา" "แผนงานเนื้อหา" "ควรสร้างเนื้อหาอะไร" "หัวข้อบล็อก" "เสาหลักเนื้อหา" หรือ "ไม่รู้จะเขียนอะไร" ใช้สิ่งนี้ทุกครั้งที่มีคนต้องการความช่วยเหลือในการตัดสินใจว่าจะสร้างเนื้อหาอะไร...
marketingresearchcreative
ai-seo
coreyhaines31
เมื่อผู้ใช้ต้องการปรับเนื้อหาให้เหมาะสมกับเครื่องมือค้นหา AI ถูกอ้างอิงโดย LLM หรือปรากฏในคำตอบที่สร้างโดย AI รวมถึงเมื่อผู้ใช้พูดถึง 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' หรือ 'optimize for Claude/Gemini.' ใช้สิ่งนี้เมื่อมีคน...
marketingresearch
programmatic-seo
coreyhaines31
ใช้เมื่อผู้ใช้ต้องการสร้างหน้าเว็บที่ขับเคลื่อนด้วย SEO ในปริมาณมากโดยใช้เทมเพลตและข้อมูล รวมถึงเมื่อผู้ใช้พูดถึง "programmatic SEO," "template pages," "pages at scale," "directory pages," "location pages," "[keyword] + [city] pages," "comparison pages," "integration pages," "building many pages for SEO," "pSEO," "generate 100 pages," "data-driven pages," หรือ "templated landing pages." ใช้สิ่งนี้ทุกครั้งที่มีคนต้องการสร้างหน้าเว็บที่คล้ายกันจำนวนมากเพื่อกำหนดเป้าหมายคีย์เวิร์ดหรือสถานที่ต่างๆ สำหรับ...
marketingdata-analysisweb-scraping
marketing-ideas
coreyhaines31
เมื่อผู้ใช้ต้องการแนวคิดทางการตลาด แรงบันดาลใจ หรือกลยุทธ์สำหรับผลิตภัณฑ์ SaaS หรือซอฟต์แวร์ของตน รวมถึงเมื่อผู้ใช้ถามถึง 'แนวคิดทางการตลาด' 'แนวคิดการเติบโต' 'วิธีการทำการตลาด' 'กลยุทธ์การตลาด' 'กลวิธีทางการตลาด' 'วิธีโปรโมท' 'แนวคิดในการเติบโต' 'มีอะไรอีกที่ฉันลองได้' 'ฉันไม่รู้จะทำการตลาดสิ่งนี้อย่างไร' 'ระดมสมองเรื่องการตลาด' หรือ 'ฉันควรทำการตลาดแบบไหน' ใช้สิ่งนี้เป็นจุดเริ่มต้นเมื่อมีคนติดขัดหรือต้องการแรงบันดาลใจในการเติบโต สำหรับรายละเอียดเฉพาะ...
marketing
copy-editing
coreyhaines31
เมื่อผู้ใช้ต้องการแก้ไข ตรวจทาน หรือปรับปรุงสำเนาการตลาดที่มีอยู่ หรือรีเฟรชเนื้อหาที่ล้าสมัย รวมถึงเมื่อผู้ใช้พูดถึง 'แก้ไขสำเนานี้' 'ตรวจสอบสำเนาของฉัน' 'ข้อเสนอแนะเกี่ยวกับสำเนา' 'พิสูจน์อักษร' 'ขัดเกลาสิ่งนี้' 'ทำให้ดีขึ้น' 'กวาดสำเนา' 'กระชับสิ่งนี้' 'อ่านแล้วไม่ลื่นไหล' 'ทำความสะอาดข้อความนี้' 'ใช้คำมากเกินไป' 'ทำให้ข้อความคมชัดขึ้น' 'รีเฟรชเนื้อหานี้' 'อัปเดตหน้านี้' 'เนื้อหานี้ล้าสมัย' หรือ 'ตรวจสอบเนื้อหา' ใช้เมื่อผู้ใช้มีสำเนาอยู่แล้วและต้องการให้...
documentcommunicationmarketing