separate_song_stems
Split an audio file into separate stems and save the result as a zip. Provide a local path or base64 input to extract vocals, drums, and instruments.
Instructions
Stem Separation Spends ElevenLabs credits. Returns application/zip bytes; pass output_path to save them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "separate_song_stems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | The audio file to separate into stems. Local path. Required for this call. | |
| file_base64 | No | Base64 contents for "file". Use this when the server cannot read your local disk. | |
| output_path | No | Where to write the returned bytes. Relative paths resolve against ELEVENLABS_OUTPUT_DIR. Omit it to get the data inline as base64 (small files only). | |
| file_filename | No | Filename to send for "file". Some endpoints infer the audio format from it. | |
| output_format | No | Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pr | |
| sign_with_c2pa | No | Whether to sign the generated song with C2PA. Applicable only for mp3 files. | |
| stem_variation_id | No | The id of the stem variation to use. |