← Back to Leaderboard
Gsirioberati

sirioberati/Genjustsu-Open-Source-Workflow

Local video workflow for subject replacement with hosted Seedance generation

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
B+ · 73/100
Maintenance Activity
● Updated 1mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption21/25
Release Cadence6/20
License Clarity20/20
Self-HostedAPI
Total Stars
★ 1,726
24h Growth
+3
7d Growth
+36
Forks
401

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

sirioberati/Genjustsu-Open-Source-Workflow Star History (2026-10-06 - 2026-12-03) DAILY STAR HISTORY (37-DAY D1 TELEMETRY) +1.7k in 58d · avg +30/day 1.8k 912 0 2026-10-06: ★ 12026-10-10: ★ 5092026-10-17: ★ 9912026-10-24: ★ 1,1842026-10-31: ★ 1,3452026-11-04: ★ 1,4182026-11-08: ★ 1,4582026-11-12: ★ 1,5502026-11-16: ★ 1,5952026-11-20: ★ 1,6302026-11-24: ★ 1,6612026-11-28: ★ 1,7062026-12-03: ★ 1,726 ★ 1.7k 10-06 11-04 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Genjustsu is a local, single-user Python application that orchestrates remote video inference rather than serving the generation models itself. FastAPI and Uvicorn serve an HTML/CSS/vanilla JavaScript UI; workflow.py provides CLI operations for preparation, status and recovery. PyAV, NumPy, Pillow, OpenCV and SciPy support local media processing. The hosted path uses Replicate for Demucs vocal isolation, colored depth and SAM 3 segmentation, and Enhancor for Seedance generation.

The key boundary is between preparation and paid submission: approval is tied to the hashes of the reviewed artifacts, so it applies to a specific set of inputs rather than to the job in general. An optional MediaPipe Face Landmarker runs in a separate Python 3.12 worker environment. Job state is persisted locally; polling determines completion even when the required provider callback is delayed. The agent runbook and skill can guide a user-supplied coding agent through visual QA and CLI operations, but no agent service is bundled.

Key Capabilities & Differentiators

The advanced path normalizes working video to 24 fps and up to 960 pixels, preserves the returned depth colors, and uses SAM 3 per-frame PNG masks to composite the depth-rendered subject over the original background. The mask must be inspected across the full clip for alignment, coverage and spill. Fast face mesh skips depth and SAM entirely; combined mode tracks the original frames and overlays facial geometry onto the depth composite. The mesh modes are experimental and tuned for a single centered speaker.

All modes isolate vocals with Demucs and use Rubber Band to pitch them up three semitones without changing duration. Seedance receives the prepared MP4 with the processed vocals embedded, not a separate audio file. Still-image references use Edit, while video identity references use Omni (multi_reference). Draft and 1080p outputs remain separate, with explicit approval required for the HD step. Final outputs discard generated audio and restore the entire source soundtrack.

Trade-offs & Limitations

Compared with integrating Seedance directly, Genjustsu adds reusable preprocessing, review of intermediate artifacts, a separate HD approval step and consistent source-audio restoration. That is useful when those stages would otherwise be manual, but it brings more setup and more failure points across providers. Compared with an offline editing pipeline, the hosted design removes the need for local generation hardware but introduces paid API calls, network dependencies and third-party handling of media.

Localhost is the app boundary, not the media privacy boundary: Tmpfiles and Catbox both expose media through public URLs, and the configured Catbox fallback is persistent. Recovery resumes collection for saved jobs rather than resubmitting paid requests; ambiguous timeouts require checking provider state before retrying. Keep one collector per job, and add authentication and a durable worker queue before considering public hosting. MIT covers the code and documentation, not the examples, TEIN artwork or third-party services.

Hardware & Deployment Guide

Install Python 3.12+, the Rubber Band CLI and, unless you already have a public HTTPS webhook receiver, cloudflared. bash setup.sh creates .venv and prepares .env; hosted processing requires funded or enabled accounts with ENHANCOR_API_KEY and REPLICATE_API_TOKEN. The optional Hugging Face depth route can use HF_TOKEN. For mesh modes, bash setup-face-mesh.sh creates .venv-face with a Python 3.12 interpreter; the Google Face Landmarker model downloads on first use.

