← All models
Generate high quality video clips by swapping person, objects and background using Pixverse Swap.
Example
Details
- Accepts
- image + video
Pricing
- Price
- 6.25 cr / video
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| mode | stringenum: person, object, background | The swap mode to use |
| seed | — | Random seed for generation |
| image_urlrequired | string | URL of the target image for swapping |
| video_urlrequired | string | URL of the external video to swap |
| resolution | stringenum: 360p, 540p, 720p | The output resolution (1080p not supported) |
| keyframe_id | integer | The keyframe ID to use for face/object mapping. The input video is normalized to 24 FPS before processing, so keyframe 1 = first frame, keyframe 24 = 1 second in, etc. Valid range: 1 to (duration_seconds * 24). |
| original_sound_switch | boolean | Whether to keep the original audio |
Output
| Field | Type | Description |
|---|---|---|
| video | — | The generated swapped video |