# Genjustsu

> 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.

- Repository: https://github.com/sirioberati/Genjustsu-Open-Source-Workflow
- Official docs: https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#readme
- Checked: 2026-10-29

## What it replaces
- Higgsfield: Character and object replacement in existing video (partial). 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.
  - Use it instead of paying for Higgsfield? Personal use: Partly (Runs locally only in part: The UI, compositing and audio work run on localhost; depth, segmentation, vocal isolation…; Needs something paid: Enhancor Seedance API, Replicate API). Business: Partly (Commercial use with conditions: MIT code allows commercial use; TEIN names, logos, the companion artwork shown in the UI…).

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Partial | The UI, compositing and audio work run on localhost; depth, segmentation, vocal isolation and generation are remote API calls | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#recovery-and-checks | 2026-10-29 |
| Code licence | Confirmed | MIT | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow/blob/main/LICENSE | 2026-10-29 |
| Model weights licence | Confirmed | No model weights of its own; Seedance, Demucs, Depth Anything and SAM 3 run as hosted models under their own terms | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#sharing | 2026-10-29 |
| Commercial use | Partial | 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 | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#license | 2026-10-29 |
| Paid services needed? | No | 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 | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#manual-setup | 2026-10-29 |
| Hardware | Confirmed | No GPU or local model weights needed for the default hosted setup; Python 3.12+ and the Rubber Band CLI are required | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#manual-setup | 2026-10-29 |
| Operating systems | Partial | macOS (the only live-tested install) and Linux launch scripts; Windows only through WSL2 | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#easiest-setup-let-your-coding-agent-install-it | 2026-10-29 |
| Setup effort | Confirmed | 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 | https://github.com/sirioberati/Genjustsu-Open-Source-Workflow#easiest-setup-let-your-coding-agent-install-it | 2026-10-29 |

GitHub: 1716 stars, 401 forks, last push 2026-10-08, archived: no.

## Related projects (they do other jobs)
- [MoneyPrinterTurbo](https://repoquarry.dev/projects/moneyprinterturbo.md): Turns a topic or keyword into a finished short video with an AI script, voiceover, stock footage, subtitles and music. WebUI, API and CLI.
- [HyperFrames](https://repoquarry.dev/projects/hyperframes.md): HeyGen's open-source framework that renders HTML, CSS and animations into MP4 video, built for AI coding agents to write.
- [Remotion](https://repoquarry.dev/projects/remotion.md): Make videos programmatically with React components, by hand or with a coding agent, and render them locally or in the cloud.
- [Hypit](https://repoquarry.dev/projects/hypit.md): Agent skill and CLI that lets Claude Code or Codex copy a reference video's structure, or write one from a brief, and render it with new footage and captions.
- [VideoLingo](https://repoquarry.dev/projects/videolingo.md): Makes translated subtitles for a video and can add an AI-dubbed voice track, using local speech recognition and an LLM you choose.
- [Pixelle-Video](https://repoquarry.dev/projects/pixelle-video.md): Topic-to-short-video engine that writes the script, generates AI images or clips through ComfyUI or APIs, adds voice and music.
---
Source: RepoQuarry (https://repoquarry.dev/projects/genjutsu). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
