Generate professional YouTube thumbnails with AI-powered expression cutouts and Remotion rendering. Perfect for content creators who want consistent, high-quality thumbnails at scale.
Generate professional YouTube thumbnails using your own expression cutouts and Remotion's powerful rendering engine.
This skill helps you create consistent, high-quality YouTube thumbnails by:
The skill files should be in your agent's skills directory. The renderer is a self-contained Remotion project.
# Install renderer dependencies
cd <skill-dir>/renderer
npm install
# Set your Replicate API key
export REPLICATE_API_TOKEN="your-api-key-here"
Run the interactive capture script to photograph yourself in 25 different expressions:
node <skill-dir>/scripts/capture.js
What it does:
storage/expressions_db.jsonTips:
Process all your raw photos to create transparent-background cutouts:
node <skill-dir>/scripts/process_cutouts.js
What it does:
Time: ~30-60 seconds per expression
Once you have cutouts, generate thumbnails on demand:
npx remotion still Thumbnail <skill-dir>/renderer/out/thumbnail.png \
--props='{
"headline": "This Changed Everything",
"emotionId": 5,
"stylePreset": "bold",
"cutoutUrl": "<skill-dir>/storage/cutouts/5_cutout.png",
"bgUrl": "https://example.com/background.jpg"
}'
Parameters:
headline (string): The main text to displayemotionId (number): Which expression to use (1-25)stylePreset (string): Visual style - "bold", "dramatic", or "clean"cutoutUrl (string): Path to your expression cutoutbgUrl (string): URL or path to background imageOutput: High-res PNG thumbnail ready for YouTube
See EXPRESSIONS.md for the full list of 25 expressions and usage tips.
You can use:
Generate multiple thumbnails programmatically:
# See references/BATCH_GENERATION.md for examples
The Remotion renderer is a standard React/Remotion project. You can:
renderer/src/Thumbnail.tsxSee Remotion docs for details.
storage/expressions_db.json to see which expressions are readyREPLICATE_API_TOKEN is set correctlynpm install in the renderer directoryFor more issues, see references/TROUBLESHOOTING.md
remotion-thumbnail/
├── SKILL.md # This file
├── scripts/
│ ├── capture.js # Interactive expression capture
│ └── process_cutouts.js # Background removal pipeline
├── references/
│ ├── SETUP.md # Detailed setup guide
│ ├── EXPRESSIONS.md # Expression reference
│ ├── BATCH_GENERATION.md # Batch processing examples
│ └── TROUBLESHOOTING.md # Common issues & solutions
├── assets/
│ └── expressions.json # Expression definitions
├── renderer/ # Remotion project
│ ├── src/
│ │ └── Thumbnail.tsx # Main thumbnail component
│ └── package.json
└── storage/ # Generated at runtime
├── raw/ # Your captured photos
├── cutouts/ # AI-processed cutouts
└── expressions_db.json # Expression metadata
MIT - See LICENSE file for details.
Created by Alternative Design
Powered by Remotion and Replicate
Pro tip: Once you have your expression library set up, you can generate unlimited thumbnail variations in seconds. Perfect for A/B testing or maintaining consistent branding across your channel!