Riffusion Upload API
POSThttps://api.acedata.cloud/riffusion/upload

Riffusion reference audio upload API, upload audio to get an audio_id for generation.

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 chunked streaming format separated by newline characters in JSON format.
Please select
authorizationstring
Bearer token

Request Body

audio_urlstringRequired parameter
The CDN address (URL) for the custom audio file to be uploaded.

Response

Riffusion 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.

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.