upload_music_for_inpainting
Upload audio files to ElevenLabs for inpainting workflows. Returns a song_id to edit or extend tracks, optionally extracting a composition plan for mutation.
Instructions
Upload an existing audio file to ElevenLabs so it can be referenced in music_v2 inpainting workflows. Returns a song_id you can plug into a composition plan's AudioRefChunks (or a generation chunk's conditioning_ref) to edit or extend the track via the compose_music tool.
Optionally extracts a composition plan from the uploaded audio so you have a starting point to mutate.
Note: this endpoint is gated to enterprise customers with inpainting access.
Args:
input_file_path: Path to a local audio file to upload.
extract_composition_plan: Which model to extract a composition plan for ("music_v1" or "music_v2"). Pass None to skip extraction. Defaults to "music_v2".
⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file_path | Yes | ||
| extract_composition_plan | No | music_v2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| text | Yes | ||
| annotations | No | ||
| _meta | No |