Skip to main content
PUT
/
adapt.cut_down
adapt.cut_down
curl --request PUT \
  --url https://api.soundpiece.co/adapt.cut_down \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio": {
    "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "start": 123,
  "end": 123,
  "callback": {
    "url": "<string>",
    "context": {}
  },
  "fade_start": false,
  "fade_end": false,
  "level_automation_points": [
    {
      "time": 123,
      "db": 123
    }
  ]
}
'
{
  "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

start
number
required

The start time of the cut

end
number
required

The end time of the cut

callback
Callback · object

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

fade_start
boolean
default:false

Whether to fade in

fade_end
boolean
default:false

Whether to fade out

level_automation_points
LevelAutomationPoint · object[]

The level automation points to apply to the cut

Response

Successful Response

computation
AudioComputation · object
required

A computation to track the generation of audio