Skip to main content

comfyui/openjutsu-character-swap/video-edit

OpenJutsu Character Swap by ComfyUI replaces whole people from 1–4 character images: face, hair, clothing and build. The source supplies the scene, camera movement, actions and original audio. Assign each image with one prompt line, or let the tool match people automatically.

From $0.105/s

Workbench

Input

Video editing
79/600
Optional role assignment: one person per line, matching image order, for example the woman in black on the left. Empty means the main person for one image, or appearance order for several, left to right when simultaneous. Unmatched images are ignored; unmentioned people remain. at most 600 characters
affects price1/1

Drop a video here, or browse · 1 file · Max 90 MB · MP4

  • 1
1 / 1 files
Required MP4 source, one continuous take up to 15 seconds. Every replacement target must be visible in the opening frame. at least 1 characters
2/4

Drop files or media links, paste, or browse · Up to 4 files · Max 10 MB · JPG · PNG · WEBP

  • 1
  • 2
2 / 4 files
Required array of 1–4 photos, illustrations or 3D renders; each image supplies one character. Prefer full-body views. at least 1 items · at most 4 items
affects price
480p, 540p, 768p or 1080p; default 768p. Higher tiers increase the source-second rate. Observed landscape sizes: 864×480, 960×544, 1376×768, 1920×1056.
Seed
Optional integer, 0–2147483647. Hold the random source steady to compare one changed input at a time; it does not guarantee identical frames. no lower than 0 · no higher than 2147483647
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run

Related models and next tasks

Missing the model you need?

RECAST THE WHOLE CHARACTER

One take, up to four new characters, with the original performance still leading.

Key numbers

Character images
1–4
One image represents one replacement; photos, illustrations and 3D renders are accepted.
Continuous take
15 s
Use a single shot with the intended people visible in its opening frame.
480p to 1080p
4 tiers
All four resolution options have succeeded in testing; 768p is the default.
Observed processing
1–4 min
Our character swaps took roughly one to four minutes per task.

Before you spend

All modes
  • Character replacement needs consent for both the source and the intended scene. Public portraits, celebrities and acquaintances are not available for use without permission; do not put real people into scenes they have not approved.
  • The input must be one continuous MP4 take of no more than 15 seconds, with targets visible in the first frame; edited sequences with cuts are unsupported.
  • Reference clothing is guidance, not an exact wardrobe guarantee: one adult photo reference produced a white long dress rather than the pictured outfit.
  • For character recasting, sources of about 5.17 seconds (5.13–5.20 seconds) are automatically trimmed to exactly 5 seconds before processing, removing about 4 opening frames. You do not need to trim them yourself; billing uses 5 seconds. The unused portion of the initial 6-second hold returns to your available balance. For other source lengths, if a generic error occurs, trim to an exact whole-second duration and retry; failed recasting tasks are free.
  • Allow for timing differences: our 5-second sources returned about 4.5 seconds, while an 8-second source returned 8 seconds.

What it does

Source left and two-character replacement right, showing two cyclists on the same street at 2 seconds.

FRAME COMPARISON · 00:02

Make the image order do useful work

In the two-rider trial, the first reference is assigned to the blue-shirted rider on the left and the second to the red-shirted rider on the right. Keep those descriptions on separate prompt lines in image order. Compare each rider separately rather than treating a changed crowd as proof that both assignments landed.

FRAME COMPARISON · 00:02

Judge the silhouette as well as the face

Source dancer in a grey studio left; red-haired comic-style character in the matching pose right, at 2 seconds.

The studio trial uses a drawn red-haired heroine to recast a filmed adult dancer. Hair and costume change across the body while the source pose guides the performance. Inspect sleeves, waist and hair during movement; an attractive face alone cannot establish that the full character treatment works.

A later source and result pair from the two-rider street clip, at 3 seconds, with the source on the left.

FRAME COMPARISON · 00:03

Check the tail of a short take

This later frame returns to the same two-rider trial at 3 seconds. Compare the bicycles, spacing and street alongside the new characters, then play through the ending: this five-second source produced roughly four and a half seconds. Plan edits from the delivered duration instead of padding the preview to imply equal lengths.

Made with OpenJutsu Character Swap

  • 480p: two images and two role lines replaced both riders while bicycles, street and tram remained.
    4s
  • 768p, 1376×768: the same two references were matched automatically without role lines.
    4s
  • A comic heroine reference changed hair and clothing while following the dancer’s routine; 480p, 864×480.
    4s
  • 1080p, 1920×1056: the comic heroine replaced the man leaning on the car; scene and action remained, about four minutes of processing.
    4s

Where it fits

  • Recast a short drama

    Explore a different cast on an authorised actor’s existing performance.

  • Two riders, two roles

    Assign two character images to two riders while their bicycles and street remain in the shot.

  • Drawn character, filmed movement

    Use a comic or 3D character reference for an adult performer’s routine.

  • Social and advertising variants

    Compare fictional spokescharacters against the same camera move and action.

Model reference

OpenJutsu Character Swap API reference

OpenJutsu Character Swap API specifications

Publisher
ComfyUI
Endpoints
video-edit
Inputs
MP4 + 1–4 character images; optional role lines
Source clip
Single shot, at most 15 seconds
Resolution
480p / 540p / 768p (default) / 1080p
Audio
Original source audio retained
Execution
Asynchronous; source seconds determine billing

How to call the OpenJutsu Character Swap API

  1. Check permission before casting

    Confirm rights to the footage and every likeness; everyone depicted must be 18 or older. Use yourself, actors with signed permission, or fictional characters you generated.

  2. Line up the character images

    Supply 1–4 images, preferably full body. Write one line per image, in the same order, identifying the person it replaces.

  3. Run a short casting trial

    Select a resolution, submit the clip, and inspect the returned video for character identity, outfit and timing before publishing.

The short version

Prepare an authorised single take, place character images in order, and decide whether role lines are needed. OpenJutsu Character Swap keeps the source performance, setting and sound as the basis for a new cast; inspect the returned identity, clothing and slightly variable duration before sharing.

OpenJutsu Character Swap API questions