Separate Stems from YouTube
separate_youtubeSubmit a YouTube URL to separate vocals and instrumental stems in best-quality MP3. Downloads results and returns local file paths.
Instructions
Submit a YouTube URL to StemSplit. The server fetches the video, separates it into vocals and instrumental (MP3, BEST quality), and returns local file paths once complete. Use this for any youtube.com or youtu.be URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| youtubeUrl | Yes | A YouTube URL — youtube.com/watch?v=, youtu.be/, embed, or a bare 11-character video ID. | |
| wait | No | If true (default), poll until completion and download outputs to disk. | |
| timeoutSeconds | No | ||
| pollIntervalSeconds | No | ||
| outputDir | No | Directory to write outputs into. Defaults to ~/Downloads/stemsplit/<jobId>/. Output is fixed to vocals + instrumental, MP3, BEST quality. |