Separate stems (Spleeter 2stems)
separate_stemsSplit a public audio URL into vocals + accompaniment stems via Spleeter 2stems (async create + result poll). Pass audio_url (http(s), <= 2048 chars) to start, or job_id to poll. Waits up to wait_seconds (default 30, max 55). Returns vocals_url, accompaniment_url, and optional zip_url when done. Cost: 3 credits per call, charged by mcp-credit-gateway before forwarding. Compliance / SSRF: only http(s) URLs; Use only on material you own or are explicitly licensed/authorized to generate or remix. Do not generate or redistribute copyrighted music, voice likenesses, or trademarked audio without permission. Output URLs have a limited TTL and must not be abused for bulk scraping or redistribution. Calls are rate-limited/metered by mcp-credit-gateway and require a valid sk_live_ key. (仅处理自有或已获授权素材;禁止滥用生成/二创他人受版权保护的音乐或声音;输出有 TTL;调用限频。)
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_stems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Existing Spleeter job id from a previous call. Polling never creates a new upstream job. | |
| audio_url | No | Public http(s) URL of the source audio (<= 2048 chars). Required to start a new job; omit when polling with `job_id` only. Use only tracks you own or are licensed to separate. | |
| wait_seconds | No | How long to wait for a result, 0–55 seconds (default 30). On timeout the call returns a job_id to poll. | |
| idempotency_key | No | Optional caller correlation key, echoed in the result. Billing is handled by mcp-credit-gateway. |