What You’ll Learn
Video-Level Defaults
Set default background music for entire video
Scene-Level Override
Enable or disable music for specific scenes
Selective Audio
Create videos with dynamic music control
Audio Strategy
Design effective scene-by-scene audio
Before You Begin
Make sure you have:- A Pictory API key (get one here)
- Node.js or Python installed on your machine
- Understanding of video-level background music configuration
- Basic knowledge of scene structure in Pictory API
How Scene-Level Music Control Works
When you configure music at the scene level:- Video-Level Default - Define default background music settings for entire video
- Scene Processing - Each scene is evaluated for scene-level overrides
- Override Detection - System checks if scene has
backgroundMusic.enabledsetting - Music Application - Scenes use video-level music unless explicitly overridden
- Audio Mixing - Music is mixed with voice-over and other audio per scene
- Transition Handling - Smooth transitions between scenes with/without music
- Video Rendering - Final video rendered with scene-specific music control
Scene-level control only allows enabling or disabling music. All scenes that have music enabled use the same music track defined at the video level. You cannot use different music tracks for different scenes.
Complete Example
Understanding the Parameters
Video-Level Background Music
| Parameter | Type | Required | Description |
|---|---|---|---|
backgroundMusic.enabled | boolean | Yes | Set to true to enable background music by default for all scenes |
backgroundMusic.musicUrl | string | No | Custom music URL (or use autoMusic instead) |
backgroundMusic.autoMusic | boolean | No | Use AI-selected music |
backgroundMusic.volume | number | No | Volume level (0-1). Default: 0.5 |
Scene-Level Override
| Parameter | Type | Required | Description |
|---|---|---|---|
scenes[].backgroundMusic.enabled | boolean | No | Override video-level setting. true = enable music for this scene, false = disable music for this scene |
Music Control Patterns
Pattern 1: Music On Most Scenes, Off for Key Moments
Use music throughout, but disable it for important announcements or dramatic pauses.Pattern 2: Music Only on Specific Scenes
Start with no music by default, enable only for specific scenes.Pattern 3: Alternating Music for Variety
Alternate music on/off to create rhythm and variety.Pattern 4: Music Only During Transitions
Use music only between content sections for smooth transitions.Common Use Cases
Educational Videos - Focus on Key Concepts
Marketing Videos - Emphasize Call-to-Action
Podcast/Interview Clips - Highlight Quotes
Testimonial Videos - Authentic Voice
Best Practices
Disable Music for Important Messages
Disable Music for Important Messages
Use silence strategically to emphasize critical content:
- Key Announcements: Turn off music for important news or updates
- Call-to-Action: Disable music during CTA for maximum impact
- Statistics/Data: Present numbers and facts without musical distraction
- Testimonials: Let authentic voices speak without background music
- Complex Concepts: Turn off music when explaining difficult topics
- Legal/Disclaimers: Ensure disclaimers are heard clearly without music
Use Music for Energy and Transitions
Use Music for Energy and Transitions
Enable music strategically to enhance engagement:
- Intro/Outro: Use music to bookend your content professionally
- Topic Transitions: Add music during section changes for smooth flow
- Upbeat Moments: Enable music for exciting or celebratory content
- Background Context: Use subtle music during supporting information
- B-Roll Sequences: Add music during visual-only scenes
- Energy Boost: Turn music on to re-engage viewers during longer content
Create Dynamic Pacing
Create Dynamic Pacing
Alternate music on/off to maintain viewer interest:
- Vary Audio Landscape: Don’t use the same pattern throughout
- Match Content Mood: Enable music for lighter topics, disable for serious ones
- Prevent Fatigue: Alternating helps prevent audio monotony
- Scene Variety: Mix music/no-music scenes for dynamic feel
- Rhythm Creation: Establish patterns viewers can anticipate
- Strategic Silence: Use silence as a tool, not just absence of sound
Consider Voice-Over Interaction
Consider Voice-Over Interaction
Balance music with narration for clarity:
- With Heavy Narration: Consider disabling music for content-heavy scenes
- Short Voice-Over: Music works well with brief narration
- Technical Narration: Disable music when explaining complex procedures
- Volume Balance: Even when music is on, keep it low (0.2-0.3) with voice-over
- Speaker Changes: Consider music changes when speakers change
- Emphasis Through Contrast: Use music/silence to emphasize speaker’s words
Test Your Audio Mix
Test Your Audio Mix
Always preview to ensure proper music control:
- Listen Carefully: Review the full video to check music transitions
- Check Transitions: Ensure smooth audio when music starts/stops
- Volume Levels: Verify music doesn’t overpower when enabled
- Scene Timing: Confirm music changes align with scene boundaries
- Viewer Perspective: Consider if music changes make sense to viewers
- Iterate: Adjust scene-level settings based on preview feedback
Troubleshooting
Scene-level override not working
Scene-level override not working
Problem: Scene still has music even though
enabled: false was set.Solution:- Verify you set
backgroundMusic: { enabled: false }at scene level - Check JSON syntax is correct (proper nesting and commas)
- Ensure video-level music is enabled first (nothing to override otherwise)
- Confirm scene-level setting is within the specific scene object
- Review API response for any validation errors
- Test with a simple 2-scene example to isolate the issue
Cannot change music track per scene
Cannot change music track per scene
Problem: Want different music for different scenes, but it’s not working.Solution:
- Scene-level control only allows enabling/disabling, not changing tracks
- All scenes with music use the video-level track configuration
- To use different music tracks:
- Create separate videos for each music track needed
- Use video editing software for multi-track music after export
- Consider using different clips from the same track (video-level clips)
- This is a current limitation of the scene-level music control feature
Music transitions are abrupt
Music transitions are abrupt
Problem: Music starts/stops suddenly between scenes, sounds jarring.Solution:
- This is expected behavior - music transitions align with scene boundaries
- The API automatically applies subtle fade in/out at scene transitions
- For smoother transitions, consider:
- Adjusting scene durations to align with musical phrases
- Using longer scenes where music stays consistent
- Choosing background music with gentle instrumentation
- Very short scenes may have more noticeable transitions
All scenes have music despite overrides
All scenes have music despite overrides
Problem: Scene-level
enabled: false seems to be ignored.Solution:- Verify video-level music is properly configured first
- Check that scene-level override is
backgroundMusic: { enabled: false } - Ensure you’re not just setting
enabled: falseat video level - Confirm proper JSON structure and nesting
- Example correct structure:
Cannot enable music for one scene when video-level disabled
Cannot enable music for one scene when video-level disabled
Problem: Set video-level music to disabled, but want to enable for one scene.Solution:
- This is supported - set video-level to
enabled: false - Then enable for specific scenes with
backgroundMusic: { enabled: true } - Ensure video-level still has
musicUrlorautoMusicconfigured - Even with
enabled: falseat video level, you need music source defined - Example:
Volume cannot be changed per scene
Volume cannot be changed per scene
Problem: Want different volume levels for different scenes.Solution:
- Scene-level control does not support volume adjustments
- Only
enabled(true/false) can be set at scene level - All scenes use the video-level volume setting
- Workaround options:
- Use audio editing software post-export for scene-specific volume
- Choose background music with natural volume variations
- Create separate videos if drastically different volumes needed
- This is a current limitation of scene-level music control
Hierarchy and Override Rules
Understanding how video-level and scene-level settings interact:Default Behavior (No Scene Override)
With Scene-Level Override
Video-Level Disabled, Scene-Level Enabled
Next Steps
Enhance your scene-level music control with these complementary features:Background Music
Learn about video-level background music configuration
AI Voice-Over
Add narration that works with scene music
Intro/Outro Scenes
Combine scene music control with intro/outro
Custom Subtitle Styling
Style subtitles for scenes with/without music
API Reference
For complete technical details, see:- Render Storyboard Video - Full API specification including scene-level configuration
- Get Job Status - Monitor job status and get video URLs
