separate_stems
Separate an audio file into vocals, drums, bass, and other stems. Starts the job and returns a job ID for asynchronous processing.
Instructions
Start separating one audio file into vocals / drums / bass / other. Returns a job id immediately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "separate_stems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the song (WAV, or mp3/m4a/flac through a decoder). | |
| model | No | htdemucs | |
| backend | No | auto | |
| job_dir | No | Where job records live (default /root/Documents/ShadowRoom/stem-splitter-jobs). | |
| out_dir | No | Where the stems go (default /root/Documents/ShadowRoom/stems/<name>-<stamp>). | |
| quality | No | fast = htdemucs once; best = the fine-tuned bag with 2 shifts (roughly 4× slower). | fast |