AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Music generationSuno MJ

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.

POST/suno/mj/submit/music

Authorization

bearerAuth
AuthorizationBearer <token>

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