Skip to main content

OpenJutsu Object Swap from ComfyUI edits named elements inside a continuous shot. Change a jacket, hair colour or product with words or a reference image; background mode instead protects the named target and replaces its surroundings. Camera movement, action and the original audio carry through.

From $0.105/s

Workbench

Input

Video editing
22/600
Describe the replacement, or the new location in background mode. Supply this or reference_image_url at minimum; both may be used together. at most 600 characters
affects price1/1

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

  • 1
1 / 1 files
Required source video with no cuts, at most 15 seconds. Its duration is the billing basis; the original audio is kept. at least 1 characters
7/120
Required short label matching the visible element, such as hair, jacket or car; separate multiple targets with commas. In background mode these are the elements to retain. at least 1 characters · at most 120 characters
Edit Mode
Change itChange the background
change (default) replaces the target; background retains it and replaces everything around it. For people kept on a new set, use people as the target.
0/1

Drop files or media links, paste, or browse · 1 file · Max 10 MB · JPG · PNG · WEBP

0 / 1 files
Optional visual reference for an outfit, hairstyle, product or location. A single-item image plus descriptive text is advisable; one whole-person reference did not reproduce the intended garment. at least 1 characters
affects price
Select 480p, 540p, 768p (default) or 1080p. Rates rise with the tier; observed landscape outputs measured 864×480, 960×544, 1376×768 and 1920×1056.
Seed
Optional whole number from 0 to 2147483647. A shared random source makes comparisons of one changed setting easier, without assuring frame-for-frame repetition. 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?

CHANGE THE DETAIL OR THE SET

Name the thing to replace—or the people to keep while their surroundings change.

Key numbers

Change or background
2 modes
Replace the named element, or keep it while replacing the surroundings.
Source maximum
15 s
Clips longer than fifteen seconds are rejected before billing.
480p–1080p
4 levels
Choose 480p, 540p, 768p or 1080p; default 768p.
Source track
Audio
The original soundtrack accompanies the edited shot.

Before you spend

All modes
  • Object editing still requires permission: use your own face or consenting adults only. Celebrity photos, acquaintances’ images and pictures found online are not authorised merely because you can access them; never impersonate or mislead.
  • Supply a single uninterrupted shot no longer than 15 seconds. Multi-shot edits are not supported, so separate the take before submitting it.
  • The hair-colour test became platinum but retained the original curls and length despite asking for short hair; colour changes can be easier than reshaping.
  • One reference-only attempt using a whole person’s portrait missed the requested garment. Prefer an image of a single item together with an explicit prompt; this is practical guidance, not a verified guarantee.
  • For object editing, the platform automatically removes about 4 frames from the start of sources around 5.17 seconds long (5.13–5.20 seconds), leaving exactly 5 seconds for processing. No manual cut is needed: the initial hold covers 6 seconds. Once processing finishes, only 5 seconds count toward the charge and the difference is available again. If a source of another length fails with a generic error, cut it to an exact whole-second length and resubmit; unsuccessful object edits are not charged.

What it does

Greenhouse portrait before left and after right at 2 seconds; the hair becomes pale while remaining curly.

FRAME COMPARISON · 00:02

Separate a colour change from a haircut

The greenhouse trial requested short platinum-blonde hair. The result changed the colour but kept much of the original curl and length. Inspect those attributes independently: a successful colour treatment does not establish that the requested cut has been achieved.

FRAME COMPARISON · 00:02

Inspect the neighbour of the target

Cellar toast before left and after right at 2 seconds; the woman’s top is replaced by a white shirt beside the other person.

In the cellar trial, blouse is the selected target and a white linen shirt is the requested replacement. Compare the woman’s garment with the nearby man and the raised glasses. This isolates the wardrobe edit for review without assuming every unselected pixel will be identical.

Cellar toast on the left and the same pair against a night rooftop city setting on the right, at 2 seconds.

FRAME COMPARISON · 00:02

Name what stays when the setting changes

For background mode, people is the protected target and the prompt describes a night-time rooftop terrace. The cellar example keeps the pair and their glasses while replacing the surroundings with city lights. Check the people’s outlines and the spaces around their arms where the old setting meets the new one.

Made with OpenJutsu Object Swap

  • 480p, 480×864: t-shirt → a bright yellow hoodie kept the routine; the visible result looks like a short-sleeved yellow top.
    4s
  • 480p: jacket → a black leather biker jacket, with the car and reading action retained.
    4s
  • 480p: hair → short platinum blonde hair changed colour, but not the original length or curl.
    8s
  • Eight seconds at 480p: blouse → a white linen shirt changed her shirt while the man stayed as filmed.
    8s
  • 480p: trench coat → a glossy red leather jacket.
    4s
  • 768p, eight seconds: background mode with people preserved both adults and their glasses while replacing the cellar with a nighttime rooftop.
    8s

Where it fits

  • Wardrobe alternatives

    Compare a leather jacket or linen shirt on an authorised adult performer’s take.

  • Hair colour studies

    Try platinum colouring, while checking whether the original length and curl remain.

  • A new setting for the cast

    Keep people and their glasses while moving a cellar toast to a rooftop at night.

  • Brand object concepts

    Explore a replacement product in an existing shot using an item reference and a clear description; check the result before campaign use.

Model reference

OpenJutsu Object Swap API reference

OpenJutsu Object Swap API specifications

Publisher
ComfyUI
Endpoints
video-edit
Inputs
Video + target + prompt and/or one reference image
Source clip
One take; maximum 15 seconds
Resolution
480p / 540p / 768p by default / 1080p
Audio
Source soundtrack preserved
Execution
Asynchronous task; billing follows input duration

How to call the OpenJutsu Object Swap API

  1. Confirm your right to edit

    Check permission for every face and every uploaded photo or video; all depicted people must be adults aged 18 or over.

  2. Name what changes or stays

    Use a short visual label in edit_target. Select change to replace it, or background to keep it and rebuild the surrounding scene.

  3. Describe the destination look

    Provide prompt, reference_image_url, or both. For background mode describe the new location; for a garment, try an isolated item reference plus clear text.

  4. Inspect a draft

    Submit a short shot and review the target, nearby details and sound after the asynchronous task finishes.

The short version

Choose a visible target rather than a vague instruction, then decide whether that target changes or stays. OpenJutsu Object Swap gives wardrobe, hair-colour and setting experiments a shared source performance and sound; compare the returned detail against your request, especially with image references or changes to hair length.

OpenJutsu Object Swap API questions

All OpenJutsu models2