PixVerse Platform Docs
  1. API Reference
PixVerse Platform Docs
  • Learn about PixVerse Platform
    • Introduce to PixVerse Platform
    • Quick Start
  • Getting started
    • How does the API work?
    • How to get API key?
    • How to check account balance?
    • How to subscribe API plans?
    • How to use Text-to-video
    • How to use Image-to-video
    • How to use Effects?
    • How to use Transition(First-last frame Feature)
    • How to use Speech(Lip sync)?
    • Lip sync TTS speaker list
    • How to use Extend?
    • How to get video generation status?
  • API Reference
    • API Parameter Description
    • Get user credit balance
      GET
    • Upload Image
      POST
    • Text-to-Video generation
      POST
    • Image-to-Video generation
      POST
    • Transition(First-last frame) generation
      POST
    • Upload Video&audio
      POST
    • Speech(Lipsync) generation
      POST
    • Get Speech(Lipsync) tts list
      GET
    • Extend generation
      POST
    • Get Video Generation Status
      GET
  • Trouble Shooting
    • Common errors and Solutions
    • Error codes
    • FAQ
  • Resources
    • Model & Pricing
    • Rate limit
    • Support
    • Change Logs
    • Term of Service
    • Privacy policy
  • PixVerse Tools
    • PixVerse MCP
  1. API Reference

Speech(Lipsync) generation

POST
/openapi/v2/video/lip_sync/generate
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app-api.pixverse.ai/openapi/v2/video/lip_sync/generate' \
--header 'Ai-Trace-Id: {{$string.uuid}}' \
--header 'API-KEY: your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "video_media_id": 0,
  //"source_video_id":0, //'\''video_id'\'' returned from the generation API
  //"audio_media_id":0, //'\''media_id'\'' from the upload API with '\''media_type = audio'\''
  "lip_sync_tts_speaker_id": "auto",
  "lip_sync_tts_content": "hello this is harry, where are you from?"
}'
Response Response Example
{
    "ErrCode": 0,
    "ErrMsg": "Success",
    "Resp": {
        "video_id": 0
}

Request

Header Params
Ai-Trace-Id
string 
required
traceID format: UUID, must be unique for each request
Example:
{{$string.uuid}}
API-KEY
string 
required
api-key from PixVerse platform
Example:
your-api-key
Content-Type
string 
required
Example:
application/json
Body Params application/json
video_media_id
integer 
required
lip_sync_tts_speaker_id
string 
required
lip_sync_tts_content
string 
required
Examples

Responses

🟢200Success
application/json
Body
ErrCode
integer 
required
ErrMsg
string 
required
Resp
object 
required
video_id
integer 
required
Previous
Upload Video&audio
Next
Get Speech(Lipsync) tts list