Genjustsu
Local web UI and agent workflow that replaces characters or objects in your own video with Seedance, using depth maps, SAM 3 masks or a face mesh.
Genjustsu (TEIN, first released 6 Oct 2026, ~1.3k stars, last commit 8 Oct 2026) is a Python/FastAPI app that runs on localhost. Upload a clip and it builds a depth and SAM 3 mask composite or a face mesh, gates generation behind your mask review, sends it with your character references to Seedance through Enhancor, and puts the original soundtrack back. Depth, segmentation and vocal isolation run on Replicate, and clips are uploaded to public temp hosts. Both Enhancor and Replicate are paid APIs. Tested only on macOS. Code MIT; TEIN artwork excluded.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Partly. The UI, compositing and audio work run on localhost; depth, segmentation, vocal isolation and generation are remote API calls | github.com | Checked 5 weeks ago |
| Code licence | Open source. MIT | github.com | Checked 5 weeks ago |
| Commercial use | With conditions. MIT code allows commercial use; TEIN names, logos, the companion artwork shown in the UI and the example videos are excluded, and Enhancor and Replicate terms apply to generations | github.com | Checked 5 weeks ago |
| Paid services needed? | Required. Needs your own Enhancor API key (Seedance generation) and Replicate token (depth, SAM 3 masks, Demucs), both paid per use; cloudflared tunnel and Tmpfiles or Catbox hosting are free. No prices documented | github.com | Checked 5 weeks ago |
| Hardware | No GPU or local model weights needed for the default hosted setup; Python 3.12+ and the Rubber Band CLI are required | github.com | Checked 5 weeks ago |
| Operating systems | macOS (the only live-tested install) and Linux launch scripts; Windows only through WSL2 | github.com | Checked 5 weeks ago |
| Setup effort | Hard; install Python, Rubber Band and cloudflared, run setup.sh, add API keys and keep a webhook tunnel running, or ask a coding agent to follow the bundled setup runbook | github.com | Checked 5 weeks ago |
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow Genjustsu and we email you if its terms change.
What it replaces, job by job
| Paid tool | Jobs | How far it goes |
|---|---|---|
| Higgsfield $19/month |
| 1 of 3 jobs. Recasts characters or objects in your own clip with Seedance, like Higgsfield's Genjutsu, but needs paid Enhancor and Replicate keys and works best on one centred speaker; no text-to-video or image generation. |
Stars over time
Building history +61 stars this week. Too early to say if that’s fast or slow for it: that needs five weeks of daily counts. Stars show attention, not quality. Where these numbers come from.