producer

download

Cost: 2 credits per download.

Auto-refund: If the upstream download fails, the 2-credit charge is automatically refunded — no action needed on your side.

The download runs asynchronously — poll the returned task_id via GET /api/v1/producer/task/{task_id} to retrieve the final audio_url.

post/api/v1/producer/download

Request

  • Base URL
    https://api.musicapi.ai
  • URL
    https://api.musicapi.ai/api/v1/producer/download
  • Auth
    HTTP bearer

Request body

clip_idstring required

song id

format'mp3' | 'wav' required

music format, mp3/wav

webhook_urlstring

Optional. HTTPS URL to receive a notification when the download completes or fails.

webhook_secretstring

Optional. Secret for signing webhook payloads with HMAC-SHA256. Only used when webhook_url is set.

Response

messagestring required
task_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.