Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 207026cc0a | |||
| b5622444b9 | |||
| affc3aab49 | |||
| 0cdc990715 |
@@ -12,49 +12,8 @@
|
||||
"plugins": [
|
||||
{
|
||||
"name": "marketing-skills",
|
||||
"description": "38 marketing skills for technical marketers and founders: ASO, CRO, copywriting, cold email, SEO, AI SEO, paid ads, ad creative, churn prevention, pricing strategy, referral programs, revenue operations, sales enablement, customer research, site architecture, and more",
|
||||
"source": ".",
|
||||
"strict": false,
|
||||
"skills": [
|
||||
"skills/ab-test-setup",
|
||||
"skills/ad-creative",
|
||||
"skills/ai-seo",
|
||||
"skills/analytics-tracking",
|
||||
"skills/aso-audit",
|
||||
"skills/churn-prevention",
|
||||
"skills/cold-email",
|
||||
"skills/community-marketing",
|
||||
"skills/competitor-alternatives",
|
||||
"skills/competitor-profiling",
|
||||
"skills/content-strategy",
|
||||
"skills/copy-editing",
|
||||
"skills/copywriting",
|
||||
"skills/customer-research",
|
||||
"skills/directory-submissions",
|
||||
"skills/email-sequence",
|
||||
"skills/form-cro",
|
||||
"skills/free-tool-strategy",
|
||||
"skills/launch-strategy",
|
||||
"skills/lead-magnets",
|
||||
"skills/marketing-ideas",
|
||||
"skills/marketing-psychology",
|
||||
"skills/onboarding-cro",
|
||||
"skills/page-cro",
|
||||
"skills/paid-ads",
|
||||
"skills/paywall-upgrade-cro",
|
||||
"skills/popup-cro",
|
||||
"skills/pricing-strategy",
|
||||
"skills/product-marketing-context",
|
||||
"skills/programmatic-seo",
|
||||
"skills/referral-program",
|
||||
"skills/revops",
|
||||
"skills/sales-enablement",
|
||||
"skills/schema-markup",
|
||||
"skills/seo-audit",
|
||||
"skills/signup-flow-cro",
|
||||
"skills/site-architecture",
|
||||
"skills/social-content"
|
||||
]
|
||||
"description": "39 marketing skills for technical marketers and founders: ASO, CRO, copywriting, cold email, SEO, AI SEO, paid ads, ad creative, video production, churn prevention, pricing strategy, referral programs, revenue operations, sales enablement, customer research, site architecture, and more",
|
||||
"source": "./"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "marketing-skills",
|
||||
"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",
|
||||
"version": "1.8.0",
|
||||
"author": {
|
||||
"name": "Corey Haines"
|
||||
},
|
||||
"homepage": "https://github.com/coreyhaines31/marketingskills",
|
||||
"repository": "https://github.com/coreyhaines31/marketingskills",
|
||||
"license": "MIT",
|
||||
"skills": "./skills"
|
||||
}
|
||||
+2
-2
@@ -14,8 +14,8 @@ node_modules/
|
||||
* 2.*
|
||||
* 2/
|
||||
|
||||
# Remotion video project
|
||||
video/
|
||||
# Remotion video project (root only, not skills/video/)
|
||||
/video/
|
||||
|
||||
# Editor
|
||||
*.swp
|
||||
|
||||
@@ -35,7 +35,7 @@ Skills reference each other and build on shared context. The `product-marketing-
|
||||
│site-arch │ │onboard │ │cold-email│ │ab-test │ │churn- │ │launch │ │customer- │
|
||||
│programm │ │form-cro │ │email-seq │ │analytics │ │ prevent │ │pricing │ │ research │
|
||||
│schema │ │popup-cro │ │social │ │ │ │community │ │comp-alts │ │ │
|
||||
│content │ │paywall │ │ │ │ │ │lead-magnt│ │comp-profile │ │ │
|
||||
│content │ │paywall │ │video │ │ │ │lead-magnt│ │comp-profile │ │ │
|
||||
│aso-audit │ │ │ │ │ │ │ │ │ │directory │ │ │
|
||||
└────┬─────┘ └────┬─────┘ └────┬─────┘ └─────┬──────┘ └────┬─────┘ └──────┬──────┘ └─────┬─────┘
|
||||
│ │ │ │ │ │ │
|
||||
@@ -93,6 +93,7 @@ See each skill's **Related Skills** section for the full dependency map.
|
||||
| [signup-flow-cro](skills/signup-flow-cro/) | When the user wants to optimize signup, registration, account creation, or trial activation flows. Also use when the... |
|
||||
| [site-architecture](skills/site-architecture/) | When the user wants to plan, map, or restructure their website's page hierarchy, navigation, URL structure, or internal... |
|
||||
| [social-content](skills/social-content/) | When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram,... |
|
||||
| [video](skills/video/) | When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Covers Remotion, Hyperframes, HeyGen, Veo, Runway, Kling... |
|
||||
<!-- SKILLS:END -->
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -42,6 +42,7 @@ Current versions of all skills. Agents can compare against local versions to che
|
||||
| signup-flow-cro | 1.2.0 | 2026-03-14 |
|
||||
| site-architecture | 1.2.0 | 2026-03-14 |
|
||||
| social-content | 1.2.0 | 2026-03-14 |
|
||||
| video | 1.0.0 | 2026-04-21 |
|
||||
|
||||
## Recent Changes
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
name: social-content
|
||||
description: "When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' 'viral content,' 'what should I post,' 'repurpose this content,' 'tweet ideas,' 'LinkedIn carousel,' 'social media strategy,' or 'grow my following.' Use this for any social media content creation, repurposing, or scheduling task. For broader content strategy, see content-strategy."
|
||||
description: "When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' 'viral content,' 'what should I post,' 'repurpose this content,' 'tweet ideas,' 'LinkedIn carousel,' 'social media strategy,' 'grow my following,' 'TikTok video,' 'Reels,' 'Shorts,' 'video script,' 'video hook,' 'short-form video,' or 'create a reel.' Use this for social media content creation, repurposing, scheduling, and short-form video scripting. For broader content strategy, see content-strategy. For paid video ads, see ad-creative."
|
||||
metadata:
|
||||
version: 1.2.0
|
||||
version: 1.3.0
|
||||
---
|
||||
|
||||
# Social Content
|
||||
@@ -309,6 +309,87 @@ Instead of guessing, analyze what's working for top creators in your niche:
|
||||
|
||||
---
|
||||
|
||||
## Short-Form Video (TikTok, Reels, Shorts)
|
||||
|
||||
Short-form video is the highest-reach format on every major platform. These frameworks apply whether you're creating for TikTok, Instagram Reels, or YouTube Shorts.
|
||||
|
||||
### Platform Specs
|
||||
|
||||
| Platform | Optimal Length | Aspect Ratio | Key Difference |
|
||||
|----------|---------------|--------------|----------------|
|
||||
| TikTok | 15-60 sec | 9:16 | Trending sounds, raw/authentic feel |
|
||||
| Reels | 15-30 sec | 9:16 | Polished content, rewards saves/shares |
|
||||
| Shorts | 30-60 sec | 9:16 | YouTube SEO applies, searchable titles |
|
||||
|
||||
### The 3-Second Rule
|
||||
|
||||
You have 3 seconds to stop the scroll. Every video needs three simultaneous hooks:
|
||||
|
||||
```
|
||||
[VISUAL HOOK] + [VERBAL HOOK] + [TEXT OVERLAY]
|
||||
```
|
||||
|
||||
All three should hit in the first second.
|
||||
|
||||
### Video Structures
|
||||
|
||||
**Problem-Solution (15-30 sec):**
|
||||
```
|
||||
[0-3s] Hook: State the problem
|
||||
[3-10s] Agitate: Why it matters
|
||||
[10-25s] Solution: Your method/product/tip
|
||||
[25-30s] CTA: What to do next
|
||||
```
|
||||
|
||||
**List Format (30-60 sec):**
|
||||
```
|
||||
[0-3s] Hook: "X things that [outcome]"
|
||||
[3-50s] Items: One every 5-8 seconds
|
||||
[50-60s] CTA
|
||||
```
|
||||
|
||||
**Tutorial (30-60 sec):**
|
||||
```
|
||||
[0-3s] Hook: Show the end result first
|
||||
[3-8s] Overview: "Here's how..."
|
||||
[8-50s] Steps: Quick, clear instructions
|
||||
[50-60s] Result + CTA
|
||||
```
|
||||
|
||||
### Caption & Subtitle Best Practices
|
||||
|
||||
Captions increase watch time by 25-40%. Most social video is watched without sound.
|
||||
|
||||
- **MAX 2 lines** on screen at once
|
||||
- **3-5 words per line**
|
||||
- Bold, sans-serif font with black outline
|
||||
- **Highlight key words** in a different color
|
||||
- Match timing to speech exactly
|
||||
|
||||
Tools: CapCut (free), Descript, Captions.ai, Premiere Pro
|
||||
|
||||
### Content Ideas by Type
|
||||
|
||||
| Business Type | Video Ideas |
|
||||
|---------------|-------------|
|
||||
| SaaS | Feature demos (show outcome first), before/after, "Watch me do X in Y seconds" |
|
||||
| E-commerce | Unboxing, comparisons, how it's made, customer reviews |
|
||||
| Services | Process reveals, client transformations, myth-busting |
|
||||
| Personal brand | Lessons learned, controversial takes, day-in-the-life |
|
||||
|
||||
### Common Mistakes
|
||||
|
||||
1. **Slow hooks** — don't build up to the point
|
||||
2. **No text overlay** — many watch without sound
|
||||
3. **Poor audio** — bad audio kills retention instantly
|
||||
4. **Too long** — if it can be shorter, make it shorter
|
||||
5. **No CTA** — tell viewers what to do
|
||||
6. **Ignoring comments** — engagement in first hour matters
|
||||
|
||||
**For video hook formulas and scripting templates**: See [references/short-form-video.md](references/short-form-video.md)
|
||||
|
||||
---
|
||||
|
||||
## Task-Specific Questions
|
||||
|
||||
1. What platform(s) are you focusing on?
|
||||
|
||||
@@ -0,0 +1,237 @@
|
||||
# Short-Form Video: Hooks, Scripts & Strategy
|
||||
|
||||
Detailed reference for creating short-form video content on TikTok, Instagram Reels, and YouTube Shorts.
|
||||
|
||||
---
|
||||
|
||||
## Video Hook Library
|
||||
|
||||
### Curiosity Hooks (Best for engagement)
|
||||
|
||||
**The "Secret" Formula:**
|
||||
- "The secret to [outcome] that nobody talks about"
|
||||
- "I found the hidden feature in [product/platform] that changes everything"
|
||||
- "I can't believe this actually works..."
|
||||
|
||||
**The Unexpected Discovery:**
|
||||
- "I tried [thing] for 30 days and I was NOT expecting this"
|
||||
- "This completely changed how I think about [topic]"
|
||||
- "Nobody talks about this, but..."
|
||||
|
||||
**The Question:**
|
||||
- "Why does nobody talk about this?"
|
||||
- "Am I the only one who didn't know this?"
|
||||
- "The reason [common thing] doesn't work is..."
|
||||
|
||||
### Value Hooks (Best for saves)
|
||||
|
||||
**The Promise:**
|
||||
- "How to [achieve outcome] in [specific timeframe]"
|
||||
- "[Number] [things] that will [benefit]"
|
||||
- "Everything you need to know about [topic] in 60 seconds"
|
||||
|
||||
**The Hack/Shortcut:**
|
||||
- "[Outcome] hack that actually works"
|
||||
- "The [adjective] way to [outcome]"
|
||||
- "If you're struggling with [problem], watch this"
|
||||
|
||||
**The Warning:**
|
||||
- "Stop doing [common practice] — here's why"
|
||||
- "[Number] mistakes that are killing your [results]"
|
||||
- "Why [thing you think is good] is actually hurting you"
|
||||
|
||||
### Story Hooks (Best for watch time)
|
||||
|
||||
**The Transformation:**
|
||||
- "3 months ago, I [bad state]. Today, I [good state]."
|
||||
- "Here's how I went from [before] to [after]"
|
||||
- "I used to think [old belief]. Then [event] changed everything."
|
||||
|
||||
**The Failure:**
|
||||
- "I made a huge mistake with [topic]"
|
||||
- "Here's why I stopped [common practice]"
|
||||
- "I lost [something significant] because of this mistake"
|
||||
|
||||
**The Journey:**
|
||||
- "So this just happened..."
|
||||
- "This changed everything for me"
|
||||
- "Let me tell you about the time I [interesting situation]"
|
||||
|
||||
### Controversial Hooks (Best for comments)
|
||||
|
||||
- "Unpopular opinion: [bold statement]"
|
||||
- "[Common advice] is actually wrong"
|
||||
- "I'm going to get hate for this, but..."
|
||||
- "Most [audience] get this completely wrong"
|
||||
|
||||
---
|
||||
|
||||
## Scripting Template
|
||||
|
||||
```markdown
|
||||
## Video: [Working Title]
|
||||
|
||||
**Platform:** TikTok / Reels / Shorts
|
||||
**Length:** XX seconds
|
||||
**Format:** [Talking head / Slideshow / Demo / Screen recording]
|
||||
|
||||
### Hook (0-3 sec)
|
||||
- Visual: [What viewer sees]
|
||||
- Audio: [What they hear]
|
||||
- Text overlay: [On-screen text]
|
||||
|
||||
### Body (3-X sec)
|
||||
- [Timestamp] - [What happens/what you say]
|
||||
- [Timestamp] - [Next beat]
|
||||
- [Continue...]
|
||||
|
||||
### CTA (final 3-5 sec)
|
||||
- Verbal: [What you say]
|
||||
- Text: [On-screen text]
|
||||
- Action: [Follow, comment, link in bio, etc.]
|
||||
|
||||
### Production Notes
|
||||
- Music/sound: [Trending sound or music choice]
|
||||
- B-roll needed: [List any clips needed]
|
||||
- Graphics: [Any text animations or overlays]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Additional Video Structures
|
||||
|
||||
### The Story Arc (45-60 sec)
|
||||
|
||||
```
|
||||
[0-3s] Hook: Tease the outcome
|
||||
[3-15s] Setup: Context and stakes
|
||||
[15-45s] Journey: What happened
|
||||
[45-55s] Resolution: The result
|
||||
[55-60s] Lesson/CTA
|
||||
```
|
||||
|
||||
Best for: Personal stories, case studies, testimonials
|
||||
|
||||
### The POV/Skit (15-30 sec)
|
||||
|
||||
```
|
||||
[0-3s] Setup: Text overlay sets the scene
|
||||
[3-25s] Performance: Act out the relatable scenario
|
||||
[25-30s] Punchline or twist
|
||||
```
|
||||
|
||||
Best for: Relatable content, humor, niche communities
|
||||
|
||||
---
|
||||
|
||||
## Visual Patterns
|
||||
|
||||
### Talking Head
|
||||
- Good lighting (ring light or window light)
|
||||
- Eye contact with camera
|
||||
- Hand gestures for emphasis
|
||||
- Interesting background (bookshelf, plants, studio setup)
|
||||
|
||||
### Slideshow/Carousel Video
|
||||
- Strong visual on each slide (2-4 seconds per slide)
|
||||
- Text overlays with key points
|
||||
- Consistent style/branding
|
||||
- Voiceover or trending sound
|
||||
|
||||
### Screen Recording
|
||||
- Zoom in on important areas
|
||||
- Add cursor highlight or click animations
|
||||
- Keep movements smooth and intentional
|
||||
- Overlay your face in corner (optional but boosts engagement)
|
||||
|
||||
### B-Roll Heavy
|
||||
- Show don't tell
|
||||
- Quick cuts (1-3 seconds per shot)
|
||||
- Match cuts to voiceover beats
|
||||
- Mix wide, medium, and close-up shots
|
||||
|
||||
---
|
||||
|
||||
## Audio Strategy
|
||||
|
||||
### When to Use Trending Sounds
|
||||
- Entertainment/lifestyle content where the sound fits your message
|
||||
- When the trend is still rising (check platform trending pages)
|
||||
- Don't use when it distracts from your message or is already declining
|
||||
|
||||
### When to Use Original Audio
|
||||
- Educational content where you're speaking
|
||||
- Storytimes and personal narratives
|
||||
- Product demos and tutorials
|
||||
- Building a recognizable brand voice
|
||||
|
||||
### Voiceover Tips
|
||||
- Speak slightly faster than normal conversation
|
||||
- Vary your tone — avoid monotone delivery
|
||||
- Pause for emphasis on key points
|
||||
- Record in a quiet space, use noise removal
|
||||
- AI voices work for faceless content (ElevenLabs, etc.)
|
||||
|
||||
### Music Selection
|
||||
- Match energy to content (upbeat for tips, emotional for stories)
|
||||
- Avoid copyrighted music on Reels/Shorts
|
||||
- Use platform music libraries for safety
|
||||
- Lower music volume under voiceover (ducking)
|
||||
|
||||
---
|
||||
|
||||
## Posting Strategy
|
||||
|
||||
### Optimal Posting Times (test your audience)
|
||||
|
||||
| Platform | Best Times (local) |
|
||||
|----------|-------------------|
|
||||
| TikTok | 7-9 AM, 12-3 PM, 7-11 PM |
|
||||
| Reels | 9 AM, 12 PM, 7-9 PM |
|
||||
| Shorts | 12-3 PM, 7-9 PM |
|
||||
|
||||
### Frequency Recommendations
|
||||
|
||||
| Goal | Minimum | Optimal |
|
||||
|------|---------|---------|
|
||||
| Growing | 1/day | 2-4/day |
|
||||
| Maintaining | 3/week | 1/day |
|
||||
| Testing | 2/week | 5/week |
|
||||
|
||||
### Batch Creation Workflow
|
||||
|
||||
1. **Ideate** (30 min): Generate 10-20 concepts
|
||||
2. **Script** (1 hour): Write scripts for 5-10 videos
|
||||
3. **Batch film** (2 hours): Record all talking head content
|
||||
4. **Edit** (2-3 hours): Edit and add captions
|
||||
5. **Schedule** (30 min): Queue for optimal times
|
||||
|
||||
---
|
||||
|
||||
## Analytics & Iteration
|
||||
|
||||
### Metrics That Matter
|
||||
|
||||
| Metric | What It Tells You |
|
||||
|--------|-------------------|
|
||||
| Watch time % | Is content engaging throughout? |
|
||||
| Completion rate | Did hook + content deliver? |
|
||||
| Saves | Is content valuable enough to revisit? |
|
||||
| Shares | Is content worth spreading? |
|
||||
| Comments | Did content spark conversation? |
|
||||
| Follows | Did viewer want more from you? |
|
||||
|
||||
### What to Test
|
||||
|
||||
1. **Hooks**: Same content, different opening
|
||||
2. **Length**: 15 sec vs 30 sec vs 60 sec
|
||||
3. **Format**: Talking head vs slideshow vs demo
|
||||
4. **Time**: Morning vs afternoon vs evening
|
||||
5. **CTA**: Different calls to action
|
||||
|
||||
### When to Pivot
|
||||
|
||||
- 5+ videos with <1% completion rate → change hooks
|
||||
- High views but low follows → check CTA and content-audience fit
|
||||
- High saves but low shares → content is valuable but not social
|
||||
- Lots of comments but negative → lean into controversy or adjust tone
|
||||
@@ -0,0 +1,332 @@
|
||||
---
|
||||
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,' 'Runway,' 'Kling,' 'Pika,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social-content. For paid video ad creative, see ad-creative."
|
||||
metadata:
|
||||
version: 1.0.0
|
||||
---
|
||||
|
||||
# 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-context.md` exists (or `.claude/product-marketing-context.md` 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:
|
||||
|
||||
| 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, Runway, Kling, Pika | 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.
|
||||
|
||||
```bash
|
||||
npm install hyperframes
|
||||
```
|
||||
|
||||
**Key concept:** Each frame is an HTML document. Compose frames into a timeline, render to MP4.
|
||||
|
||||
```typescript
|
||||
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.
|
||||
|
||||
```bash
|
||||
npx create-video@latest
|
||||
```
|
||||
|
||||
**Key concept:** React components are frames. Props drive content. Render locally or via Remotion Lambda (AWS) for scale.
|
||||
|
||||
```tsx
|
||||
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 | Basic (CSS transitions) | 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 | Highest quality, synced audio | API-based |
|
||||
| **Runway Gen-4** | Up to 4K | ~10 sec/gen | Motion control, temporal consistency | $12-76/mo |
|
||||
| **Kling 3.0** | Up to 1080p | Up to 2 min | Volume production, lowest cost | $0.029/sec |
|
||||
| **Pika** | 1080p | Short clips | Fast generation, effects | Per-credit |
|
||||
|
||||
**Sora (OpenAI)** has had limited availability and reliability issues. Check current status before recommending.
|
||||
|
||||
### 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](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](https://www.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
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 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
|
||||
|
||||
| Tool | Type | MCP | Guide |
|
||||
|------|------|:---:|-------|
|
||||
| **HeyGen** | AI avatars | Yes | [heygen.md](../../tools/integrations/heygen.md) |
|
||||
| **Hyperframes** | Programmatic video | - | [hyperframes.md](../../tools/integrations/hyperframes.md) |
|
||||
| **Remotion** | Programmatic video | - | [remotion.dev](https://www.remotion.dev/docs) |
|
||||
| **Runway** | AI generation | - | [runwayml.com/docs](https://docs.dev.runwayml.com) |
|
||||
|
||||
---
|
||||
|
||||
## Related Skills
|
||||
|
||||
- **social-content**: 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
|
||||
@@ -0,0 +1,175 @@
|
||||
# AI Video Prompting Guide
|
||||
|
||||
How to write effective prompts for AI video generation models (Veo, Runway, Kling, Pika).
|
||||
|
||||
---
|
||||
|
||||
## Prompt Structure
|
||||
|
||||
A strong video prompt follows this formula:
|
||||
|
||||
```
|
||||
[Subject] + [Action] + [Camera movement] + [Visual style] + [Lighting/mood] + [Technical specs]
|
||||
```
|
||||
|
||||
### Example Prompts by Use Case
|
||||
|
||||
**Product hero shot:**
|
||||
```
|
||||
A sleek laptop on a minimal white desk, screen glowing with a dashboard UI,
|
||||
camera slowly orbits 180 degrees around the desk,
|
||||
soft volumetric lighting from the left, shallow depth of field,
|
||||
cinematic commercial aesthetic, 4K
|
||||
```
|
||||
|
||||
**Lifestyle B-roll:**
|
||||
```
|
||||
A woman in a modern co-working space smiling while looking at her phone,
|
||||
natural window light, candid documentary feel,
|
||||
camera handheld with subtle movement, warm color grading
|
||||
```
|
||||
|
||||
**Abstract/brand:**
|
||||
```
|
||||
Flowing liquid gold particles forming the shape of a network graph,
|
||||
dark background, particles catch light as they move,
|
||||
slow-motion macro photography style, dramatic rim lighting
|
||||
```
|
||||
|
||||
**SaaS explainer scene:**
|
||||
```
|
||||
An overhead shot of a team around a conference table pointing at charts,
|
||||
camera slowly pushes in, bright modern office,
|
||||
clean corporate style, even lighting, 1080p
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Camera Movement Vocabulary
|
||||
|
||||
Use these terms — video models understand them:
|
||||
|
||||
| Term | Effect |
|
||||
|------|--------|
|
||||
| **Static** | Locked camera, no movement |
|
||||
| **Pan left/right** | Camera rotates horizontally |
|
||||
| **Tilt up/down** | Camera rotates vertically |
|
||||
| **Dolly in/out** | Camera moves toward/away from subject |
|
||||
| **Orbit** | Camera circles around subject |
|
||||
| **Tracking shot** | Camera follows moving subject |
|
||||
| **Crane/aerial** | Camera rises or descends |
|
||||
| **Handheld** | Subtle shake, documentary feel |
|
||||
| **Zoom** | Lens zoom (different from dolly) |
|
||||
| **Slow push** | Gradual dolly in — builds tension/focus |
|
||||
|
||||
---
|
||||
|
||||
## Style Keywords
|
||||
|
||||
### Cinematic
|
||||
- "cinematic color grading"
|
||||
- "anamorphic lens flare"
|
||||
- "shallow depth of field"
|
||||
- "film grain"
|
||||
- "35mm film"
|
||||
|
||||
### Commercial/Corporate
|
||||
- "clean commercial lighting"
|
||||
- "bright and airy"
|
||||
- "professional corporate aesthetic"
|
||||
- "even, diffused lighting"
|
||||
|
||||
### Documentary
|
||||
- "handheld documentary style"
|
||||
- "natural lighting"
|
||||
- "candid, unposed"
|
||||
- "observational camera"
|
||||
|
||||
### Social/Trendy
|
||||
- "vertical 9:16"
|
||||
- "fast-paced cuts"
|
||||
- "bold text overlays"
|
||||
- "high contrast, saturated colors"
|
||||
|
||||
---
|
||||
|
||||
## Model-Specific Tips
|
||||
|
||||
### Veo (Google)
|
||||
|
||||
- Excels at photorealism and complex scenes
|
||||
- Supports audio generation synced to video
|
||||
- Best with detailed, descriptive prompts
|
||||
- Specify "high resolution" or "1080p" for best quality
|
||||
- Can handle multiple subjects and scene transitions
|
||||
|
||||
### Runway Gen-4
|
||||
|
||||
- Strong motion control — specify camera movements precisely
|
||||
- Best temporal consistency (subjects stay consistent across frames)
|
||||
- Use motion brush for specific area animation
|
||||
- Image-to-video works well — provide a reference frame
|
||||
- Keep prompts under 100 words for best results
|
||||
|
||||
### Kling
|
||||
|
||||
- Can generate up to 2 minutes (much longer than others)
|
||||
- Good for longer narrative sequences
|
||||
- More affordable for bulk generation
|
||||
- Quality drops slightly at longer durations
|
||||
- Best with simpler scenes and fewer subjects
|
||||
|
||||
### Pika
|
||||
|
||||
- Fastest generation time (under 2 minutes)
|
||||
- Good for quick iterations and experimentation
|
||||
- Effects mode adds motion to still images
|
||||
- Best for short clips (5-15 seconds)
|
||||
- Less control over camera movement
|
||||
|
||||
---
|
||||
|
||||
## Common Prompt Mistakes
|
||||
|
||||
| Mistake | Why It Fails | Fix |
|
||||
|---------|-------------|-----|
|
||||
| "A person using our app" | Too vague, no visual detail | Describe the person, setting, lighting, camera |
|
||||
| Including text/logos | AI can't render readable text | Add text in post via Hyperframes/CapCut |
|
||||
| "Make it viral" | Not a visual instruction | Describe the visual style you want |
|
||||
| Extremely long prompts (200+ words) | Models lose focus | Keep to 50-100 words, be specific |
|
||||
| No camera direction | Random/static camera | Always specify movement or "static" |
|
||||
| "Realistic" alone | Not specific enough | "Photorealistic, natural lighting, shot on RED camera" |
|
||||
|
||||
---
|
||||
|
||||
## Prompting Workflow
|
||||
|
||||
1. **Reference first** — find a real video that looks like what you want
|
||||
2. **Describe it** — break down: subject, action, camera, style, mood
|
||||
3. **Generate 3-4 variations** — same concept, different angles or styles
|
||||
4. **Iterate on the best** — refine the prompt based on results
|
||||
5. **Composite** — combine AI footage with programmatic text/overlays
|
||||
|
||||
---
|
||||
|
||||
## Aspect Ratios
|
||||
|
||||
Always specify in your prompt or generation settings:
|
||||
|
||||
| Platform | Ratio | Resolution |
|
||||
|----------|-------|-----------|
|
||||
| YouTube | 16:9 | 1920x1080 or 3840x2160 |
|
||||
| TikTok/Reels/Shorts | 9:16 | 1080x1920 |
|
||||
| Instagram Feed | 1:1 or 4:5 | 1080x1080 or 1080x1350 |
|
||||
| Website hero | 16:9 | 1920x1080 |
|
||||
| LinkedIn | 16:9 or 1:1 | 1920x1080 |
|
||||
|
||||
---
|
||||
|
||||
## Cost Optimization
|
||||
|
||||
- **Iterate at low resolution** — upscale only the final version
|
||||
- **Use Kling for drafts** — cheapest per second, switch to Veo/Runway for finals
|
||||
- **Image-to-video** — providing a reference frame saves generation credits and gives better results
|
||||
- **Batch similar prompts** — models often offer volume discounts
|
||||
- **Cache and reuse** — B-roll clips can be reused across multiple videos
|
||||
+7
-3
@@ -80,6 +80,8 @@ Quick reference for AI agents to discover tool capabilities and integration meth
|
||||
| airops | AI Content | ✓ | - | [✓](clis/airops.js) | - | [airops.md](integrations/airops.md) |
|
||||
| buffer | Social | ✓ | - | [✓](clis/buffer.js) | - | [buffer.md](integrations/buffer.md) |
|
||||
| wistia | Video | ✓ | - | [✓](clis/wistia.js) | - | [wistia.md](integrations/wistia.md) |
|
||||
| heygen | Video | ✓ | ✓ | - | ✓ | [heygen.md](integrations/heygen.md) |
|
||||
| hyperframes | Video | - | - | ✓ | ✓ | [hyperframes.md](integrations/hyperframes.md) |
|
||||
| trustpilot | Reviews | ✓ | - | [✓](clis/trustpilot.js) | - | [trustpilot.md](integrations/trustpilot.md) |
|
||||
| g2 | Reviews | ✓ | - | [✓](clis/g2.js) | - | [g2.md](integrations/g2.md) |
|
||||
| onesignal | Push | ✓ | - | [✓](clis/onesignal.js) | ✓ | [onesignal.md](integrations/onesignal.md) |
|
||||
@@ -260,13 +262,15 @@ Social media scheduling, management, and analytics.
|
||||
|
||||
### Video
|
||||
|
||||
Video hosting, analytics, and engagement.
|
||||
Video hosting, creation, and AI generation.
|
||||
|
||||
| Tool | Best For | Notes |
|
||||
|------|----------|-------|
|
||||
| **wistia** | Video hosting, marketing analytics | Best for marketing video |
|
||||
| **wistia** | Video hosting, marketing analytics | Best for marketing video hosting |
|
||||
| **heygen** | AI avatars, talking-head videos | MCP server available |
|
||||
| **hyperframes** | Programmatic video from HTML/CSS | Open source, agent-native |
|
||||
|
||||
**Agent recommendation**: Wistia for marketing video hosting with analytics.
|
||||
**Agent recommendation**: HeyGen for AI avatar videos (MCP-enabled). Hyperframes for templated, data-driven video from code. Wistia for hosting and analytics.
|
||||
|
||||
### Data Enrichment
|
||||
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
# HeyGen
|
||||
|
||||
AI avatar video generation platform. Create talking-head videos from text scripts with realistic lip-sync, expressions, and gestures.
|
||||
|
||||
## Capabilities
|
||||
|
||||
| Integration | Available | Notes |
|
||||
|-------------|-----------|-------|
|
||||
| API | Yes | REST API v2 for video generation, avatars, templates |
|
||||
| MCP | Yes | Official hosted MCP server — no local install needed |
|
||||
| CLI | - | - |
|
||||
| SDK | Yes | Node.js SDK available |
|
||||
|
||||
## Authentication
|
||||
|
||||
- **Type**: API Key
|
||||
- **Header**: `X-Api-Key: {api_key}`
|
||||
- **Get key**: Settings > API in HeyGen dashboard
|
||||
|
||||
## MCP Server Setup
|
||||
|
||||
HeyGen provides a hosted remote MCP server. No local installation required.
|
||||
|
||||
### Claude Code / Claude Desktop
|
||||
|
||||
Add to your MCP config:
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"heygen": {
|
||||
"command": "npx",
|
||||
"args": ["-y", "mcp-remote", "https://mcp.heygen.com/mcp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
On first use, authenticates via browser OAuth. The MCP server exposes tools for:
|
||||
- Creating videos from scripts
|
||||
- Listing and selecting avatars
|
||||
- Managing templates
|
||||
- Checking video status
|
||||
|
||||
## API Quick Start
|
||||
|
||||
### Create a Video
|
||||
|
||||
```bash
|
||||
curl -X POST https://api.heygen.com/v2/video/generate \
|
||||
-H "X-Api-Key: YOUR_API_KEY" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"video_inputs": [{
|
||||
"character": {
|
||||
"type": "avatar",
|
||||
"avatar_id": "AVATAR_ID",
|
||||
"avatar_style": "normal"
|
||||
},
|
||||
"voice": {
|
||||
"type": "text",
|
||||
"input_text": "Your script goes here.",
|
||||
"voice_id": "VOICE_ID"
|
||||
}
|
||||
}],
|
||||
"dimension": {
|
||||
"width": 1920,
|
||||
"height": 1080
|
||||
}
|
||||
}'
|
||||
```
|
||||
|
||||
### List Avatars
|
||||
|
||||
```bash
|
||||
curl https://api.heygen.com/v2/avatars \
|
||||
-H "X-Api-Key: YOUR_API_KEY"
|
||||
```
|
||||
|
||||
### Check Video Status
|
||||
|
||||
```bash
|
||||
curl https://api.heygen.com/v1/video_status.get?video_id=VIDEO_ID \
|
||||
-H "X-Api-Key: YOUR_API_KEY"
|
||||
```
|
||||
|
||||
## Common Marketing Use Cases
|
||||
|
||||
| Use Case | Approach |
|
||||
|----------|----------|
|
||||
| Product explainer | Script from features → avatar presents |
|
||||
| Feature announcement | Template with avatar + screen recording |
|
||||
| Multilingual content | Same script, different language/voice |
|
||||
| Personalized outreach | Dynamic variables (name, company) in script |
|
||||
| Weekly updates | Recurring template, swap script text |
|
||||
|
||||
## Custom Avatars
|
||||
|
||||
Upload a 2-5 minute video of yourself speaking to create a digital twin:
|
||||
- Looks and sounds like you
|
||||
- Generates unlimited videos from text scripts
|
||||
- Available on Creator plan and above
|
||||
|
||||
## Pricing
|
||||
|
||||
| Plan | Videos/mo | Max Duration |
|
||||
|------|-----------|-------------|
|
||||
| Free | 3 | 3 min |
|
||||
| Creator | Unlimited | 5 min |
|
||||
| Business | Unlimited | 20 min |
|
||||
| Enterprise | Unlimited | Custom |
|
||||
|
||||
Check [heygen.com/pricing](https://www.heygen.com/pricing) for current prices — they change frequently.
|
||||
|
||||
## Rate Limits
|
||||
|
||||
- Free: 3 videos/month
|
||||
- Paid: Based on plan tier, concurrent generation limits apply
|
||||
- API rate limits: Check response headers for `X-RateLimit-*`
|
||||
|
||||
## Relevant Skills
|
||||
|
||||
- video
|
||||
- social-content
|
||||
- ad-creative
|
||||
- sales-enablement
|
||||
@@ -0,0 +1,180 @@
|
||||
# Hyperframes
|
||||
|
||||
Open-source programmatic video framework from HeyGen. Create videos from HTML/CSS/JS — no React, no proprietary DSL. Designed for AI agent workflows.
|
||||
|
||||
## Capabilities
|
||||
|
||||
| Integration | Available | Notes |
|
||||
|-------------|-----------|-------|
|
||||
| API | - | Library, not a hosted service |
|
||||
| MCP | - | - |
|
||||
| CLI | Yes | `npx hyperframes render` |
|
||||
| SDK | Yes | Node.js/TypeScript package |
|
||||
|
||||
## Why Hyperframes
|
||||
|
||||
- **LLM-native**: AI models generate better HTML than React components — plain web standards, no framework DSL
|
||||
- **Deterministic**: Same input always produces identical output (ideal for automation)
|
||||
- **Open source**: Apache 2.0 license, zero per-render fees
|
||||
- **Agent-friendly**: Any coding agent that can write HTML can create videos
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install hyperframes
|
||||
```
|
||||
|
||||
Requires: Node.js 22+, Chrome/Chromium (for rendering)
|
||||
|
||||
## Quick Start
|
||||
|
||||
```typescript
|
||||
import { render } from "hyperframes";
|
||||
|
||||
await render({
|
||||
frames: [
|
||||
{
|
||||
html: `
|
||||
<div style="display:flex; align-items:center; justify-content:center;
|
||||
height:100%; background:#000; color:#fff; font-family:system-ui;">
|
||||
<h1 style="font-size:64px;">Welcome to Acme</h1>
|
||||
</div>
|
||||
`,
|
||||
duration: 3,
|
||||
},
|
||||
{
|
||||
html: `
|
||||
<div style="display:flex; flex-direction:column; align-items:center;
|
||||
justify-content:center; height:100%; background:#000; color:#fff;
|
||||
font-family:system-ui;">
|
||||
<h2 style="font-size:48px;">Ship faster with AI</h2>
|
||||
<p style="font-size:24px; color:#888;">Try it free today</p>
|
||||
</div>
|
||||
`,
|
||||
duration: 3,
|
||||
},
|
||||
],
|
||||
output: "intro.mp4",
|
||||
width: 1080,
|
||||
height: 1920, // 9:16 vertical
|
||||
fps: 30,
|
||||
});
|
||||
```
|
||||
|
||||
## Core Concepts
|
||||
|
||||
### Frames
|
||||
|
||||
Each frame is an HTML document rendered at a specific point in the timeline. Think of it as a slide with a duration.
|
||||
|
||||
```typescript
|
||||
{
|
||||
html: "<div>...</div>", // Full HTML content
|
||||
duration: 3, // Seconds to display
|
||||
css?: "body { ... }", // Optional external CSS
|
||||
}
|
||||
```
|
||||
|
||||
### Transitions
|
||||
|
||||
CSS transitions and animations work between frames:
|
||||
|
||||
```html
|
||||
<div style="animation: fadeIn 0.5s ease-in;">
|
||||
<h1>Slide In</h1>
|
||||
</div>
|
||||
<style>
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
### Data-Driven Videos
|
||||
|
||||
Generate frames from data for batch production:
|
||||
|
||||
```typescript
|
||||
const features = ["Analytics", "Automation", "AI Insights"];
|
||||
|
||||
const frames = features.map((feature) => ({
|
||||
html: `
|
||||
<div style="display:flex; align-items:center; justify-content:center;
|
||||
height:100%; background:linear-gradient(135deg, #667eea, #764ba2);
|
||||
color:#fff; font-family:system-ui;">
|
||||
<h1 style="font-size:56px;">${feature}</h1>
|
||||
</div>
|
||||
`,
|
||||
duration: 2.5,
|
||||
}));
|
||||
|
||||
await render({ frames, output: "features.mp4", width: 1080, height: 1920 });
|
||||
```
|
||||
|
||||
## Common Marketing Templates
|
||||
|
||||
### Product Announcement
|
||||
|
||||
```typescript
|
||||
const frames = [
|
||||
{ html: hookSlide("Something new is here"), duration: 2 },
|
||||
{ html: featureSlide(title, description, screenshot), duration: 4 },
|
||||
{ html: ctaSlide("Try it free →", url), duration: 3 },
|
||||
];
|
||||
```
|
||||
|
||||
### Testimonial Video
|
||||
|
||||
```typescript
|
||||
const frames = [
|
||||
{ html: quoteSlide(testimonial.text), duration: 4 },
|
||||
{ html: attributionSlide(testimonial.author, testimonial.company), duration: 2 },
|
||||
{ html: ctaSlide("Join 1,000+ happy customers"), duration: 3 },
|
||||
];
|
||||
```
|
||||
|
||||
### Stats/Metrics Video
|
||||
|
||||
```typescript
|
||||
const metrics = [
|
||||
{ label: "Users", value: "10,000+" },
|
||||
{ label: "Uptime", value: "99.9%" },
|
||||
{ label: "NPS", value: "72" },
|
||||
];
|
||||
|
||||
const frames = metrics.map(m => ({
|
||||
html: metricSlide(m.label, m.value),
|
||||
duration: 2.5,
|
||||
}));
|
||||
```
|
||||
|
||||
## Aspect Ratios
|
||||
|
||||
| Platform | Width | Height | Ratio |
|
||||
|----------|-------|--------|-------|
|
||||
| TikTok/Reels/Shorts | 1080 | 1920 | 9:16 |
|
||||
| YouTube | 1920 | 1080 | 16:9 |
|
||||
| Instagram Feed | 1080 | 1080 | 1:1 |
|
||||
| Instagram Feed | 1080 | 1350 | 4:5 |
|
||||
|
||||
## Hyperframes vs. Remotion
|
||||
|
||||
| Factor | Hyperframes | Remotion |
|
||||
|--------|-------------|----------|
|
||||
| Language | HTML/CSS/JS | React/TypeScript |
|
||||
| Agent compatibility | Better (plain HTML) | Good (needs React knowledge) |
|
||||
| Animation | CSS transitions/keyframes | Spring physics, interpolation |
|
||||
| Cloud rendering | Not built-in | Lambda (AWS) |
|
||||
| License | Apache 2.0 (free) | Company license for commercial use |
|
||||
| Ecosystem | New, growing | Mature, large community |
|
||||
|
||||
**Use Hyperframes when:** AI agent is generating the video, simple animations, batch templated content, cost-sensitive.
|
||||
|
||||
**Use Remotion when:** Complex animations needed, already using React, need Lambda for massive scale, want larger ecosystem.
|
||||
|
||||
## Relevant Skills
|
||||
|
||||
- video
|
||||
- social-content
|
||||
- ad-creative
|
||||
Reference in New Issue
Block a user