Mix two audio files to generate a new mashup work using AI models.
uploadUrlList is required and must contain exactly 2 audio file URLs
V4, V4_5, V4_5PLUS, V4_5ALL, V5, V5_5. V5_5: Unleash Your Voice: Custom Models Tailored to Your Unique Taste — same custom-mode limits as V5.
customMode: true):
prompt 3000 characters, style 200 charactersprompt 5000 characters, style 1000 charactersprompt 5000 characters, style 1000 charactersprompt 5000 characters, style 1000 charactersprompt / style limits as V5 (Unleash Your Voice: Custom Models Tailored to Your Unique Taste)title length limit: 80 characters (all models)customMode: false):
prompt length limit: 500 charactersinstrumental: whether to generate instrumental musicm (male), f (female)customMode: false for simpler usagetext (text generation), first (first track complete), complete (all tracks complete)uploadUrlList must be valid and accessible URLsAll endpoints require authentication using Bearer Token.
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
Array of audio file URLs to mashup. Must contain exactly 2 URLs. Each URL must be publicly accessible.
2 elements[
"https://example.com/audio1.mp3",
"https://example.com/audio2.mp3"
]Determines if advanced parameter customization is enabled.
true: Allows detailed control with specific requirements for style and title fields.false: Simplified mode where only prompt is required and other parameters are ignored.true
The AI model version to use for generation.
V5: Superior musical expression, faster generation.V5_5: Unleash Your Voice: Custom Models Tailored to Your Unique Taste. Same custom-mode prompt and style character limits as V5 (5000 / 1000).V4_5PLUS: V4.5+ delivers richer sound, new ways to create, max 8 min.V4_5: V4.5 enables smarter prompts, faster generations, max 8 min.V4_5ALL: V4.5ALL enables smarter prompts, faster generations, max 8 min.V4: V4 improves vocal quality, max 4 min.V4, V4_5, V4_5PLUS, V4_5ALL, V5, V5_5 "V4"
The URL to receive music generation task completion updates. Required for all music generation requests.
text (text generation), first (first track complete), complete (all tracks complete)text and first stages and return complete directly"https://example.com/callback"
A description of the desired audio content.
customMode: true): Required if instrumental is false. The prompt will be strictly used as the lyrics and sung in the generated track. Character limits by model:
customMode: false): Always required. The prompt serves as the core idea, and lyrics will be automatically generated based on it (not strictly matching the input). Maximum 500 characters."A calm and relaxing piano track with soft melodies"
Music style specification for the generated audio.
customMode: true). Defines the genre, mood, or artistic direction."Jazz"
Title for the generated music track.
customMode: true)."Relaxing Piano"
Determines if the audio should be instrumental (no lyrics).
customMode: true):
true: Only style and title are required.false: style, title, and prompt are required (with prompt used as the exact lyrics).customMode: false): No impact on required fields (prompt only).true
Vocal gender preference for the singing voice.
customMode: true). Optional. Use 'm' for male and 'f' for female. Based on practice, this parameter can only increase the probability but cannot guarantee adherence to male/female voice instructions.m, f "m"
Strength of adherence to the specified style.
customMode: true). Optional. Range 0–1, up to 2 decimal places.0 <= x <= 1Must be a multiple of 0.010.61
Controls experimental/creative deviation.
customMode: true). Optional. Range 0–1, up to 2 decimal places.0 <= x <= 1Must be a multiple of 0.010.72
Balance weight for audio features vs. other factors.
customMode: true). Optional. Range 0–1, up to 2 decimal places.0 <= x <= 1Must be a multiple of 0.010.65
Request successful
Response Status Codes
200, 401, 402, 404, 409, 422, 429, 451, 455, 500 Error message when code != 200
"success"