by Suno

Songs with Vocals

suno/v6/audio-inpaint
Suno v6 AI Music Generator online
  • Your own lyrics
  • Music
  • Stem Splitter
  • Song Studio
  • Song Studio
  • Song Studio

About Suno v6

Suno v6 turns your lyrics, or a one-line idea, into finished songs with real vocals and a full arrangement. Each run gives you two complete versions to choose from, and in testing an 11-line lyric sheet was sung word for word, in order. Songs run from about half a minute to three and a half minutes, at one flat price.

Call it with the model name suno/v6/audio-inpaint on POST /jobs/createTask, from $0.03.

Introduction

The Suno v6 replace section endpoint changes one part of a song without regenerating the whole thing. You mark a section of at least ten seconds with start_seconds and end_seconds and give the words it should sing; Suno re-sings that section and blends it into the parts before and after. It is the fix for a weak verse, a line you want to rewrite or a name you need to change. Each request returns up to two complete versions of the song.

Key features

Only the marked section changes

We replaced a verse in a synth-pop song, a bridge in an indie-pop song and two verse lines in a lo-fi piece. Outside the section, the returned songs matched the original with 97–99.9% spectral similarity; inside it, the sound changed as intended. The song is re-rendered rather than spliced, so the untouched parts are not bit-identical. The edited section usually keeps its length within 0.3 seconds, though one of our eight versions stretched it by about 9 seconds.

Joins that follow the song

Across the twelve joins we measured (two edges, three songs, up to two versions each), the beat grid ran on within 35 milliseconds at eleven, and the tempo on either side matched within the resolution of our measurement. Loudness changes at the joins stayed within what the original song does at the same moments, for example where a chorus comes back in.

Request parameters

ParameterRequiredDescription
audio_urlYesThe voice or music track to use.
audio_weightNoHow strongly the persona’s voice shapes the song. ≥ 0 · ≤ 1
end_secondsYesThe end of the replacement section. Select at least 10 seconds and at most half the song. ≥ 0
full_lyricsYesThe complete song lyrics with the new section included.
lyricsYesWrite your own lyrics, or leave it to the model.
negative_promptNoStyles or sounds you don't want in the track.
persona_idNoID of a saved persona whose style or voice you want to reuse.
persona_modelNoWhether that persona is a style or a voice. style_persona · voice_persona
promptYesDescribe what you want to make.
start_secondsYesThe start of the section to replace, in seconds from the beginning. ≥ 0
style_weightNoHow closely to follow the style in your prompt. ≥ 0 · ≤ 1
titleNoName of the song. It isn’t sung. Default: Untitled
varietyNoHow different the two versions are from each other. ≥ 0 · ≤ 4
vocal_genderNoMake a higher or lower lead vocal more likely. female · male
weirdnessNoHow experimental the song may get. ≥ 0 · ≤ 1

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per run
Standard$0.03

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Rewrite a line or a verse

Change a lyric that does not land, swap a name, or translate one verse while the rest of the song stays as recorded. Mark the section, write the new lines in lyrics, and update the same lines inside full_lyrics.

Personalise a song for an occasion

Keep a finished song and change only the verse that mentions a name, a date or a city. Because the melody and production around it are kept, many personalised versions can share the same track.

Prompt guide & pro tips

Mark the section with a margin

Start the section a beat before the first word you want to change and end it just after the last one. The section must be at least ten seconds long and may cover at most half the song; sections shorter than ten seconds are rejected before anything is sent.

Keep the two lyric fields in step

Put only the new lines in lyrics. In full_lyrics, paste the whole song with those lines already replaced and every other section exactly as sung, including section tags. Reuse the original style description in prompt so the section keeps the same singer and arrangement.

Listen at the edges

Play a few seconds before and after each edge of the section in each returned version. Choose the version where the first new word and the return to the original sound natural, then check that the timing of later sections still suits any video or lyric sync built on the song.

Confirm the new words were sung

On most songs the section sings the lines you sent, but on a heavily processed vocal we saw it reuse lines from earlier in the song instead. Transcribe or listen to the section in each version before publishing, and send the request again if neither version sings the new words.

API quick start

Call the Suno v6 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model suno/v6/audio-inpaint and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "suno/v6/audio-inpaint",
  "input": {
    "prompt": "Calm ambient pads with a slow rising motif",
    "audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3",
    "start_seconds": 0,
    "end_seconds": 0,
    "lyrics": "[Verse]\nMorning light on the window\nCoffee warm in my hands",
    "full_lyrics": "[Verse]\nMorning light on the window\nCoffee warm in my hands"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Suno v6 API questions

How much does the Suno v6 API cost?

Suno v6 starts at $0.03 per run with Song Studio, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the Suno v6 · Song Studio API?

Prompt length (characters): 1,000. Requests outside these limits are rejected before anything is charged.

More about Suno v6