An AI-powered video generation tool that creates animated videos from text scripts using Claude Code.
Unlike traditional AI video generators that output video files, this tool generates React/TSX code that renders as animated videos. The AI writes the codeβthe code becomes the video.
- Claude Code CLI installed and configured. see Claude Code Quickstart
β‘ TL;DR: Clone repo β Run
/tools:initβ Set API key β Run/create-video
-
Get the repository: Either clone the repository or download it as a ZIP file and extract it.
-
Open Claude Code in the repository directory to ensure all commands work properly.
Run the initialization command in Claude Code:
/tools:init
This command will automatically:
- install the requirements needed to start generating video
- will direct you to setup the api key and will tell you how.
Note
This command only needs to be run once during initial setup.
After installation completes, you need to set up your API key (this will be instructed after the /tools:init comand as well):
- Get your API key: Visit https://production2.outscal.com/v2/get-video-generation-api-key and register or login
- Add your API key to the
.envfile:ReplaceOUTSCAL_API_KEY="your_api_key_here"your_api_key_herewith the actual API key you received.
The following environment variable is optional and only needed if you want to use a different voice:
| Variable | Description | Required |
|---|---|---|
ELEVENLABS_VOICE_ID |
Voice ID from ElevenLabs. You can pick different voice IDs from your ElevenLabs account if you want to change the voice. | No |
Note
Only ElevenLabs' pre-made voices are supported. Custom or cloned voices will not work.
Run the video creation command:
/create-video
Tip
Run this command every time you want to create a new video.
When you run /create-video, the tool will guide you through this pipeline:
βββββββββββ βββββββββββ βββββββββββββ βββββββββββββ ββββββββββ ββββββββββ βββββββββ
β Style β β β Script β β β Audio β β β Direction β β β Assets β β β Design β β β Video β
βββββββββββ βββββββββββ βββββββββββββ βββββββββββββ ββββββββββ ββββββββββ βββββββββ
| Step | What Happens |
|---|---|
| π¨ Style | Choose from available art styles |
| π Script | Provide your narration script (max 2000 characters) |
| π Audio | Convert script to speech using ElevenLabs |
| π¬ Direction | Generate scene-by-scene video direction |
| πΌοΈ Assets | Create SVG assets for the video |
| βοΈ Design | Generate detailed design specifications |
| π₯ Video | Create and deploy video (displays deployed URL) |
Tip
After videos are created and deployed, use /tools:list-videos to view all deployed video URLs.
When creating a video, you'll be asked to choose from three distinct visual styles:
Pencil-Demo.mp4
A hand-drawn, sketch-like aesthetic that gives videos a personal, artistic feel. Features rough edges, sketch lines, and a notebook-paper appearance. Great for educational content that wants to feel approachable and informal.
Infographic-Demo.mp4
Clean, modern, and professional style with bold colors, geometric shapes, and data visualization elements. Uses flat design principles with clear iconography. Ideal for business presentations, explainer videos, and data-driven content.
Neon-Demo.mp4
Vibrant, futuristic style with glowing effects, dark backgrounds, and bright accent colors. Features electric highlights and cyberpunk-inspired visuals. Perfect for tech topics, gaming content, or when you want a high-energy, modern look.
| Command | Description |
|---|---|
/tools:init |
Install all project dependencies |
/tools:list-videos |
List all deployed video URLs for the project |
/create-video |
Start the full video creation workflow |
/gen:audio --topic "topic-name" |
Generate audio only |
/gen:director --topic "topic-name" |
Generate video direction only |
/gen:assets --topic "topic-name" |
Generate SVG assets only |
/gen:design --topic "topic-name" |
Generate design specifications only |
/gen:video --topic "topic-name" |
Generate video components only |
Important
If you run individual gen: commands instead of /create-video, you must run all subsequent commands in the workflow sequence for your changes to take effect. For example, if you run /gen:director, you'll need to manually run /gen:assets, /gen:design, and /gen:video afterwards.