POST /api/generate/submit. Send a model ID in model, the parameters in input, and an optional callback_url. The request returns a task_id right away and the task runs asynchronously.
Workflow
Suno and the other providers use different result endpoints:- Suno: poll Query Music Detail, or receive the result at
callback_url(see Music Webhook). - MiniMax, ElevenLabs, Google, xAI: poll the unified Get Task Status, or receive the result at
callback_url(see Webhook Callbacks).
Suno
Suno is organized by action. Each action has its own model ID. Start with Generate Music; several actions extend, cover, or edit a song from an earlier task or an uploaded audio file. For custom voices, follow the Suno Voice Workflow.Music and TTS models
Notes
- Each page lists the parameters and limits for its model ID. Parameters are not shared across models.
- URL inputs must be publicly accessible HTTP(S) URLs. To use local files, upload them first with File Management.