---
id: 17531
lang: en
title: "Comfy Org releases Openjutsu: swapping a person in video costs $0.12 per 5 seconds"
published_at: "2026-10-27 16:43:52"
source_name: "TG: @neurogen_news (Neurogen)"
source_url: "https://t.me/neurogen_news/3205"
canonical_url: "https://news.hamidun.com/en/news/17531"
categories: ["research", "creative"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Comfy Org releases Openjutsu: swapping a person in video costs $0.12 per 5 seconds

> **Краткая суть (BLUF):** Comfy Org has released Openjutsu, an app and guide that replace the person in a clip with a hero from a single photo, keeping the scene, performance and original audio. Five seconds of 480p video takes about two minutes on an RTX PRO 6000 GPU rented at $3.49 per hour, which works out to roughly $0.12 per clip. The main value is a detailed guide for building this pipeline yourself. For a pilot, spin up a deployment sized for a batch of clips and shut it down afterward, because idle time is billed too.  • GPT Image 2.5 inserts the hero into the clip's first frame before the swap • The deployment weighs about 46 GB, and testing was done only on an RTX PRO 6000 with 96 GB • A worker left running overnight costs about $84 per day

Imagine a finished video where you need to replace an actor with a different character, without reshooting the scene and without losing the voice. Until recently, this was work for a VFX studio. Now Comfy Org has shown how to build such a service yourself. The project is called Openjutsu. You upload a clip and a single photo of the hero, choose a segment between 5 and 15 seconds, and get the same segment with a different person. The scene, the performance and the original audio stay intact. The price in the headline is simple arithmetic: an RTX PRO 6000 GPU on the Comfy platform costs $3.49 per hour, five seconds of 480p video take about two minutes to process, which comes to roughly $0.12 of pure GPU time. The authors stress that the main value here is the guide, not the interface itself.

## What Openjutsu does

The app is built on Next.js (TypeScript), and all generation runs in Comfy's cloud. Only the interface runs locally. You can try it without installing anything: the app is hosted at comfy.org, which also offers four ready-made examples. The code and instructions are published in the Comfy-Org/comfy-openjutsu repository.

For a developer, this is a template showing how to combine three things in one service: isolating a person in the frame, a video model that understands both the image and the audio, and an image generator for the starting frame.

## How the pipeline works

The core is the MiniMax H3 video model in ref2va mode. It takes both the source video and the audio as a reference, so the timing of speech and movement is preserved. The rest of the chain works as follows:

- The SAM 3.1 model finds the largest person in the first frame and builds their mask (the outline to be replaced), expanded by 64 pixels;
- Video is generated in windows of 124 frames, 18 of which are taken from the previous window so that the seam between chunks is not noticeable;
- Settings are tuned for speed: 8 generation steps, CFG 1, the er_sde sampler, plus two LoRAs (small add-on models): character swap v1.5 and a turbo variant for 8 steps;
- Resolution is limited to 480p or 768p.

The prompt is hard-coded in the app: "Replace the selected person with the character. Preserve the source performance, scene and audio timing". You can add your own instruction on top of it, up to 500 characters.

The most interesting detail is the "anchor frame." Before the swap, GPT Image 2.5 inserts the character directly into the clip's first frame via Comfy Router, and the replacement starts from that image. As a result, the model's clothing and face do not have to be built from scratch; it continues the motion from a finished look. It is like inking an animation from a finished reference frame rather than inventing the hero anew in every shot.

## What you need and what it costs

Deployment requires a Comfy Developer Platform account with an API key and seven files totaling about 46 GB. These include the main DiT video model in int8 (~21 GB), the Qwen3-VL 32B text encoder in nvfp4 (~15.7 GB), two VAEs, SAM at 1.75 GB, and two LoRAs. You also need a patched set of nodes from Akatz Labs under the GPL-3.0 license. For a commercial product, check the license in advance.

The authors ran everything on an RTX PRO 6000 with 96 GB of memory. They did not test smaller configurations, so running it on consumer cards remains unverified.

Costs break down as follows:

- The GPU costs $3.49 per hour;
- Five seconds of 480p video on a warm worker take about 2 minutes, or roughly $0.12;
- The anchor frame through GPT Image 2.5 is billed separately;
- The deployment keeps running until you stop it, and idle time is billed as well.

The last point matters most. If you leave a worker running overnight, it adds up to about $84 per day with zero output. For a prototype, it makes sense to spin up a deployment for a specific batch of clips and shut it down right away.

## Why it matters for product teams and developers

Openjutsu suits teams making advertising videos, localization work, virtual presenters or game clips. It lets them quickly test an idea on short segments of up to 15 seconds. However, 480p and 768p resolution, dependence on an expensive GPU and Comfy's cloud still rule out mass production. As a learning and pilot project, the stack looks convincing, and the guide saves weeks of assembly work.

---
- **Первоисточник:** [TG: @neurogen_news (Neurogen)](https://t.me/neurogen_news/3205)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/17531
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
