Skip to navigation

Suno v6

View as Markdown

Suno v6 on the Audio API: POST https://api.beatapi.io/v1/audios/tasks. Write a song, then extend it, cover it, split it into stems or convert it to WAV, by naming the task that made it. A call returns one or two songs for a single fixed price, whatever their length.

Beta. Suno is served through third-party routes; a call may queue longer than usual, and a task that fails is not billed.

Models

ModelWhat it is
suno-v6The default and recommended model: more natural vocals and richer detail.
suno-v6-miniLighter and faster, balancing quality and speed. duration has no effect on it.
suno-v6-wildBolder, more distinctive styles.

The three share one request contract and one price list. Pick one with model; everything below applies to each. For duration, suno-v6 works best at 60 seconds or more (a shorter target usually still returns about 60 seconds), suno-v6-wild mostly follows it, and suno-v6-mini ignores it.

Simple mode and custom mode

custom_mode selects how much of the song you write yourself. It is false unless you send it.

Simple mode (custom_mode false)Custom mode (custom_mode true)
promptRequired. A description of the song, at most 3,000 characters.The lyrics, up to 5,000 characters. Required unless instrumental is true.
style, titleNot accepted.Both required. style up to 1,000 characters, title up to 80.
instrumentalOptional.Optional; true means no vocals and no lyrics.
negative_tags, vocal_gender (m or f)Not accepted.Optional. negative_tags names styles to avoid.
style_weight, weirdness_constraint, audio_weight (0–1), variety (0–4)Not accepted.Optional. audio_weight weighs the vocals, so it cannot be sent with instrumental: true.
persona_id, persona_model (style_persona or voice_persona)Not accepted.Optional; persona_model needs persona_id.
duration (10–360 seconds)Not accepted.Optional target length. It does not change the price.
{
"model": "suno-v6",
"custom_mode": true,
"title": "Driving Home",
"style": "warm acoustic folk, male vocal, fingerpicked guitar",
"prompt": "[Verse]\nThe road is gold and the dashboard hums\n[Chorus]\nI am driving home",
"vocal_gender": "m",
"negative_tags": "heavy metal, screaming"
}

Actions

action picks the operation and defaults to generate. Each action accepts only its own fields; an extra field returns 400 bad_request and the message names it (style is not used by action lyrics; leave it out). Prices are in USD per call.

actionWhat it doesRequiredOptionalPrice
generateA new song from a prompt.prompt (plus style and title in custom mode)custom_mode, instrumental, and the custom-mode fields above$0.10
extendContinues a song.A source: source_task_id (+ audio_id) or audio_urlprompt, style, title, continue_at (seconds, 0–480), instrumental, negative_tags, vocal_gender, the weights and variety, persona_id, persona_model$0.10
coverRe-sings a song in a new style.A source: source_task_id (+ audio_id) or audio_urlprompt, style, title, instrumental, duration, the song knobs, persona_id, persona_model$0.10
add_vocalsAdds vocals to an instrumental.audio_url, style, title, negative_tagsprompt and the song knobs$0.10
add_instrumentalAdds an instrumental backing to vocals.audio_url, style, title, negative_tagsprompt and the song knobs$0.10
replace_sectionRewrites part of one of your songs.source_task_id (+ audio_id), prompt, style, title, section_start, section_end (seconds, end after start), full_lyricslyrics, the song knobs, persona_id, persona_model$0.042
mashupBlends two songs into one.audio_urls (exactly two), style, titleprompt, duration, the song knobs, persona_id, persona_model$0.10
soundsA sound effect or loop.promptsound_loop, sound_tempo (1–300), sound_key, grab_lyrics$0.021
speechSpoken word. Simple mode speaks a description; with custom_mode: true it speaks your script.prompt (simple mode) or script (custom mode, which does not take prompt)custom_mode, and in custom mode tone, variety, vocal_gender, background_music$0.10
lyricsWrites lyrics only.promptNone$0.0033
boost_styleExpands a short style description.styleNone$0.0033
timestamped_lyricsLyrics aligned to the audio.source_task_id (+ audio_id)None$0.0042
separateSplits a song into stems.A source: source_task_id (+ audio_id) or audio_urlseparation_type, stem_nameSee below
convert_wavA WAV file of one of your songs.source_task_id (+ audio_id)None$0.0033
midi (beta)MIDI notes of one of your songs.source_task_id (+ audio_id)NoneFree
music_videoA music video of one of your songs.source_task_id (+ audio_id)author, domain_name$0.017
cover_imageCover art for a finished task.source_task_idNoneFree
personaSaves a voice or style as a reusable persona.source_task_id (+ audio_id), name, descriptionvocal_start, vocal_end (seconds, end after start), styleFree

