Precise Time-Based Editing
Replace exact time segments with 2-decimal precision (infill_start_s, infill_end_s). Specify start and end points down to hundredths of a second for surgical music editing and segment replacement.

Transparent pricing with no hidden fees. Pay as you go.
replace-section| Model | Spec | PoYo price | Official price | You save |
|---|---|---|---|---|
replace-section | Standard generation | $0.050/gen 10 credits /gen | - | - |
* Actual fees are based on the final output.
Complete guide to using Replace Section API - AI Music Segment Editor on PoYo
Replace exact time segments with 2-decimal precision (infill_start_s, infill_end_s). Specify start and end points down to hundredths of a second for surgical music editing and segment replacement.
Generate new content that seamlessly blends with existing audio. Replace Section API analyzes surrounding context to create natural-sounding transitions and maintain musical coherence across edits.
Maintain the original track's musical style, genre, and production quality. Use style tags to ensure replaced sections match the overall aesthetic and sonic characteristics of your music.
Update lyrics for specific sections using full_lyrics parameter. Change words, phrases, or entire verses while preserving the musical arrangement and vocal style of the original track.
Apply custom style tags to guide the AI's generation within replaced sections. Control genre, mood, instrumentation, and creative direction for the new segment while maintaining overall coherence.
Advanced algorithms ensure smooth transitions between original and replaced sections. No audible clicks, pops, or jarring changes - just natural-sounding edited music.
Fix problematic sections in AI-generated music, replace unwanted segments, or experiment with different musical ideas within a track. Perfect for post-production refinement.
Change specific lyrics without regenerating the entire song. Fix mistakes, update words for different versions, or localize lyrics for different markets while keeping the music intact.
Adjust music tracks to fit video timing requirements. Replace sections to match scene changes, extend or shorten passages, or modify musical emphasis for specific visual moments.
Create variations of the same track by replacing specific sections. Test different choruses, bridges, or musical arrangements to find the most effective version for your audience.
Modify music for different contexts or platforms. Replace sections to create clean versions, adjust for time constraints, or adapt tracks for specific content requirements.
Explore musical variations by replacing sections with different styles or moods. Mix genres, test alternative arrangements, or create unique remixes while maintaining the core track structure.
1. Get Your API Key: Create a free PoYo account and generate your API key from the dashboard. Get API Key →
2. Prepare Source Audio: Upload your base music track using the Upload Audio API or use an existing track ID from previous music generation tasks.
3. Define Replacement Section: Specify the exact time range to replace using infill_start_s and infill_end_s parameters (supports 2 decimal precision). Add style tags and full_lyrics if modifying lyrics. View API Docs →
4. Get Results: Receive a task_id and poll for results, or set up a webhook callback URL to be notified when the section replacement completes. Query Results →
Replace Section API: $0.05 per replacement (10 credits) - Edit music sections with AI precision
Features Included: Precise time-based editing (2 decimal precision), lyrics modification, style tag control, seamless blending, webhook callbacks, commercial usage rights
Enterprise: Volume discounts available for high-volume music editing. Priority processing and dedicated support. Contact sales →
Replace music sections at just $0.05 per edit. Cost-effective solution for music refinement and post-production without expensive subscriptions or per-minute charges.
Access Suno's advanced music inpainting technology through PoYo's unified API. Industry-leading AI ensures natural-sounding edits with seamless transitions and style consistency.
2-decimal time precision lets you target exact moments in your music. Replace sections as small as fractions of a second or as large as entire verses with pinpoint accuracy.
Replaced sections blend naturally with original audio. Advanced blending algorithms eliminate audible artifacts, ensuring professional-quality edited tracks ready for immediate use.
One API key connects you to Replace Section and 15+ other music APIs plus 500+ AI models. Simplify billing and reduce integration complexity across your entire AI workflow.
Clean RESTful API with comprehensive documentation and code examples. Simple integration with any programming language. Webhook support for async operations and workflow automation.