Generate Schema
Suno
Generate Schema
Get the required and optional fields for each generate task type
GET
Generate Schema
This endpoint helps you understand what parameters are required or optional for each task type when using the Generate endpoint.
Query Parameters
The task type to get schema for. If not provided, returns schemas for all tasks.
| Value | Description |
|---|---|
create | Create new music from scratch |
extend | Extend existing music |
upload_extend | Extend uploaded audio |
upload_cover | Cover uploaded audio |
cover | Create cover of existing clip |
use_styles_lyrics | Use styles from existing clip with new lyrics |
replace_section | Replace a section of existing audio |
add_instrumental | Add instrumental to audio |
add_vocals | Add vocals to audio |
gen_stem_two | Generate two-track stems |
gen_stem_all | Generate all stems |
mashup | Mashup two songs |
sample | Sample from existing clip |
inspiration | Generate from inspiration playlist |
sound | Generate sound effects |
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
Response Example
Task Types Overview
| Task | Description | Key Required Fields |
|---|---|---|
create | Create new music | model |
extend | Extend existing clip | clip_id, model |
upload_extend | Extend uploaded audio | audio_url, model |
upload_cover | Cover uploaded audio | audio_url, model |
cover | Cover existing clip | clip_id, model |
use_styles_lyrics | Use styles with new lyrics | clip_id, model |
replace_section | Replace audio section | clip_id, range, infill_context_range, continued_aligned_prompt, model |
add_instrumental | Add instrumental | clip_id, range, model |
add_vocals | Add vocals | clip_id, range, model |
gen_stem_two | Two-track stems | clip_id, model |
gen_stem_all | All stems | clip_id, model |
mashup | Mashup two songs | mashup_clip_ids, model |
sample | Sample from existing clip | clip_id, range, model |
inspiration | Generate from real playlist | playlist_id, model — see Inspiration Guide |
sound | Generate sound effects | sound, 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.