var2_create_audio
Create, EXTEND, or edit MUSIC / a song / a track (Suno). type ∈ create-music (default) | extend-music | replace-music-section. "extend that track by N seconds" / "make the song longer" / "continue past 1:00" → type=extend-music, track id in audioRecordId. "That track" without a re-pasted id = the track from earlier in this conversation — use its placeholder_id from context; never answer null / ask for a link. "replace / swap seconds X-Y of the track" → type=replace-music-section. ANY make/extend/lengthen/replace-section on a song / track / music = THIS tool — never a video or image tool, never an invented tool. "A song AND cover art" → START HERE (art = follow-up var2_create_image, not an upload). customMode=false: prompt = song description ≤2800 chars on V6/V6_WILD (≤500 on V5_5 and older). customMode=true: prompt = full lyrics; style + title required. Never name real artists or songs (copyright filter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Default create-music. | |
| model | No | Default suno. | |
| style | No | Required when customMode=true. Max 200 chars. | |
| title | No | Required when customMode=true. | |
| prompt | No | customMode=false: song description ≤2800 chars on V6/V6_WILD, ≤500 on older (Suno writes lyrics). customMode=true: full lyrics. | |
| continueAt | No | Required for extend-music. Seconds offset to extend from. | |
| customMode | No | Default false. Set true when the user provides exact lyrics. Requires style + title. | |
| infillEndS | No | Required for replace-music-section. Window end in seconds (> infillStartS; ~6-60s window). | |
| webhook_url | No | Optional. https:// URL var2 POSTs a signed delivery to when the asset is ready (or fails). Signature header: X-VAR2-Signature: t=<unix>, v1=<hex(hmac_sha256(webhook_secret, t + "." + body))>. Retried with exponential backoff (8 attempts over ~4 days). | |
| infillStartS | No | Required for replace-music-section. Window start in seconds. | |
| instrumental | No | ||
| audioRecordId | No | Required for extend-music / replace-music-section. placeholder_id from the source var2_create_audio call (var2-hosted tracks only). "That track" = the most recent track in this conversation — take its placeholder_id from context rather than declining. | |
| model_version | No | Default V6 (latest). V6_WILD for bolder, more experimental takes. Older only for a specific sound. | V6 |