Suno Upload API
POSThttps://api.ai.moses.day/suno/upload
Suno reference audio upload API, upload audio to get an audio_id for extended generation.
Related Products
Suno - Mai
Suno music generation platform, directly interfaces with this API, high-speed and stable availability.
Request Headers
acceptstring
Specify the format of the response returned by the server. If not specified, the default format is `application/json`; if specified as `application/x-ndjson`, the response will be returned in a block-streaming format of JSON separated by newline characters.
Please select
authorizationstring
Bearer token
Request Body
audio_urlstringRequired parameter
The CDN address (URL) for the custom audio file to be uploaded.
modestring
Upload mode. `standard` is for regular uploads and maintains the original behavior; `enhanced` is used for authorized audio that cannot be processed by some regular uploads, executed asynchronously by default, and successfully processing consumes 1.87 Credits (approximately ¥1.20 per time based on the maximum package).
Please select
namestring
Audio name. Required when `mode=enhanced`, with a length of 1 to 100 characters.
callback_urlstring
Optional HTTPS callback address. The result will be sent to this address after the upload is completed or fails.
Response
Integration guide
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
Suno Music Generation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.