Submit an asynchronous AI music generation task. Returns a taskId for polling results via the Query Task API.Models: Supports Topview Music and Minimax Music 2.6 (pass the displayName; case-insensitive).Parameter rules:- When instrumental=true (instrumental only), styles is required and lyrics is ignored and not sent to the backend- When instrumental=false (with vocals), at least one of lyrics or styles must be provided- When enhancePrompt=true, styles is required; the system asynchronously enhances the style description before submitting generation- When referenceAudio is provided, audio format and duration are validated before generation is submittedCredits: Charged after task completion. Use costCredit in the query response to check consumption.Common error codes:- 4012: Invalid model- 4013: styles is required when instrumental=true- 4014: At least one of lyrics or styles is required when instrumental=false- 4015: lyrics exceeds maximum length- 4016: styles exceeds maximum length- 4017~4021: Invalid referenceAudio parameter/format/duration/size/clip range- 4022: Non-empty styles is required when enhancePrompt is enabled- 4100: Insufficient credits
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||