producer

upload

Upload your audio to Producer for processing. The upload runs asynchronously — poll the returned task_id via GET /api/v1/producer/task/{task_id} to retrieve the resulting clip_id, audio_url, and lyrics. The returned clip_id can then be used with extend_music or replace_music operations.

Cost: 2 credits per upload.

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

post/api/v1/producer/upload

Request

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

Request body

audio_urlstring required

online public music url

webhook_urlstring

Optional. HTTPS URL to receive a notification when the upload 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.