remotion

Installation
SKILL.md

Rendering

bun /root/code/render-video-modal.ts \
  --entry-file src/index.ts \
  --composition <CompositionId> \
  --output output/video.mp4 \
  --props '{"key": "value"}'

The script automatically:

  1. Bundles the Remotion project locally

  2. Uploads the bundle to R2

  3. Submits to Modal GPU for rendering

  4. Polls until complete, then copies the result back

  5. Reuse the existing project — don't re-scaffold The Remotion project lives at /root/code/src/ with node_modules already installed. For new videos, write new compositions there directly. Never run npm install or bun install unless dependencies are actually missing.

Installs
7
First Seen
Mar 4, 2026