Documentation Index
Fetch the complete documentation index at: https://docs.open-animate.com/llms.txt
Use this file to discover all available pages before exploring further.
animate.json in the current directory.
Options
| Flag | Description | Default |
|---|---|---|
--out <path> | Output file path | out/{compositionId}.mp4 |
--fps <n> | Frames per second | from animate.json (30) |
--res <WxH> | Resolution (e.g. 1920x1080) | from animate.json |
--codec <codec> | Video codec: h264, h265, vp8, vp9 | from animate.json (h264) |
--props <json> | Input props as JSON string | from animate.json |
--composition <id> | Composition ID override | from animate.json |
--cloud | Render in the cloud (requires auth) | false |
animate.json reference
Every Open Animate project has ananimate.json at the root:
| Field | Type | Default | Description |
|---|---|---|---|
name | string | required | Human-readable name |
compositionId | string | required | Must match <Composition id="..."> in Root.tsx |
render.fps | number | 30 | Frames per second |
render.width | number | 1920 | Video width in px |
render.height | number | 1080 | Video height in px |
render.codec | string | "h264" | h264, h265, vp8, vp9 |
render.crf | number | 18 | Constant Rate Factor (quality) |
props | object | {} | inputProps passed to the composition |
CRF (Constant Rate Factor) controls video quality vs file size. Lower values = higher quality but larger files.
18 is visually lossless for most content. Use 23 for smaller files, or 12-15 for maximum quality.Common resolution presets
Examples
Basic render
Override resolution and codec
Pass input props
Cloud render
remotion bundle, uploads it, and streams progress. The rendered video is downloaded to your output path when complete. See Cloud Rendering for details.