Trust123123/MANIM-RENDERER
0
MANIM-RENDERER (Hugging Face Space)
This Space exposes a REST API endpoint at `/render` that accepts:
cinematic— cinematic JSON file (required)script— optionalgenerated_scene.py(Manim script)scene_name— form field (defaultGeneratedScene)timeout_seconds— form field (default600)
Example (curl)
curl -X POST \
-F "cinematic=@cinematic.json" \
-F "script=@generated_scene.py" \
https://Trust123123-MANIM-RENDERER.hf.space/render \
--output out.mp4Notes
- This Space runs in Docker and uses Manim to render.
- If you plan to allow heavy renders or many concurrent jobs, consider using external storage (S3) and a worker queue.
- Set
MANIM_CLI_FLAGSenvironment variable in Space settings to change Manim quality flags (default:-pql).
If you need a more detailed README or examples for integrating with Flask/n8n, I can add them below.
