PixVerse Platform Docs
  1. Getting started
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 use Sound effects?
    • How to use Fusion(Reference to video)?
    • 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
    • Sound effect generation
      POST
    • Fusion(reference to video) 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. Getting started

How to use Sound effects?

Case 1 When using text-to-video, image-to-video, or transition generation#

1. Add fields below to generate background music#

Field NameDescriptionTypeRequiredAccepted ValuesNotes
sound_effect_switchEnable background musicbooleanNotrue, falseControls whether to generate background music. Must be a boolean.
sound_effect_contentSound effect contentstringNo-Optional. If not provided, a random sound effect will be generated.
example

2. Introduction by use case#

Using Templatesound_effect_switchsound_effect_contentExpected ResultCredits Charged
YestrueNot providedUses background music from the templateVideo generation only (e.g., 45 credits)
Yestrue"" (empty string)Auto-generates sound if template has noneVideo generation only (e.g., 45 credits)
Yestrue"sea waves"Overrides template music with given contentVideo generation only (e.g., 45 credits)
YesfalseAnyNo background musicVideo generation only (e.g., 45 credits)
NotrueNot providedAuto-generates sound based on video content45 (video) + 10 (sound_effect) = 55 credits
Notrue"" (empty string)Same as above45 (video) + 10 (sound_effect) = 55 credits
Notrue"sea waves"Generates sound based on provided content45 (video) + 10 (sound_effect) = 55 credits
NofalseAnyNo background musicVideo generation only (e.g., 45 credits)

Case 2 Sound Effects endpoint#

One of the following is required:
A source_video_id generated by PixVerse
A video_media_id obtained via the media/upload endpoint

1. Request Curl#

2. fields needed#

Field NameDescriptionTypeRequiredAccepted ValuesNote
source_video_idID of the generated videointYes-Required if video_media_id is not provided
video_media_idID of the uploaded videointYes-Required if source_video_id is not provided
modelModelstringNo-Currently not required; reserved for future use
original_sound_switchOriginalSoundSwitchbooleanNotrue, falseDefault is false. Set to true to keep original video audio
sound_effect_contentSoundEffectContentstringNoAny string or leave emptyOptional. If not provided, a random sound effect will be generated

Sound Effect Billing#

FunctionBilling StandardExample Usage
Sound effect10 Credits every 5 seconds5s → 10 Credits
8s → 20 Credits
10s → 20 Credits
Previous
How to use Extend?
Next
How to use Fusion(Reference to video)?