Start with bash start.command, open http://127.0.0.1:8770, and verify readiness with .venv/bin/python doctor.py --require-keys. The launcher starts a callback-only Cloudflare Quick Tunnel unless ENHANCOR_WEBHOOK_URL is configured. The default path needs no local GPU but is not offline; local capacity needs depend on clip size, frame processing and intermediate files. Native Windows users are directed to WSL2. No GitHub release is listed; live validation covered macOS ARM64 with Python 3.14.6, a draft-to-1080p run and a browser download. Other OS installations and the optional Catbox route were not live-tested.

Runtime: FastAPI/Uvicorn serves a vanilla JavaScript UI; workflow.py provides CLI preparation, status and collection recovery.
Preparation: Choose colored depth plus SAM 3, local face mesh without depth or SAM, or a combined depth-and-mesh composite.
Review integrity: Approvals bind to artifact hashes, with full-clip review of masks or facial tracking as required by the mode.
Audio path: Rubber Band pitches isolated vocals up three semitones without changing duration; final exports restore the complete source soundtrack.
Generation routing: Seedance Edit handles image references; Omni handles video identity references; 1080p requires explicit approval.
Recovery: Saved jobs resume result collection, not submission; polling remains authoritative if callbacks are delayed.
Best For

Solo creators and prototyping teams replacing video subjects with media they are authorized to upload, who want full-clip review, a draft checkpoint and the original soundtrack in the export.

Skip If

You need offline inference, cannot expose media through public URLs, require validated tracking for complex multi-person scenes, or need a production-ready multi-user service.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedAPI
.venv/bin/python doctor.py --require-keys
.venv/bin/python test_composite.py
.venv/bin/python -m unittest discover -s tests
.venv/bin/python workflow.py status LOCAL_JOB_ID
.venv/bin/python workflow.py resume LOCAL_JOB_ID
.venv/bin/python workflow.py resume LOCAL_JOB_ID --hd

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Genjustsu-Open-Source-Workflow ★1.7k+36PythonMITLocal video workflow for subject replacement with hosted Seedance generation
ComfyUI149.9k+945PythonGPL-3.0A node-graph engine for building and running multimodal AI workflows locally
MoneyPrinterTurbo147.5k+1.7kPythonMITA self-hosted Python pipeline that turns topics into short videos
OpenMontage85.5k+1.6kPythonAGPL-3.0Agent-led video production from brief to finished edit

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/sirioberati/Genjustsu-Open-Source-Workflow.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

sirioberati/Genjustsu-Open-Source-Workflow Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Genjustsu-Open-Source-Workflow

How does a prepared clip reach Seedance, and does the UI need to be public?

Image references go to Seedance Edit; video identity references go to Omni (multi_reference). Both receive a prepared MP4 with pitched vocals embedded, not a separate audio input. A public HTTPS callback is required for Enhancor, but polling is authoritative for job completion and the UI can stay on localhost.

Do I need a GPU, and what should I size the workstation for?

The default hosted workflow needs no local GPU or model weights. Local sizing is driven by decoding, encoding, frame processing and intermediate media storage. Mesh modes add local MediaPipe inference in a separate Python 3.12 environment and download model assets on first use. No fixed RAM, VRAM or throughput requirement is established.

Can I use the MIT-licensed app for commercial client work?

The code and documentation are MIT-licensed, but the example videos and TEIN artwork are excluded. Hosted models and providers retain their own licenses and terms. Before using it with client footage, confirm that the material can be uploaded to the configured services and that their access and retention policies are acceptable. Disabling Catbox fallback does not make Tmpfiles links private.

When is a direct Seedance integration a better choice?

Compared with calling Seedance directly, Genjustsu supplies reusable preprocessing, artifact-bound review, draft-to-HD approval, job collection and soundtrack restoration. Direct integration is a better fit if those stages are already covered by your own editor or backend, or if you need to own the production queue and access controls.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining sirioberati/Genjustsu-Open-Source-Workflow? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature sirioberati/Genjustsu-Open-Source-Workflow on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare