### Quick Render Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/README.md This example allows you to skip the full setup and immediately render an MP4 file. Navigate to the hello-world example directory, install its dependencies, and run the render script. No API keys are required. ```bash cd examples/hello-world && npm install && npm run render ``` -------------------------------- ### Create Your First Video (Hello World) Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/getting-started.md Navigate to the example directory, install dependencies, and run commands to preview or export your first video. No API keys are required for this basic setup. ```bash cd examples/hello-world npm install npm run studio # Preview in browser npm run render # Export MP4 ``` -------------------------------- ### Install Python Tools and Render Example Source: https://context7.com/digitalsamba/claude-code-video-toolkit/llms.txt Clone the repository, install Python dependencies, and render the hello-world example. No API keys are required for this initial rendering. ```bash git clone https://github.com/digitalsamba/claude-code-video-toolkit.git cd claude-code-video-toolkit python3 -m pip install -r tools/requirements.txt cd examples/hello-world && npm install && npm run render ``` -------------------------------- ### Quick Start: Initial Setup Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CLAUDE.md Optional first-time setup command to configure cloud GPU, file transfer (R2), and voice settings. This step takes approximately 5 minutes and most features are free. ```bash /setup ``` -------------------------------- ### Install Remotion Example Project Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/README.md Use this command to copy a Remotion example project into your projects directory and install its dependencies. ```bash cp -r examples/example-name projects/my-project cd projects/my-project npm install npm run studio ``` -------------------------------- ### Quick Start Commands for Remotion Project Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/sprint-review-cho-oyu/README.md Use these bash commands to copy the example project, install dependencies, and run the Remotion studio or render commands. ```bash cp -r examples/sprint-review-cho-oyu projects/my-version cd projects/my-version # Create required assets (see ASSETS-NEEDED.md) # ... # Preview cd remotion npm install npm run studio # Render npm run render ``` -------------------------------- ### Manual Project Setup and Rendering Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CLAUDE.md Manual steps to set up a video project by copying a template, installing dependencies, and running preview or render commands. ```bash cp -r templates/sprint-review projects/my-video cd projects/my-video npm install npm run studio # Preview npm run render # Export ``` -------------------------------- ### Automated RunPod Setup and Usage Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/runpod-setup.md Quick start for setting up RunPod endpoints and using the tools. Adds API key to .env, creates endpoints via --setup, and demonstrates tool usage. ```bash # 1. Add your RunPod API key to .env echo "RUNPOD_API_KEY=your_key_here" >> .env # 2. Run automated setup for each tool you need python tools/image_edit.py --setup # AI image editing python tools/upscale.py --setup # AI upscaling python tools/dewatermark.py --setup # AI watermark removal # 3. Done! Now use them: python tools/image_edit.py --input photo.jpg --style cyberpunk python tools/upscale.py --input photo.jpg --output photo_4x.png --runpod python tools/dewatermark.py --input video.mp4 --region x,y,w,h --output out.mp4 --runpod ``` -------------------------------- ### Share an Example Project Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CONTRIBUTORS.md To get listed as a contributor by sharing an example project, follow this path within the project. ```bash /contribute → Option 5 (Share an example project) ``` -------------------------------- ### Setup Cloud GPU Tools (RunPod/Modal) Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CLAUDE.md Automate the one-time setup for RunPod integration by adding your API key to a `.env` file. For Modal, you need to install the Modal client and deploy each application separately, saving the returned URL to your `.env` file. ```bash # --- RunPod setup (automated, one-time per tool) --- echo "RUNPOD_API_KEY=your_key_here" >> .env python tools/image_edit.py --setup python tools/upscale.py --setup python tools/qwen3_tts.py --setup python tools/music_gen.py --setup ``` ```bash # --- Modal setup (deploy each app you need) --- pip install modal && python3 -m modal setup modal deploy docker/modal-upscale/app.py # Then save URL to .env modal deploy docker/modal-image-edit/app.py # See docs/modal-setup.md for full guide ``` -------------------------------- ### Interactive Setup for AI Video Tools Source: https://context7.com/digitalsamba/claude-code-video-toolkit/llms.txt Run the `/setup` command in Claude Code for a guided, interactive setup of cloud GPU providers, file storage, and voice services. It automatically configures endpoints in `.env`. ```bash # In Claude Code: /setup # Interactively covers: # 1. Cloud GPU provider (Modal recommended) # 2. Cloudflare R2 for file transfer (free 10GB tier) # 3. Voice provider (Qwen3-TTS free, or ElevenLabs) # 4. Writes endpoint URLs to .env automatically ``` -------------------------------- ### Remotion Project Setup and Commands Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/digital-samba-skill-demo/VIDEO-SPEC.md Commands to set up a new Remotion project or install dependencies, and to preview or render the video composition. ```bash cd remotion npx create-video@latest # If starting fresh npm install npm run studio # Preview npm run render # Final output ``` -------------------------------- ### Verify Setup Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/modal-setup.md Run this Python script to verify your current setup. ```bash python3 tools/verify_setup.py ``` -------------------------------- ### Install Dependencies and Run Remotion Studio/Render Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/digital-samba-skill-demo/ASSETS-NEEDED.md These commands are used after creating the necessary assets. They install project dependencies, start the Remotion preview studio, and render the final MP4 video. ```bash cd remotion npm install npm run studio # Preview npm run render # Final MP4 ``` -------------------------------- ### Install and Run Sprint Review Template Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/templates/sprint-review-v2/README.md Install dependencies, open the preview studio for development, and render the final video. ```bash npm install # Open the preview studio npm run studio # Render final video npm run render ``` -------------------------------- ### Install Dependencies and Run Studio/Render Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/templates/product-demo/README.md Install project dependencies, open the preview studio for live editing, and render the final video. ```bash # Install dependencies npm install # Open the preview studio npm run studio # Render final video npm run render ``` -------------------------------- ### Initial Setup and Video Creation in Claude Code Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/README.md After launching Claude Code, use the /setup command for interactive configuration of cloud GPU, storage, and voice. Then use the /video command to create a project from a template and start the video creation workflow. ```bash /setup # Configure cloud GPU, storage, voice (~5 min, mostly free) /video # Create your first video ``` -------------------------------- ### Install Dependencies and Run Stinger Build Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/ds-crt-stinger/README.md Installs necessary Python packages and system dependencies, then navigates to the example directory to build the stinger. Subsequent runs reuse cached intermediates. ```bash # From the toolkit root: python3 -m pip install -r tools/requirements.txt # moviepy, Pillow, numpy brew install librsvg # rsvg-convert (one-time) cd examples/ds-crt-stinger python3 build.py # → ds_stinger_astro.mp4 ``` -------------------------------- ### Contribute a New Example Project Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/README.md Steps to copy a project into the examples directory, remove media files, document asset needs, and commit the changes for contribution. ```bash # Copy project to examples (without large media) cp -r projects/my-project examples/ # Remove media files (these are gitignored anyway) rm examples/my-project/public/demos/*.mp4 rm examples/my-project/public/audio/*.mp3 # Create asset documentation # (describe what demos/audio are needed) # Commit and PR git add examples/my-project git commit -m "Add example: my-project" gh pr create ``` -------------------------------- ### Install and Run Sprint Review Template Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/templates/sprint-review/README.md Install dependencies, open the preview studio, and render the final video using npm commands. ```bash npm install npm run studio npm run render ``` -------------------------------- ### Install and Run Transition Showcase Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/lib/transitions/README.md Set up and launch the standalone transition showcase project to visually preview all available transitions. ```bash cd showcase/transitions npm install npm run studio ``` -------------------------------- ### Set Up Development Environment Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CONTRIBUTING.md Install project dependencies using a virtual environment. Ensure you have Python 3.6+ and pip installed. ```bash python -m venv .venv source .venv/bin/activate pip install -r tools/requirements.txt ``` -------------------------------- ### Automated RunPod Setup Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docker/runpod-qwen3-tts/README.md Automates the setup process for deploying the Qwen3-TTS worker on RunPod using a Python script. ```bash python tools/qwen3_tts.py --setup ``` -------------------------------- ### Modal Cloud GPU Setup Source: https://context7.com/digitalsamba/claude-code-video-toolkit/llms.txt Installs and authenticates the Modal CLI, deploys AI tools, and configures environment variables. Monitor usage with `modal app list` and `modal billing report`. ```bash # Install and authenticate pip install modal python3 -m modal setup # Opens browser, saves token to ~/.modal.toml # Deploy AI tools (each deploys independently; idle cost = $0) modal deploy docker/modal-qwen3-tts/app.py modal deploy docker/modal-flux2/app.py modal deploy docker/modal-image-edit/app.py modal deploy docker/modal-upscale/app.py modal deploy docker/modal-music-gen/app.py modal deploy docker/modal-sadtalker/app.py modal deploy docker/modal-propainter/app.py # Each deploy prints an endpoint URL — save to .env # .env (fill in URLs from deploy output): MODAL_QWEN3_TTS_ENDPOINT_URL=https://yourname--video-toolkit-qwen3-tts-....modal.run MODAL_FLUX2_ENDPOINT_URL=https://yourname--video-toolkit-flux2-....modal.run MODAL_IMAGE_EDIT_ENDPOINT_URL=https://yourname--video-toolkit-image-edit-....modal.run MODAL_UPSCALE_ENDPOINT_URL=https://yourname--video-toolkit-upscale-....modal.run MODAL_MUSIC_GEN_ENDPOINT_URL=https://yourname--video-toolkit-music-gen-....modal.run # Monitor usage modal app list modal billing report --for today --json python3 tools/verify_setup.py ``` -------------------------------- ### Install Dependencies and Run Build Script Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/quick-spot/README.md Installs necessary Python dependencies and then executes the build script to generate the video. ```bash # From the toolkit root (one-time — installs moviepy, Pillow, matplotlib # alongside the rest of the toolkit's optional Python deps): python3 -m pip install -r tools/requirements.txt # Then: cd examples/quick-spot python3 build.py ``` -------------------------------- ### Quick Start: Text-to-Video Generation Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/ltx2.md Basic command to generate a video clip from a text prompt. Ensure you have the LTX-2 tool installed and configured. ```bash python3 tools/ltx2.py --prompt "A cat playing with yarn in a sunlit room" ``` -------------------------------- ### Install Playwright and Browsers Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/playwright/README.md Install Playwright and necessary browser binaries for recording demos. ```bash cd playwright npm install npm run install-browsers ``` -------------------------------- ### Install ProPainter Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/optional-components.md Installs the ProPainter optional component, cloning the repository, setting up a virtual environment, and downloading model weights. ```bash python tools/dewatermark.py --status ``` ```bash python tools/dewatermark.py --install ``` -------------------------------- ### Automated Setup Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docker/runpod-realesrgan/README.md Use the provided Python script for an automated setup process. This may include building and deploying the container. ```bash python tools/upscale.py --setup ``` -------------------------------- ### Setup Python Virtual Environment for ElevenLabs Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/digital-samba-skill-demo/CLAUDE.md Set up a Python virtual environment for audio generation scripts. Installs necessary packages like python-dotenv and elevenlabs. Requires a .env file for the ElevenLabs API key. ```bash # First time setup python3 -m venv .venv source .venv/bin/activate pip install python-dotenv elevenlabs # Subsequent runs - always activate venv first source .venv/bin/activate ``` -------------------------------- ### Preview All Scene Transitions Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/README.md Navigate to the transitions showcase directory, install dependencies, and run the studio to preview all available scene transitions. ```bash cd showcase/transitions && npm install && npm run studio ``` -------------------------------- ### Verify Setup Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/skills/openclaw-video-toolkit/SKILL.md Run this script after navigating to the toolkit directory to check if all necessary components are correctly set up. ```bash cd ~/.openclaw/workspace/claude-code-video-toolkit python3 tools/verify_setup.py ``` -------------------------------- ### Install and Run Claude Code Video Toolkit Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/README.md Clone the repository, install dependencies, and launch Claude Code. The optional requirements.txt installs AI voiceover, image generation, music, and moviepy tools. ```bash git clone https://github.com/digitalsamba/claude-code-video-toolkit.git cd claude-code-video-toolkit python3 -m pip install -r tools/requirements.txt # Optional: AI voiceover, image gen, music, moviepy examples claude # Open Claude Code in the toolkit ``` -------------------------------- ### Create Project from Template Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/skills/openclaw-video-toolkit/SKILL.md Copy a project template and install its dependencies. Choose from 'product-demo', 'sprint-review', or 'sprint-review-v2'. ```bash cd ~/.openclaw/workspace/claude-code-video-toolkit cp -r templates/product-demo projects/PROJECT_NAME cd projects/PROJECT_NAME npm install ``` -------------------------------- ### Quick Start: Image-to-Video Animation Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/ltx2.md Animate a still image by providing a text prompt for motion and an input image file. The prompt guides the animation style. ```bash python3 tools/ltx2.py --prompt "Camera slowly pans right" --input photo.jpg ``` -------------------------------- ### Install and Render Remotion Video Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/digital-samba-skill-demo/VIDEO-PROMPT.md Commands to install dependencies, preview the video in the studio, and render the final output. ```bash cd ~/work/video/digital-samba-skill-demo/remotion npx create-video@latest . # If scaffolding needed npm install npm run studio # Preview npm run render # Final output ``` -------------------------------- ### SadTalker Setup Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/sadtalker.md Configure your RunPod API key and run the setup script to create the endpoint. ```bash RUNPOD_API_KEY=your_key_here ``` ```bash python tools/sadtalker.py --setup ``` -------------------------------- ### Run Moviepy Example Project Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/README.md Navigate to the directory of a moviepy example and run the build script to produce an MP4 video. No project copying is needed. ```bash cd examples/quick-spot # or examples/data-viz-chart python3 build.py # produces out.mp4 in the example directory ``` -------------------------------- ### Install boto3 for S3-Compatible Operations Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/runpod-setup.md Install the boto3 library to interact with S3-compatible storage like Cloudflare R2. ```bash pip install boto3 ``` -------------------------------- ### Install and Render Banner Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/showcase/banner/README.md Commands to install dependencies, preview the banner in Remotion Studio, and render it into MP4, GIF, and poster formats. ```bash cd showcase/banner npm install npm run studio # Preview / scrub in Remotion Studio npm run render # MP4 → out/toolkit-banner.mp4 npm run render:gif # GIF → out/toolkit-banner.gif npm run render:poster # Static PNG poster frame ``` -------------------------------- ### Install and Run Video Rendering Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/hello-world/README.md Use these npm commands to install dependencies, preview the video in a browser, and export the final video file. No external services or API keys are required. ```bash npm install npm run studio # Preview in browser npm run render # Export to out/video.mp4 ``` -------------------------------- ### Example Project Resume Session Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/lib/project/README.md Illustrates the interactive process of resuming a video project, including project selection and status overview. ```bash $ /video Found 2 video projects: 1. **product-launch** (product-demo) Phase: assets - 2/3 demos recorded Last worked: 2 days ago 2. **q4-review** (sprint-review) ✅ Complete Which project? > 1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Resuming: product-launch (product-demo) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ## Scenes | # | Scene | Type | Status | |---|-------|------|--------| | 1 | Title | title | ✅ Ready | | 2 | Problem | problem | ✅ Ready | | 3 | Demo: Onboarding | demo | ✅ Recorded | | 4 | Demo: Dashboard | demo | ✅ Recorded | | 5 | Demo: Export | demo | ⬜ Needs recording | | 6 | CTA | cta | ✅ Ready | ## Audio - Voiceover: ⬜ Not yet generated ## Next Actions 1. **Record export demo** (Scene 5) Run `/record-demo` or provide external video Ready to record the export demo? ``` -------------------------------- ### Fine-Tuned Settings Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/sadtalker.md Customizes video generation with specific pose style, expression scale, and resolution. ```bash python tools/sadtalker.py \ --image portrait.png \ --audio speech.mp3 \ --pose-style 45 \ --expression-scale 1.2 \ --size 512 \ --output custom.mp4 ``` -------------------------------- ### Install Dependencies and Build Chart Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/data-viz-chart/README.md Installs necessary Python dependencies and then builds the animated chart. The first run may take longer due to rendering. ```bash python3 -m pip install -r tools/requirements.txt ``` ```bash cd examples/data-viz-chart python3 build.py ``` -------------------------------- ### RunPod Cloud GPU Setup Source: https://context7.com/digitalsamba/claude-code-video-toolkit/llms.txt Sets up cloud GPU tools by creating serverless endpoints. Requires a RUNPOD_API_KEY in the .env file. ```bash # One-time setup per tool (creates serverless endpoint) echo "RUNPOD_API_KEY=your_key_here" >> .env python tools/image_edit.py --setup python tools/upscale.py --setup python tools/qwen3_tts.py --setup python tools/sadtalker.py --setup ``` -------------------------------- ### Project JSON Schema Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/lib/project/README.md Example structure for the `project.json` file, detailing project metadata, phase, scenes, and audio information. ```json { "name": "my-release-video", "template": "sprint-review", "brand": "digital-samba", "created": "2024-12-09T10:30:00Z", "updated": "2024-12-10T15:45:00Z", "phase": "assets", "scenes": [...], "audio": {...}, "estimates": {...}, "sessions": [...] } ``` -------------------------------- ### Install Remotion Transitions Package Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/lib/transitions/README.md Install the necessary packages for using Remotion transitions. This includes the main transitions package along with paths and shapes for advanced effects. ```bash npm install @remotion/transitions @remotion/paths @remotion/shapes ``` -------------------------------- ### Professional/Calm Style Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/sadtalker.md Creates a video with minimal head movement suitable for professional content, using the 'professional' preset and higher resolution. ```bash python tools/sadtalker.py \ --image headshot.png \ --audio presentation.mp3 \ --preset professional \ --size 512 \ --output presenter.mp4 ``` -------------------------------- ### Split Screen Layout Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/sprint-review-cho-oyu/VIDEO-SPEC.md Illustrates a side-by-side layout for screenshare demonstrations, combining iPhone and remote browser views. ```text +------------------+------------------+ | | | | iPhone View | Remote Browser | | | (Mac) | | | | +------------------+------------------+ ``` -------------------------------- ### Example Prompt: Simple Scene with Motion Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/ltx2.md A sample prompt demonstrating a simple scene with specific details about motion, lighting, and background. ```text # Simple scene with motion "A single lit candle on a dark wooden table, flame gently flickering, soft bokeh background, cinematic lighting" ``` -------------------------------- ### Manually Create a Project from Template Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/getting-started.md Manually create a new video project by copying a template, installing its dependencies, and editing the configuration file. Place demo videos in the specified directory. ```bash cp -r templates/sprint-review projects/my-video cd projects/my-video npm install ``` -------------------------------- ### Quick Start for Digital Samba Skill Demo Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/digital-samba-skill-demo/README.md Use these commands to copy the demo project, set up assets, and preview or render the video using Remotion. ```bash # Copy to your projects cp -r examples/digital-samba-skill-demo projects/my-version cd projects/my-version # Create required assets (see ASSETS-NEEDED.md) # ... # Preview cd remotion npm install npm run studio # Render npm run render ``` -------------------------------- ### Example Usage of /components Command Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/_internal/BACKLOG.md Demonstrates how to use the /components command to list all components, view specific component details, or filter components by category. ```bash /components # List all components /components Envelope # View Envelope component details /components --category animations # List animation components ``` -------------------------------- ### Install Playwright Browsers Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/_internal/reviews/playwright-review.md Installs the necessary Chromium browser for Playwright. Run this command within the 'playwright' directory. ```bash cd playwright npm install npx playwright install chromium ``` -------------------------------- ### Run Transition Gallery Showcase Source: https://context7.com/digitalsamba/claude-code-video-toolkit/llms.txt Command to open Remotion Studio and preview all transitions. Navigate to the 'showcase/transitions' directory and run 'npm install' followed by 'npm run studio'. ```bash cd showcase/transitions && npm install && npm run studio # Opens Remotion Studio with all transitions as Scene A → Scene B demos ``` -------------------------------- ### Preview and Render Manually Created Project Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/getting-started.md After manually setting up a project, use `npm run studio` to preview the video in your browser and `npm run render` to export it as an MP4 file. ```bash npm run studio ``` ```bash npm run render ``` -------------------------------- ### Remotion Transition Options Examples Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CLAUDE.md Examples of various transition effects available in the Remotion toolkit, showcasing different parameters for customization. ```tsx glitch({ intensity: 0.8, slices: 8, rgbShift: true }) // Tech/cyberpunk lightLeak({ temperature: 'warm', direction: 'right' }) // Warm celebration zoomBlur({ direction: 'in', blurAmount: 20 }) // High energy rgbSplit({ direction: 'diagonal', displacement: 30 }) // Chromatic aberration ``` -------------------------------- ### Example Prompt: Nature with Camera Motion Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/ltx2.md An example prompt focusing on nature imagery with specified camera movement and lighting conditions. ```text # Nature with camera motion "Aerial drone shot slowly flying over turquoise ocean waves breaking on a white sand beach, golden hour sunlight" ``` -------------------------------- ### Install Python Dependencies Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/skills/openclaw-video-toolkit/SKILL.md Install the required Python packages using pip. The `--break-system-packages` flag may be necessary on Debian/Ubuntu systems. ```bash cd ~/.openclaw/workspace/claude-code-video-toolkit pip3 install --break-system-packages -r tools/requirements.txt ``` -------------------------------- ### Remotion Development Server Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/digital-samba-skill-demo/CLAUDE.md Start the Remotion development server to preview and iterate on video compositions. Navigate to the Remotion directory and run the npm studio command. ```bash cd remotion && npm run studio ``` -------------------------------- ### Install and Authenticate Modal CLI Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/modal-setup.md Install the Modal Python package and authenticate your CLI with your Modal account. This saves your API token to `~/.modal.toml`. ```bash pip install modal python3 -m modal setup # Opens browser to authenticate, saves token to ~/.modal.toml modal app list # Verify it works ``` -------------------------------- ### Create Video with /video Command Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/getting-started.md Use the unified `/video` command to initiate video creation. It guides you through choosing templates, brands, and content, then plans and scaffolds the project. ```bash /video ``` -------------------------------- ### JSON Progress Output Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/skills/openclaw-video-toolkit/SKILL.md Example of the JSON Lines output format for progress reporting, showing timestamps, stages, messages, and progress percentages. ```json {"ts":"14:23:15","stage":"submit","msg":"Sending to acemusic.ai (XL Turbo 4B, thinking: on)...","pct":null,"elapsed":0.0} {"ts":"14:23:30","stage":"waiting","msg":"Waiting for acemusic.ai response... (15s)","pct":null,"elapsed":15.0} {"ts":"14:23:45","stage":"waiting","msg":"Waiting for acemusic.ai response... (30s)","pct":null,"elapsed":30.0} {"ts":"14:24:02","stage":"complete","msg":"Saved: bg-music.mp3 (245 KB, 60.1s)","pct":100,"elapsed":47.3} ``` -------------------------------- ### Transition Gallery Showcase Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/lib/transitions/README.md Instructions on how to run the standalone showcase project to visually preview all available transitions. ```APIDOC ## Standalone Showcase ### Description Preview all transitions with the dedicated showcase project. ### Usage 1. Navigate to the showcase directory: ```bash cd showcase/transitions ``` 2. Install dependencies: ```bash npm install ``` 3. Run the studio: ```bash npm run studio ``` This will open Remotion Studio, displaying a visual gallery of each transition effect. ``` -------------------------------- ### Qwen3-TTS API Input Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docker/runpod-qwen3-tts/README.md Example JSON payload for the Qwen3-TTS API, demonstrating input parameters for text, mode, speaker, language, and R2 integration. ```json { "input": { "text": "Hello, how are you today?", "mode": "custom_voice", "speaker": "Ryan", "language": "English", "instruct": "Speak warmly and enthusiastically", "output_format": "mp3", "r2": { "endpoint_url": "https://...", "access_key_id": "...", "secret_access_key": "...", "bucket_name": "..." } } } ``` -------------------------------- ### Setup: Deploy Modal App Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/ltx2.md Deploy the LTX-2 Modal application. This step downloads and bakes model weights, which may take 10-15 minutes. ```bash modal deploy docker/modal-ltx2/app.py ``` -------------------------------- ### Quick Start: Fast Mode for Quicker Generation Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/ltx2.md Utilize the 'fast' quality mode for quicker video generation at the cost of some quality. This mode uses fewer inference steps. ```bash python3 tools/ltx2.py --prompt "A rocket launch" --quality fast ``` -------------------------------- ### Installing Python Tool Dependencies Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/CLAUDE.md Command to install the necessary Python packages for the video toolkit's automation tools, typically run from the toolkit's root directory. ```bash pip install -r tools/requirements.txt ``` -------------------------------- ### Start Claude Code CLI Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/docs/getting-started.md Initiate the Claude Code command-line interface. Use the `/setup` command to configure cloud GPU, file transfer, and voice settings through an interactive wizard. ```bash claude ``` -------------------------------- ### Remotion Sprint Configuration Example Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/examples/sprint-review-cho-oyu/README.md An example TypeScript configuration object for Remotion, showing how to define sprint information and demo details. Update 'your-demo.mp4' and other fields to match your project. ```typescript export const sprintConfig = { info: { name: 'Your Sprint Name', version: '1.0.0', dateRange: 'Jan 15 - Jan 29', }, demos: [ { type: 'single', videoFile: 'your-demo.mp4', ... } ] }; ``` -------------------------------- ### Run Demo Recording Source: https://github.com/digitalsamba/claude-code-video-toolkit/blob/main/playwright/README.md Execute the recording script after configuring the demo URL and output settings. ```bash npm run record ```