ton.halowerk.com/v1/stem-split
Split up to 45 s of music into a vocal stem and an accompaniment stem (Spleeter 2stems on CPU) and return both as MP3 or Opus, with per-second levels. Decodes up to 45 s to 44.1 kHz stereo (mono is duplicated) and runs Deezer Spleeter 2stems (U-Net, MIT licence) as ONNX: the export made with the sherpa-onnx conversion scripts (Apache-2.0), int8, repository csukuangfj/sherpa-onnx-spleeter-2stems-in
POST
https://ton.halowerk.com/v1/stem-splitUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ton.halowerk.com/v1/stem-split", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"audio_url":"https://ton.halowerk.com/beispiel/stem-split-audio.ogg"}),
});
console.log(await res.json());Example input
{
"audio_url": "https://ton.halowerk.com/beispiel/stem-split-audio.ogg"
}