This endpoint helps you understand what parameters are required or optional for each task type when using the Generate endpoint.
Recommended Workflow : Before calling /generate, first call this endpoint with your desired task type to understand exactly which fields to include in your request.
Query Parameters
The task type to get schema for. If not provided, returns schemas for all tasks. Value Description createCreate new music from scratch extendExtend existing music upload_extendExtend uploaded audio upload_coverCover uploaded audio coverCreate cover of existing clip use_styles_lyricsUse styles from existing clip with new lyrics replace_sectionReplace a section of existing audio add_instrumentalAdd instrumental to audio add_vocalsAdd vocals to audio gen_stem_twoGenerate two-track stems gen_stem_allGenerate all stems mashupMashup two songs
Response
Returns an array of task schema objects containing:
The task type identifier.
Human-readable description of the task.
List of required fields with their descriptions, types, and examples.
List of optional fields with their descriptions, types, and examples.
List of fields that will be ignored for this task type.
A complete request example for this specific task.
Example
cURL (Get all schemas)
cURL (Get specific task schema)
Node.js
Python
curl -X GET "https://api.mountsea.ai/suno/v2/generate/schema" \
-H "Authorization: Bearer your-api-key"
Response Example
[
{
"task" : "extend" ,
"description" : "Extend existing music" ,
"required" : [
{
"field" : "clip_id" ,
"description" : "Source clip ID" ,
"example" : "clip_abc123" ,
"type" : "string"
}
],
"optional" : [
{
"field" : "continue_at" ,
"description" : "Continue position in seconds" ,
"example" : 30 ,
"type" : "number"
},
{
"field" : "tags" ,
"description" : "Style tags" ,
"example" : "Pop, Happy" ,
"type" : "string"
},
{
"field" : "prompt" ,
"description" : "Lyrics or prompt text" ,
"example" : "[Verse] \n Hello world..." ,
"type" : "string"
}
],
"notAllowed" : [
"range" ,
"audio_url"
],
"example" : {
"task" : "extend" ,
"model" : "chirp-v50" ,
"clip_id" : "clip_abc123" ,
"continue_at" : 30 ,
"tags" : "Pop, Happy"
}
}
]
Task Types Overview
Task Description Key Required Fields createCreate new music modelextendExtend existing clip clip_id, modelupload_extendExtend uploaded audio audio_url, modelupload_coverCover uploaded audio audio_url, modelcoverCover existing clip clip_id, modeluse_styles_lyricsUse styles with new lyrics clip_id, modelreplace_sectionReplace audio section clip_id, range, infill_context_range, continued_aligned_prompt, modeladd_instrumentalAdd instrumental clip_id, range, modeladd_vocalsAdd vocals clip_id, range, modelgen_stem_twoTwo-track stems clip_id, modelgen_stem_allAll stems clip_id, modelmashupMashup two songs mashup_clip_ids, model
All tasks require task and model fields. Use this endpoint to get the complete list of required and optional fields for each specific task type.