Actions28
- Music Generation Actions
- Vocals Actions
- Persona Actions
- Lyrics Actions
- Vocal Separation Actions
- Audio Conversion Actions
- Style Boost Actions
- Cover Image Actions
- Task Details Actions
- Credit Actions
- File Upload Actions
Music Generation → Replace Section
AI-generatedSummary
Replace a specified time section in an existing music track with new AI-generated music based on a text prompt and style tags.
Inputs
- Task ID (required) — The task ID of the original music generation to modify.
- Audio ID (required) — The audio ID of the specific track to modify.
- Prompt (required) — Lyrics or text prompt describing the replacement section.
- Tags (required) — Music style or genre tags to apply to the replacement section.
- Title (required) — Title for the resulting track with the replaced section.
- Infill Start (seconds) (required) — Start time in seconds (with 2 decimal precision) where the replacement section begins.
- Infill End (seconds) (required) — End time in seconds (with 2 decimal precision) where the replacement section ends.
- Negative Tags — Music styles or traits to exclude from the replacement section.
- Callback URL — Optional HTTPS URL to receive task completion notifications; must be publicly accessible.
Output shape
an object containing the API response data about the replace section generation task
The operation posts JSON data and returns the API response detailing the new generation task. The optional Callback URL, if provided, receives asynchronous update notifications upon task completion.
