API
Two render engines, one API. Pass engine on POST /video/request, or leave it on auto.
| engine | Best for |
|---|---|
auto | Default. Router picks based on the prompt. |
manim | Math, physics, LaTeX, graphs, geometric proofs |
remotion | Charts, timelines, cards, typography-heavy explainers |
Use this unless you already know. Wrong forced engines waste time — Remotion struggling with a 12-step derivation, or Manim fighting a dashboard layout.
curl -sS -X POST "$MANIMOTION_API/video/request" \
-H "Content-Type: application/json" \
-H "x-api-key: $MANIMOTION_KEY" \
-d '{
"prompt": "Derive the quadratic formula with TransformMatchingTex steps",
"engine": "manim"
}'{
"job_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "queued",
"cached": false,
"video_url": null,
"engine": null
}curl -sS -X POST "$MANIMOTION_API/video/request" \
-H "Content-Type: application/json" \
-H "x-api-key: $MANIMOTION_KEY" \
-d '{
"prompt": "Compare HTTP vs WebSockets with a clean timeline of use cases",
"engine": "remotion",
"duration": 60
}'{
"job_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "queued",
"cached": false,
"video_url": null,
"engine": null
}Full request fields → API reference.