You are helping the user find stock footage for their Remotion project using the Pexels MCP.
Load the remotion-production skill for the stock-footage-workflow rule.
Workflow
1. Understand the Need
Ask the user what they're looking for if not already clear. Get:
- Subject — What should be in the footage? (people, nature, tech, food, etc.)
- Style — Cinematic, aerial/drone, close-up, time-lapse, slow motion?
- Orientation — Landscape (16:9), portrait (9:16), or square (1:1)?
- Mood — Bright, dark, warm, cool, energetic, calm?
2. Search Pexels
Craft a descriptive search query and run:
Use Pexels videos_search:
- query: [descriptive keywords — be specific]
- orientation: [landscape/portrait/square]
- size: large
- per_page: 5
For photos:
Use Pexels photos_search:
- query: [descriptive keywords]
- orientation: [landscape/portrait/square]
- size: large
- per_page: 5
3. Present Results
Show the user the results with:
- Thumbnail/preview URL
- Duration (for videos)
- Resolution
- Photographer credit
Ask which ones they want to download.
4. Download Selected Assets
mkdir -p public/footage # or public/images for photos
# Download each selected clip
curl -L -o public/footage/[descriptive-name].mp4 "[video_url]"
5. Show Usage
After downloading, show how to use the clip in Remotion:
import { OffthreadVideo, staticFile } from "remotion";
<OffthreadVideo
src={staticFile("footage/[descriptive-name].mp4")}
style={{ width: "100%", height: "100%", objectFit: "cover" }}
/>
6. Attribution Reminder
Remind the user:
Pexels content is free to use. Attribution is appreciated but not required. Consider adding "Videos provided by Pexels" in your video credits.