Skip to main content
Stems are the vocal and instrumental tracks extracted from the source audio. Youka separates stems automatically when you create a project, but you can re-run separation with a different model whenever you need to.

client.projects.separateStems(projectId, body, options?)

Start a new stem separation operation for a project.

Parameters

string
required
The project to re-process.
SplitModel
Stem separation model. See Split model reference for guidance.

Available models

End-to-end example

Use client.tasks.get(taskId) or client.tasks.wait(taskId) only when you explicitly need low-level task access. Most callers should stay on client.projects.wait(operation).

client.projects.downloadStem(projectId, selector, options?)

Download one stem without converting it to another format. Select exactly one stem by ID or type:
Supported types are original, instrumental, vocals, and backing_vocals.

client.projects.downloadStems(projectId, selector?, options?)

Download multiple stems. Pass types, pass stemIds, or omit the selector to download every available stem:
For multi-stem downloads, use an output directory. The SDK writes the original stored stem files and does not transcode them.

What’s next