Skip to main content
PUT
/
create.new_instrumental
create.new_instrumental
curl --request PUT \
  --url https://api.soundpiece.co/create.new_instrumental \
  --header 'Content-Type: application/json' \
  --data '
{
  "idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reference": {
    "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
idempotency_key
string<uuid>
required

A unique uuid to allow replaying the request if an unexpected failure occurs

reference
AssetSource · object
required

The audio source to be used as a reference for the synthesis

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