Parameter Usage Guide
- When defaultParamFlag is true (Custom Parameters):
- If instrumental is true: style, title, and uploadUrl are required
- If instrumental is false: style, prompt, title, and uploadUrl are required
- prompt length limit by model:
- V3_5 & V4: Maximum 3000 characters
- V4_5 & V4_5PLUS: Maximum 5000 characters
- style length limit by model:
- V3_5 & V4: Maximum 200 characters
- V4_5 & V4_5PLUS: Maximum 1000 characters
- title length limit by model:
- V3_5 & V4: Maximum 80 characters
- V4_5 & V4_5PLUS: Maximum 100 characters
- continueAt: the time point in seconds from which to start extending (must be greater than 0 and less than the uploaded audio duration)
- uploadUrl: specifies the upload location for audio files; ensure uploaded audio does not exceed 8 minutes.
- When defaultParamFlag is false (Default Parameters):
- Regardless of instrumental setting, only uploadUrl and prompt are required
- Other parameters will use the original audio’s parameters
Developer Notes
- Generated files will be retained for 14 days
- Model version must be consistent with the source music
- This feature is ideal for creating longer works by extending existing music
- uploadUrl parameter specifies the upload location for audio files; provide a valid URL.
Authorizations
🔑 API Authentication
All endpoints require authentication using Bearer Token.
Get API Key
- Visit the API Key Management Page to obtain your API Key
Usage
Add to request headers:
Authorization: Bearer YOUR_API_KEY
⚠️ Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately from the management page
Body
application/json
Response
Request successful
The response is of type object
.