Create videos programmatically using React components and AI-powered text-to-speech. Ideal for operations teams to automate video production, integrating with workflows like content creation and marketing automation.
git clone https://github.com/wshuyi/remotion-video-skill.gitCreate videos programmatically using React components and AI-powered text-to-speech. Ideal for operations teams to automate video production, integrating with workflows like content creation and marketing automation.
[{"step":"Define your video requirements","action":"Clearly outline the topic, duration, style, and key sections (e.g., intro, key points, CTA) in your prompt. Use placeholders like [TOPIC/PURPOSE] and [DURATION] to customize the output.","tip":"For consistency, create a template for your team with predefined styles (e.g., 'professional,' 'casual,' 'animated') and voice preferences (e.g., 'male US English,' 'female UK English')."},{"step":"Write the script structure","action":"Break down the video into sections (e.g., intro, 3 key points, CTA) and provide the script text for each section. Include timing estimates for each segment to ensure the final video meets the duration requirement.","tip":"Use tools like Google Docs or Notion to draft the script collaboratively. For AI-generated scripts, provide a detailed outline to avoid generic outputs."},{"step":"Generate the React component","action":"Use a React library like `remotion` or `react-three-fiber` to create a video component. Structure the component to dynamically render text, animations, and transitions based on the script. Example:\n```jsx\nimport { useVideoConfig } from 'remotion'; \n\nfunction MyVideo() {\n const { durationInFrames } = useVideoConfig();\n return (\n <div>\n <Intro duration={durationInFrames} />\n <KeyPoints duration={durationInFrames} />\n <CTA duration={durationInFrames} />\n </div>\n );\n}\n```","tip":"Leverage Remotion's built-in templates (e.g., `npx create-video`) to scaffold your project quickly. Use CSS-in-JS libraries like styled-components for dynamic styling."},{"step":"Add AI-powered text-to-speech","action":"Integrate an AI TTS service (e.g., ElevenLabs, Azure Speech, or Amazon Polly) to generate narration. Use the script text as input and sync the audio with the video timeline. Example:\n```bash\n# Using ElevenLabs API\nelevenlabs-cli --text \"Welcome to our guide\" --voice \"Samantha\" --output welcome.mp3\n```","tip":"Test different voices and speeds to match the video's tone. For multilingual videos, use services like Google Cloud TTS or Azure Speech for broader language support."},{"step":"Render and export the video","action":"Use Remotion's CLI to render the video in your desired format (e.g., MP4, GIF). Example:\n```bash\nnpx remotion render my-video my-video.mp4 --props='{\"duration\": 60}'\n```","tip":"For batch processing, use a script to automate rendering multiple videos with different inputs. Store outputs in a cloud bucket (e.g., AWS S3) for easy distribution."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/wshuyi/remotion-video-skillCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a video using React components and AI-powered text-to-speech for [TOPIC/PURPOSE]. The video should be [DURATION] long, with a [STYLE/TONE] style. Include [SPECIFIC SECTIONS] such as an introduction, key points, and a call-to-action. Use [VOICE] for narration and [MUSIC/BACKGROUND] if applicable. Here's the script structure: [SCRIPT_STRUCTURE].
Generated a 60-second explainer video for 'How to Use Our New AI Tool' in a professional, engaging style. The video includes: 1. **Introduction (0:00-0:10)**: A friendly AI voice (female, US English) narrates: 'Welcome to our quick guide on using our new AI tool. In just 60 seconds, you'll learn how to get started!' with a modern, minimalist background animation. 2. **Key Points (0:10-0:40)**: Three animated bullet points appear on screen with icons: - 'Step 1: Sign in to your dashboard' (accompanied by a login icon animation). - 'Step 2: Upload your data' (with a cloud upload animation). - 'Step 3: Generate insights in seconds' (with a speedometer animation). Each point is narrated with concise, clear explanations. 3. **Call-to-Action (0:40-0:60)**: The AI voice concludes: 'Ready to try it? Visit [YOUR_URL] and start your free trial today!' with a bright, colorful CTA button animation and upbeat background music. The video was rendered as an MP4 file with 1080p resolution, using the 'Samantha' AI voice from ElevenLabs for narration and a subtle tech-inspired background track. The React component structure followed a modular design for easy reuse in future videos.
AI assistant built for thoughtful, nuanced conversation
Automate your sales process with AI efficiency
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan