CoolFace
Apppublic

Trust123123/MANIM-RENDERER

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
App README

MANIM-RENDERER (Hugging Face Space)

This Space exposes a REST API endpoint at `/render` that accepts:

  • —cinematic — cinematic JSON file (required)
  • —script — optional generated_scene.py (Manim script)
  • —scene_name — form field (default GeneratedScene)
  • —timeout_seconds — form field (default 600)

Example (curl)

bash
curl -X POST \
  -F "cinematic=@cinematic.json" \
  -F "script=@generated_scene.py" \
  https://Trust123123-MANIM-RENDERER.hf.space/render \
  --output out.mp4

Notes

  • —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_FLAGS environment 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.