Skip to main content
PUT
/
adapt.separate_stems
adapt.separate_stems
curl --request PUT \
  --url https://api.soundpiece.co/adapt.separate_stems \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio": {
    "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "callback": {
    "url": "<string>",
    "context": {}
  }
}
'
{
  "computation": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "generating",
    "asset_ids": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ]
  }
}

Body

application/json
audio
AssetSource · object
required

The audio source to be separated

callback
Callback · object

Configuration for a callback that will be called when the computation is complete

Response

Successful Response

computation
AudioComputation · object
required

A computation to track the generation of audio