Skip to main content
POST
/
suno
/
v1
/
extend
cURL
curl --request POST \
  --url https://api.ttapi.io/suno/v1/extend \
  --header 'Content-Type: application/json' \
  --header 'TT-API-KEY: <api-key>' \
  --data '
{
  "custom": true,
  "music_id": "<string>",
  "continue_at": 10,
  "gpt_description_prompt": "Night city lo-fi piano with rain ambience, soft vocal phrases, theme: \"Under the city lights\"",
  "prompt": "<string>",
  "title": "<string>",
  "tags": "rock, blues, hip-hop, r&b",
  "negative_tags": "<string>",
  "style_weight": 0.5,
  "weirdness_constraint": 0.5,
  "audio_weight": 0.5,
  "auto_lyrics": false,
  "vocal_gender": "Male",
  "persona_id": "<string>",
  "isStorage": false,
  "hookUrl": "<string>"
}
'
{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "job_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  }
}
Features:
  • Automatically preserves the original style, rhythm, and mood
  • Seamlessly connects verses, choruses, or bridges
  • Supports extending duration or adding full structures (e.g., new choruses)
  • Ideal for content completion, extended versions, and short video adaptations

Authorizations

TT-API-KEY
string
header
required

You can obtain your API key from the TTAPI Dashboard.

Body

application/json
custom
boolean
default:true
required

是否使用自定义模式。

  • true:音频将从歌词中生成
  • false:音频将根据灵感模式提示词生成
music_id
string
required

要延长的音轨的音频ID

continue_at
number
required

音频开始扩展的时间点(以秒为单位)。

Example:

10

gpt_description_prompt
string

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.

Example:

"Night city lo-fi piano with rain ambience, soft vocal phrases, theme: \"Under the city lights\""

prompt
string

Lyrics.

Used in custom mode (custom=true). Required when instrumental is false. The lyrics will be used and sung in the generated track.

title
string

Music title.

Used in custom mode (custom=true). Maximum length: 80 characters.

tags
string

Music style or genre.

Used in custom mode (custom=true).

Example:

"rock, blues, hip-hop, r&b"

negative_tags
string

Music styles or genres that should be excluded from generation.

Used in custom mode (custom=true).

style_weight
number

Music style weight, range: 0.00–1.00.

Used in custom mode. Valid range: 0 <= x <= 1.

Example:

0.5

weirdness_constraint
number

Audio creativity (weirdness) weight, range: 0.00–1.00.

Used in custom mode. Valid range: 0 <= x <= 1.

Example:

0.5

audio_weight
number

Audio weight, range: 0.00–1.00.

Used in custom mode. Valid range: 0 <= x <= 1.

Example:

0.5

auto_lyrics
boolean
default:false

Whether to automatically generate lyrics. Custom mode only.

  • true: The input lyrics will be creatively rewritten, similar to the inspiration mode prompt effect
  • false: Use the provided lyrics directly to generate the music
vocal_gender
enum<string>

Vocal gender.

  • Male: Male voice

  • Female: Female voice

Available options:
Male,
Female
persona_id
string

Music style ID. Custom mode only.

Use this parameter to generate music with a specific style.

isStorage
boolean
default:false

Whether to store the generated audio.

  • true: The audio will be stored and a TTAPI CDN URL will be returned
  • false: The original source URL will be returned
hookUrl
string

Callback notification URL

Response

Request successful

status
string
required
Example:

"SUCCESS"

message
string
required
Example:

"success"

data
object
required
Example:
{
"job_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Last modified on March 13, 2026