Generate music
Submit a new music generation task in inspiration, custom, or instrumental mode.
You must provide both custom and instrumental explicitly. When custom=false, provide gpt_description_prompt; when custom=true and instrumental=false, provide prompt.
After submission, save data.jobId and use Retrieve a task to read the result. See “Callback notifications” on that page for callback rules.
/suno/mj/submit/musicAuthorization
bearerAuth Authenticate with Authorization: Bearer your-api-key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json