---
title: "Openjutsu Brings Open-Source Character Swaps to Local GPUs"
subtitle: "Openjutsu brings Higgsfield-style one-click character and object swaps for video to local GPUs, running MiniMax H3 and SAM 3.1 through ComfyUI."
url: "https://alphasignal.ai/news/openjutsu-brings-open-source-character-swaps-to-local-gpus"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-10-30T07:49:51.000Z"
updated: "2026-11-01T06:18:49.461Z"
type: "Repo"
topics:
  - "Video"
  - "Open Source"
subtopics:
  - "Video Generation"
  - "Video Editing"
upvotes: 608
source_url: "https://github.com/D3voz/openjutsu"
comments: 0
truncated: true
---

# Openjutsu Brings Open-Source Character Swaps to Local GPUs

> Openjutsu brings Higgsfield-style one-click character and object swaps for video to local GPUs, running MiniMax H3 and SAM 3.1 through ComfyUI.

[Openjutsu](https://github.com/D3voz/openjutsu) is an open-source alternative to Higgsfield’s hosted Genjutsu character-swap product. A user supplies a source video and one or more reference photos, then the app replaces people in the footage while preserving camera movement, cuts, body motion, and the original audio track.

Processing runs locally through a thin Next.js front end connected to ComfyUI workflows. MiniMax H3 generates video, SAM 3.1 tracks people, and Qwen3-VL 8B describes images and shots before writing prompts. The application code uses the MIT license, although some face-repair dependencies have more restrictive terms.

## Three models, one local stack

__Core Openjutsu components__
| Layer               | Component                                            | Purpose                                                                 |
| ------------------- | ---------------------------------------------------- | ----------------------------------------------------------------------- |
| Interface           | Next.js                                              | Collects videos, reference images, prompts, and workflow settings.      |
| Orchestration       | [ComfyUI](https://github.com/comfyanonymous/ComfyUI) | Runs the node-based generation and post-processing workflows.           |
| Video generation    | MiniMax H3                                           | Renders the replacement character from the source motion and edit mask. |
| Tracking            | SAM 3.1                                              | Finds and follows people or objects across frames.                      |
| Image understanding | Qwen3-VL 8B                                          | Labels tracked subjects, describes shots, and produces prompts.         |

## Four ways to rewrite a clip

Openjutsu maps each editing mode to a separate ComfyUI workflow file, giving developers distinct pipelines to inspect and modify.

* **Simple motion transfer:** Replaces the largest person in the frame with the character from one reference photo.
* **Advanced motion transfer:** Handles one to four characters, each with an optional role. It matches tracked people to those roles for every shot and leaves unmatched people unchanged. A Montage tab supports edited clips in which different people take turns appearing within a shot.

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [D3voz/openjutsu](https://github.com/D3voz/openjutsu)
- [SolarRenderer on Hugging Face](https://huggingface.co/Enderfga/SolarRenderer)
- [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