“The song knobs” are negative_tags, vocal_gender, style_weight, weirdness_constraint, audio_weight and variety.

separate is priced by separation_type, which defaults to separate_vocal:

separation_typeResultPrice
separate_vocal (default)Two tracks: vocals and instrumental.$0.084
split_stemTwelve stem tracks.$0.42
split_stem_advancedOne named stem; stem_name is required (for example Lead Vocal, Drum Kit, Bass, Piano) and is refused with any other separation_type.$0.17

midi is a beta: its notes arrive in output.data and the format may still change. What the other actions return besides files is in output.data too: the lyrics from lyrics, the aligned lyrics from timestamped_lyrics, the boosted style from boost_style and the persona id from persona.

Work on a song you made

The general rules apply. extend, cover and separate can also take a public HTTPS audio_url instead of source_task_id, for audio you did not make here; send exactly one of the two. add_vocals, add_instrumental and mashup always take links.

Take output.tracks[0].id from the finished task, then continue from it.

Extend the song from the 60-second mark:

{
"model": "suno-v6",
"action": "extend",
"source_task_id": "task_9Fh2Lq",
"audio_id": "6b0f8f4e-2c1a-4f52-9a53-1d8d3f0c7a11",
"continue_at": 60,
"prompt": "A quiet bridge, then a final chorus"
}

Convert the same song to WAV:

{
"model": "suno-v6",
"action": "convert_wav",
"source_task_id": "task_9Fh2Lq",
"audio_id": "6b0f8f4e-2c1a-4f52-9a53-1d8d3f0c7a11"
}

Split it into vocals and an instrumental:

{
"model": "suno-v6",
"action": "separate",
"source_task_id": "task_9Fh2Lq",
"audio_id": "6b0f8f4e-2c1a-4f52-9a53-1d8d3f0c7a11",
"separation_type": "separate_vocal"
}

A follow-up runs on the same route as the task it builds on. If that route has been taken out of service the call returns 400 bad_request with the task this request builds on can no longer be worked on; create it again; generate the song again in that case. A song that came back as a single audio file has no separate track to work on: extend, cover and separate still work from it while its file is available, and any other follow-up returns a 400 that says which actions can be used. A file older than six days is refused with the song of source_task_id has expired; send it as audio_url or generate again.

A cover image made by generate and the other song actions is delivered through a signed link that stays valid for 14 days.

Errors

MessageFix
"prompt" is required: describe the songSimple mode needs prompt.
style is read only in custom mode; send custom_mode true with itSend custom_mode: true, or drop the field.
"style" is required in custom modeCustom mode needs both style and title.
"prompt" carries the lyrics in custom mode and is required unless instrumental is trueSend the lyrics, or instrumental: true.
"prompt" is at most 3000 characters in simple mode; use custom mode to send full lyricsSwitch to custom mode for long lyrics.
style is not used by action lyrics; leave it outThe action does not read that field.
"source_task_id" is required for action midi: the id of your own task that made the trackName the task that made the song.
action extend takes either source_task_id (one of your tracks) or audio_url, not both and not neitherSend exactly one source.
"stem_name" is required with separation_type split_stem_advancedName the stem.
"section_end" must be after "section_start"Fix the section times.

Price list

All three models share these prices, in USD per call. A call costs the same for a 30-second and a four-minute song.

ActionPrice
generate, extend, cover, add_vocals, add_instrumental, mashup, speech$0.10
replace_section$0.042
sounds$0.021
music_video$0.017
timestamped_lyrics$0.0042
lyrics, boost_style, convert_wav$0.0033
separate with separate_vocal / split_stem / split_stem_advanced0.084/0.084 / 0.42 / $0.17
persona, midi, cover_imageFree