Audio trims

Prepare a shortened audio asset without generating a video

Changed on
post/v2/audio-trims

Request

  • Base URL
    https://api.sync.so
  • Auth
    API key in header x-api-key

Headers

Idempotency-Keystring required

Request body

assetIdstring uuid

Accessible saved audio asset. Supply assetId or sourceUrl.

sourceUrlstring uri

Authorized Sync-hosted audio source. Supply sourceUrl or assetId.

projectIdstring uuid
durationSecondsnumber required

Maximum duration of the audio prefix in seconds.

Response

idstring uuid required
status'queued' | 'processing' | 'completed' | 'failed' required
assetIdstring uuid nullable required
durationSecondsnumber nullable required
errorCodestring nullable required
retryAfterMsinteger required

Changes