Pricing
Compare models →Pricing is based on the input video duration, selected resolution, and number of character images. Billing is per second of input video, and the per-second rate depends on the resolution.
Price by resolution and video duration (1 character image)
| Resolution | 3 s or shorter (video.seconds=3) | 5 s | 10 s | 15 s or longer |
|---|---|---|---|---|
| 480p | ||||
| 540p | ||||
| 768p (default) | ||||
| 1080p |
Price per extra second of video
Each whole second of video beyond the first 3 seconds adds the following, up to 15 seconds:
| Resolution | Each extra second (4 s minus 3 s) |
|---|---|
| 480p | |
| 540p | |
| 768p | |
| 1080p |
Character images
Each additional character image adds $0.02 $0.01 (2 images minus 1 image).
| Configuration | Price |
|---|---|
10 s at 768p, 1 image (images.count=1) | |
10 s at 768p, 2 images (images.count=2) | |
10 s at 768p, 3 images (images.count=3) |
Videos shorter than 3 seconds are billed as 3 seconds. Videos longer than 15 seconds use and bill only the first 15 seconds.
Input schema
| Parameter | Type | Description |
|---|---|---|
videoRequired | string | URL of the source video. The people in it are replaced by your characters; the scene, motion and original audio are kept. Use a single shot with a person in the first frame. The output follows the video's length, up to 15 seconds. |
imagesRequired | array | URLs of the character pictures, one per person to replace (up to 4). With one picture and no roles, the most prominent person is replaced. With several, or with roles, only the people you describe are replaced and everyone else stays as filmed. A picture nobody in the video matches is left out.Items: 1–4JSON schema{
"items": {
"type": "string"
}
} |
roles | array | Optional. One short description per picture, in the same order, saying who it replaces, for example "the woman in black on the left". Leave it out and the pictures go to the people in the order they appear in the video, or from left to right when they are on screen together.Items: 0–4JSON schema{
"items": {
"type": "string"
}
} |
resolution | string | Output resolution. The price per second rises with it.480p540p768p1080p"768p" |
seed | integer | The random seed to use for the generation. A negative value means a random seed will be used. |
README
Genjutsu Character Swap (OpenJutsu)
Genjutsu Character Swap (OpenJutsu) replaces people in an existing video with characters from reference images while preserving the original scene, camera movement, performance, and audio.
Use one image to replace the most prominent person, or provide multiple images with role descriptions to control which people should be replaced.
Why Choose This?
- Character replacement — Replace people in an existing video with characters from reference images.
- Up to 4 character images — Replace multiple people in the same scene.
- Role-based matching — Describe who each reference image should replace.
- Performance preserved — Keep the source video's body motion, timing, framing, and camera movement.
- Original audio preserved — Retain the source soundtrack in the final result.
- Up to 1080p output — Choose
480p,540p,768p, or1080p.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Source video URL. Must be at least 2 seconds long and contain a visible person. Up to the first 15 seconds are processed. |
| images | Yes | Between 1 and 4 character image URLs, one for each person you want to replace. |
| roles | No | Optional descriptions identifying who each image should replace, in the same order as images. Example: the woman in black on the left. |
| resolution | No | Output resolution: 480p, 540p, 768p, or 1080p. Default: 768p. |
| seed | No | Random seed for generation. A negative value uses a random seed. |
How to Use
- Upload a source video — Use a continuous shot with at least one clearly visible person.
- Add character images — Provide one image for each person you want to replace.
- Add roles optional — Describe which person each image should replace when multiple people appear.
- Choose resolution — Select
480p,540p,768p, or1080p.
- Set a seed optional — Use a fixed seed when comparing variations.
- Submit — Generate and retrieve the character-swapped video.
Pricing
Pricing is based on the input video duration, selected resolution, and number of character images. Billing is per second of input video, and the per-second rate depends on the resolution.
Price by resolution and video duration (1 character image)
| Resolution | 3 s or shorter (video.seconds=3) | 5 s | 10 s | 15 s or longer |
|---|---|---|---|---|
| 480p | ||||
| 540p | ||||
| 768p (default) | ||||
| 1080p |
Price per extra second of video
Each whole second of video beyond the first 3 seconds adds the following, up to 15 seconds:
| Resolution | Each extra second (4 s minus 3 s) |
|---|---|
| 480p | |
| 540p | |
| 768p | |
| 1080p |
Character images
Each additional character image adds $0.02 $0.01 (2 images minus 1 image).
| Configuration | Price |
|---|---|
10 s at 768p, 1 image (images.count=1) | |
10 s at 768p, 2 images (images.count=2) | |
10 s at 768p, 3 images (images.count=3) |
Videos shorter than 3 seconds are billed as 3 seconds. Videos longer than 15 seconds use and bill only the first 15 seconds.
Best Use Cases
- Character replacement — Replace actors or people while preserving the original performance.
- Creative remixes — Recast existing footage with new characters.
- Marketing content — Adapt existing video performances with different character appearances.
- Storytelling — Reuse motion and cinematography while changing who appears in the scene.
- Multi-character scenes — Replace selected people while leaving others unchanged.
Pro Tips
- Use a continuous source shot with clearly visible people.
- Use one reference image per person you want to replace.
- Describe people by appearance or position rather than by name.
- Use
roleswhen several people appear in the same scene.
- Use clear character images with visible facial and clothing details.
- Avoid source footage where mirrors or reflections are important.
Notes
- Input video duration is rounded up to the next whole second for billing.
- The person to replace must be visible in the first frame.
- Each
rolesentry supports up to 200 characters. The number of entries must not exceed the number of input images.
- Up to
4character images are supported.
- With one image and no
roles, the most prominent person is replaced.
- With multiple images and no
roles, images are matched to people by appearance order or left-to-right position.
- Source audio is preserved.
- Videos longer than
15seconds use only the first15seconds.
Related Models
- OpenJutsu Character Swap — Replace people in existing videos using character reference images.
- OpenJutsu Object Swap — Replace objects in existing videos while preserving the original scene and motion.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Openjutsu Character Swap API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/openjutsu/character-swap for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/01-b2f9ad31587b.mp4",
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/wu2h1sis58lx.jpg"
],
"roles": [],
"resolution": "768p",
"seed": 0
}Openjutsu Character Swap API — Frequently asked questions
What is the Openjutsu Character Swap API?
Openjutsu Character Swap is a OpenSIAI model for video editing, exposed as a REST API on OpenSIAI. Openjutsu Character Swap replaces people in existing videos with characters from reference images while preserving the original scene, motion, framing, and audio for character replacement, creative video editing, social content, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Openjutsu Character Swap API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/openjutsu/character-swap.
How much does Openjutsu Character Swap cost per run or per second?
Openjutsu Character Swap starts at $0.05 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Openjutsu Character Swap accept?
Key inputs: images, video, resolution, seed, roles. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/openjutsu/character-swap.
How long does Openjutsu Character Swap take to generate?
Reported generation time on OpenSIAI is around 116 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Openjutsu Character Swap outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.