Skip to main content
POST
cURL
Pass exactly 1 public HTTPS MP4 video in video_urls (4–30s) and 1–10 public HTTPS replacement images in image_urls. Use @video_1 and @image_1 in the optional prompt (up to 5000 characters) to specify what to replace. Supports 480p, 720p (default), and 1080p; output duration and aspect ratio follow the source video.

Authorizations

Authorization
string
header
required

Use your APIPod API key as a Bearer token in the Authorization header.

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "genjutsu-1.0-object-swap"
video_urls
string[]
required

Required. Exactly 1 public HTTPS MP4 video URL (4-30s). Output duration and aspect ratio follow this video.

Required array length: 1 element

Public HTTPS MP4 video URL.

image_urls
string[]
required

Required. 1-10 public HTTPS reference image URLs of the replacement object or product.

Required array length: 1 - 10 elements

Public HTTPS image URL.

prompt
string

Optional text guidance up to 5000 characters. Reference assets with @video_1 and @image_1.

Maximum string length: 5000
resolution
enum<string>
default:720p

Output resolution (480p, 720p, or 1080p; default 720p).

Available options:
480p,
720p,
1080p
callback_url
string

Optional webhook URL to receive task completion notifications.

Response

200 - application/json

Task accepted

code
integer
required
data
object
required
message
string
required