CLI
Use the AudioLasso CLI from npm for local files, status checks, and results.
The AudioLasso CLI is included in the audiolasso npm package.
Install
You can run it without a global install:
npx audiolasso --helpOr install it in a project:
npm install audiolassoAuthenticate
Set an API key:
export AUDIOLASSO_API_KEY="al_..."Or use browser login:
npx audiolasso loginSeparate audio
For a local file:
npx audiolasso separate ./song.wav \
--prompt "isolate the vocals" \
--output-dir ./stemsThe CLI polls queue status by default while waiting for the result.
For a public URL:
npx audiolasso separate https://example.com/audio.wav \
--prompt "remove crowd noise" \
--jsonUse --stream when you want live Server-Sent Event status updates instead of polling.
Status and results
Check a job:
npx audiolasso status req_abc123 --logsFetch and download a completed result:
npx audiolasso result req_abc123 --download --output-dir ./stemsMCP
The same package can launch the MCP server:
npx -y audiolasso mcpRead MCP server for agent setup.