Generates music using the requested model and provider settings.
GET /music/generate/{music_id}.
suno.customMode (boolean, default false)suno.instrumental (boolean, default false)suno.prompt (optional override for top-level prompt)suno.style, suno.title (required when customMode = true)suno.personaId, suno.personaModelsuno.negativeTags, suno.vocalGendersuno.styleWeight, suno.weirdnessConstraint, suno.audioWeightcustomMode = false, prompt is required.customMode = true, both style and title are required.customMode = true and instrumental = false, prompt is required.400 with:
usage can include output_audio_seconds when duration is provided and pricing is computed against seconds.Bearer token authentication
mp3, wav, ogg, aac Provider routing preferences for gateway selection.
Gateway debug controls. These flags are never forwarded upstream.
Music generation response
The response is of type object.