Genjutsu Object Swap API
Genjutsu Object Swap from $0.636 per second of source video — replace a character, product, or outfit in any clip.
Higgsfield's Genjutsu object swap model. Replaces an object, character, or outfit in a source video with the one in your reference image — from $0.636 per second of source video.
No credit card required. Takes 30 seconds.
Genjutsu Object Swap API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated November 1, 2026.
| Billing | Price |
|---|---|
| Rate (480p) | $0.636/sec |
| Rate (720p) | $1.362/sec |
| Rate (1080p) | $3.264/sec |
| What it costs | Per job |
|---|---|
| 5-second clipfrom lowest resolution | $3.18 |
| 10-second clipfrom lowest resolution | $6.36 |
| 100 × 5-second clipsan ad-creative batch | $318.00 |
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Enter a prompt and generate a video with Genjutsu Object Swap.
Drop image or click to upload
For image-to-video (first/last frame)
Genjutsu Object Swap specs
| Provider | Higgsfield |
|---|---|
| Model ID | higgsfield/genjutsu-object-swap |
| Endpoint | /v1/media/queue |
| Type | Video Generation |
| Resolutions | 480p, 720p, 1080p |
| Image input | Yes |
How to get a Genjutsu Object Swap API key
- 1
Create a free account
Sign up at yepapi.com with Google or email. It takes about 30 seconds and needs no card.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call Genjutsu Object Swap
Send a request to /v1/media/queue with the x-api-key header and model "higgsfield/genjutsu-object-swap".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
Swap the person, product, or outfit in an existing clip while keeping its motion, framing, and timing.
The replacement comes from the image you send in `imageData`; the clip comes from `options.referenceVideoUrl`.
$0.636/sec at 480p, $1.362/sec at 720p, and $3.264/sec at 1080p, per second of source video.
Genjutsu Light Object Swap does the same job from $0.20 per source second for clips up to 15 seconds.
Quick start
Copy this snippet and start making calls with Genjutsu Object Swap.
// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "higgsfield/genjutsu-object-swap",
"prompt": "Replace the jacket the person is wearing with the jacket in the reference image",
"options": {
"resolution": "1080p",
"referenceVideoUrl": "https://example.com/source.mp4"
},
"imageData": {
"mimeType": "image/png",
"base64": "BASE64_DATA"
}
}),
});
const { data } = await res.json();
const jobId = data.jobId;
// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }Genjutsu Object Swap vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price |
|---|---|---|
| Genjutsu Object Swap | Higgsfield | from $0.636/sec (480p), $1.362/sec (720p), $3.264/sec (1080p) |
| Genjutsu Light Motion Transfer | Higgsfield | from $0.20/sec (480p), $0.40/sec (720p), $0.80/sec (1080p) |
| Genjutsu Light Object Swap | Higgsfield | from $0.20/sec (480p), $0.40/sec (720p), $0.80/sec (1080p) |
| Genjutsu Motion Transfer | Higgsfield | from $0.636/sec (480p), $1.362/sec (720p), $3.264/sec (1080p) |
| Seedance 1.0 Pro Fast | ByteDance | from about $0.02/sec (480p), about $0.04/sec (720p), about $0.10/sec (1080p) |
| Grok Imagine Video 1.5 Lite | xAI | from $0.04/sec (480p) |
| HeyGen Video | HeyGen | from $0.04/sec (480p) |
| PixVerse V6 | PixVerse | from $0.044/sec (360p), $0.06/sec (540p), $0.078/sec (720p), $0.154/sec (1080p); with audio (default) $0.06–$0.196/sec |
Why use Genjutsu Object Swap through YepAPI?
Genjutsu Object Swap API — replace a character or object in video with AI
Genjutsu Object Swap is the editing half of Higgsfield's Genjutsu family. Give it a source video and a reference image, and it replaces the object, character, or clothing in the clip with the one in your image while the original motion stays intact.
On YepAPI send `higgsfield/genjutsu-object-swap` to `/v1/media/queue` with `options.referenceVideoUrl` and `imageData`, and describe the swap in the prompt. Billed per second of source video: $0.636 at 480p, $1.362 at 720p, $3.264 at 1080p.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Higgsfield's Genjutsu object swap model. Replaces an object, character, or outfit in a source video with the one in your reference image — from $0.636 per second of source video.
Genjutsu Object Swap costs from $0.636/sec (480p), $1.362/sec (720p), $3.264/sec (1080p) through YepAPI, billed per request with no monthly fee. For example, a 5-second clip (from lowest resolution) costs about $3.18.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Genjutsu Object Swap and every other model — no separate Higgsfield account or waitlist.
New YepAPI accounts in most countries get free signup credit, enough to test Genjutsu Object Swap without a card. After that you pay per request at the rates above — there is no subscription.
Use "higgsfield/genjutsu-object-swap" as the model on /v1/media/queue.
Ready to use Genjutsu Object Swap?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
Genjutsu Motion Transfer
HiggsfieldGenjutsu Motion Transfer from $0.636 per second of source video — move any character with the motion of a real clip.
Genjutsu Light Object Swap
HiggsfieldGenjutsu Light Object Swap from $0.20 per second of source video — swap a character or product in short clips.
Genjutsu Light Motion Transfer
HiggsfieldGenjutsu Light Motion Transfer from $0.20 per second of source video — budget AI motion transfer that keeps the audio.
LTX-2.5 Fast
LightricksLTX-2.5 Fast from $0.18/sec — Lightricks video up to 4K with audio and camera-movement control.
Runway Gen-4.5
RunwayRunway Gen-4.5 from $0.25/sec — cinematic AI video via REST, billed per second with no monthly plan.
Seedance 2.0 Mini
ByteDanceSeedance 2.0 Mini from about $0.07/sec — ByteDance video with audio and keyframe control.
More Video Generation models
- Kling 2.6 Pro API · Kling
- Seedance 1.0 Pro Fast API · ByteDance
- Kling O3 API · Kling
- FLUX 3 Video API · Black Forest Labs
- Wan 3.0 Prime API · Alibaba
- Seedance 2.0 API · ByteDance
- Kling 3.0 Turbo API · Kling
- Seedance 2.5 API · ByteDance
- Grok Imagine Video API · xAI
- MiniMax H3 API · MiniMax
- Kling 2.5 Turbo Standard API · Kling
- Runway Aleph 2 API · Runway