Endpoints
Create Task
Submit a new AI generation task
POST
Create Task
Create Task
Submit a new task to an AI model. The task is processed asynchronously — use the Get Task endpoint to poll for results.Request
Headers
Your API key.
Must be
application/json.Body parameters
The type of task to create. Suno supports:
"music", "lyrics", "upload", "concat". Udio supports "music" only.Task-specific input parameters. See the sections below for each task type.
Task types and input schemas
music — Generate music
The music task supports three modes depending on which input fields you provide.
- Inspiration Mode
- Custom Mode
- Continuation Mode
- Udio
Generate music from a natural language description. The AI interprets your prompt and creates lyrics, melody, and arrangement.
A natural language description of the music you want (e.g., “A chill lo-fi beat for studying”).
Set to
true to generate instrumental music without vocals.lyrics — Generate lyrics
A description of the lyrics you want (e.g., “A love song about the ocean at sunset”).
upload — Upload audio
A publicly accessible URL of the audio file to upload.
The upload returns a clip
id (at output.result[0].id). Pass it as continue_clip_id in a music task to extend your uploaded audio into a full song (see the Continuation Mode tab under the music task). Generating a new song in a different style from an uploaded reference (an “audio cover”) is not currently supported.concat — Concatenate clips
The clip ID to concatenate (obtained from a previous music task output).
Response
HTTP status code (
202 on success).202
Code examples
Errors
Create Task