Use the Suno sample API to expand short audio snippets into fuller songs for creative development, sampling workflows, and music prototyping.
Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
You can obtain your API key from the TTAPI Dashboard.
Sample music ID returned by the upload endpoint as music_id.
Sample music start time, in seconds.
Sample music end time, in seconds.
Whether to use custom mode.
Whether to generate instrumental music.
Model to use.
chirp-v5-5, chirp-v5, chirp-v4-5+, chirp-v4-5, chirp-v4-5-all, chirp-v4, chirp-v3-5, chirp-v3-0 Prompt for inspiration mode.
When not using custom mode (custom=false), this parameter is always required. Lyrics will be automatically generated from this prompt. Maximum length: 500 characters.
"Night city lo-fi piano with rain ambience, soft vocal phrases, theme: \"Under the city lights\""
Lyrics.
Used in custom mode (custom=true). Required when instrumental is false. The lyrics will be used and sung in the generated track.
Music title.
Used in custom mode (custom=true). Maximum length: 80 characters.
Music style or genre.
Used in custom mode (custom=true).
"rock, blues, hip-hop, r&b"
Music styles or genres that should be excluded from generation.
Used in custom mode (custom=true).
Music style weight, range: 0.00–1.00.
Used in custom mode. Valid range: 0 <= x <= 1.
0.5
Audio creativity (weirdness) weight, range: 0.00–1.00.
Used in custom mode. Valid range: 0 <= x <= 1.
0.5
Audio weight, range: 0.00–1.00.
Used in custom mode. Valid range: 0 <= x <= 1.
0.5
Whether to automatically generate lyrics. Custom mode only.
Vocal gender.
Male: Male voice
Female: Female voice
Male, Female Whether to store the generated audio.
Callback notification URL