PixVerse Platform Docs(for enterprise)
  1. Swap
PixVerse Platform Docs(for enterprise)
  • Model & Pricing
  • Swap
    • How to use Swap
    • Mask selection generation
      POST
    • Swap generation
      POST
  • Multi-transition
    • How to use multi-transtion
    • Multi-trasition generate
      POST
  • Previous updates
    • Sound_effect
      • How to use Sound effects?
      • Generate Sound Effects
    • Lip sync
      • How to use Lip Sync?
      • Tts speaker list
      • Generate lip sync video
      • Get tts speaker list
    • Fusion(Reference to Video)
      • How to use fusion (reference to video)?
      • Generate Fusion(Reference to Video) video
    • Template for multiple-images
      • How to use multiple-image templates?
    • Extend
      • How to use Extend?
      • Generate Extend video
    • Restyle
      • How to use restyle?
      • Restyle generation
      • Restyle get list
  • Upload media (video&audio)
    POST
  1. Swap

Swap generation

POST
/openapi/v2/video/swap/generate

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
curl --location --request POST 'https://app-api.pixverse.ai/openapi/v2/video/swap/generate' \
--header 'API-KEY: your-api-key' \
--header 'Ai-trace-id: your-ai-trace-id' \
--header 'Content-Type: application/json' \
--data-raw '{
    "video_media_id":367260396151947, 
    "keyframe_id":1,
    "mask_id":"0",
    "img_id":0,
    "quality": "360p"
}'
Response Response Example
{
    "ErrCode": 0,
    "ErrMsg": "Success",
    "Resp": {
        "video_id": 0
}
Modified at 2025-10-30 11:14:46
Previous
Mask selection generation
Next
How to use multi-transtion
Built with