Suno V6 music API

Create music and lyrics, edit audio, extract stems, and download results with Suno V6.

Use an Official Group API key with suno. Set version to v6, v6-wild, or v6-mini. Operation prices apply equally to all three versions. Each operation returns a task ID. Query it with the same key.

Create music

curl https://app.apipool.dev/v1/music/generations \
  -H "Authorization: Bearer $APIPOOL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"suno","version":"v6","prompt":"An original solo piano piece with a warm, light morning mood","instrumental":true}'

A successful submission returns HTTP 202.

{
  "id": "musictask_...",
  "object": "music_generation.task",
  "status": "submitted",
  "model": "suno"
}

Poll every five seconds until the status is completed or failed. Queries are free.

curl https://app.apipool.dev/v1/tasks/musictask_... \
  -H "Authorization: Bearer $APIPOOL_API_KEY"

Read the completed output in result. Music has the shape {"kind":"music","tracks":[{"audioIndex":1,"url":"https://...","durationSeconds":30}]}. A task can return multiple tracks. Use the original audioIndex for follow-up operations. Files are retained for 24 hours and playback URLs expire. Query again for a fresh URL while the file is retained.

Creation modes and parameters

  • Inspiration mode uses custom=false with a description of up to 3,000 characters in prompt.
  • Custom lyrics mode uses custom=true and up to 5,000 characters of lyrics in prompt. Set instrumental=true for instrumental music. Optional title and style accept up to 80 and 1,000 characters respectively.
  • Max mode uses max_mode=true at twice the standard operation price. Also enable custom mode when the operation accepts custom. variety=max controls variation only.
  • Set custom_model_id to use a custom model and omit version and persona_id. Use an ID from a completed createModel task under the same account, API key, and group.
  • Set persona_id to a result from a completed persona or createVoice task under the same API key.
  • style_weight, weirdness or weirdness_constraint, and audio_weight range from 0 to 1. audio_format accepts mp3, m4a, or wav. Vocal gender accepts Male or Female.
  • variety accepts off, normal, high, extra, or max. Edits use gpt_description in inspiration mode and prompt and tags in custom mode.
  • Time fields use seconds. Time-based edits require a completed track with a verifiable duration and an endpoint within that duration. The service stores and measures uploaded audio before use. Re-upload older audio if the original duration cannot be verified. For completed generated tracks with missing duration, the service measures the retained original file before editing. Editing requires that original file to remain available and verifiable.

Select an operation in the Suno playground to view its parameters. Send only fields supported by that operation.

Operations and pricing

Use POST /v1/music/generations for music and POST /v1/music/generations/{operation} for other operations. Set model=suno in every request.

The table gives Official Group standard prices in US dollars per successful operation. The request uses the price active on submission. Multiple songs, stems, or formats from one operation incur one charge. Failed operations are free. The model page shows current rates. Supported Max operations cost twice the listed rate.

OperationCapabilityRequired fields besides modelUS$ per operation
addInstrumentalAdd an instrumental tracktask_id0.053125
addStemAdd a stemtask_id0.053125
addVocalsAdd vocalstask_id0.053125
adjustSpeedAdjust speedtask_id, speed0.025500
alignedLyricsAlign lyricstask_id0.000850
bpmAnalyze BPMtask_id0.000850
concatCombine a complete songtask_id0.004250
coverSongCover a songtask_id0.053125
createModelCreate a custom modelname, audio_urls1.020000
createVoiceCreate a voiceaudio_url0.017000
cropCrop audiotask_id, start_s, end_s0.008500
extendExtend a tracktask_id, continue_at0.053125
fadeInFade intask_id, duration_s0.008500
fadeOutFade outtask_id, duration_s0.008500
generateMp4Generate a music videotask_id0.004250
musicGenerate musicSee the modes above0.053125
inspoGenerate from inspirationaudio_urls0.072250
lyricsGenerate lyricsprompt0.008500
mashupCreate a mashuptask_ids0.053125
midiGenerate MIDItask_id0.053125
personaPersonatask_id, name0.004250
remasterRemastertask_id0.053125
removeSectionRemove a segmenttask_id, start_s, end_s0.008500
replaceMusicReplace a segmenttask_id, start_s, end_s0.053125
soundsGenerate sound effectsprompt0.010200
stemsAllExtract all stemstask_id0.255000
stemsExtract stemstask_id0.106250
uploadCoverCover uploaded audioaudio_url0.053125
uploadTaskUpload audioaudioFilePath0.004250
upsampleTagsEnhance tagstags0.004250
downloadDownload audiotask_id0.001700
sampleCreate a song from a sampletask_id, start_s, end_s0.053125
uploadExtendExtend uploaded audioaudio_url, continue_at0.053125

For music, choose version or custom_model_id and provide a description or lyrics according to the mode. Other versioned operations default to V6.

Optional fields by operation

The table omits model and the required fields listed above. Each field applies to its listed operations. Max is available where max_mode appears.

OperationOptional fields
addInstrumentalaudio_index, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, style_weight, weirdness, audio_weight, vocal_gender, variety, max_mode, audio_format
addStemaudio_index, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, style_weight, weirdness, audio_weight, variety, max_mode, audio_format
addVocalsaudio_index, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, style_weight, weirdness, audio_weight, vocal_gender, variety, max_mode, audio_format
adjustSpeedaudio_index, keep_pitch, title
alignedLyricsaudio_index
bpmaudio_index
concataudio_index, audio_format
coverSongaudio_index, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, style_weight, weirdness, audio_weight, vocal_gender, persona_id, duration_s, variety, max_mode, audio_format
createModelNone
createVoiceNone
cropaudio_index
extendaudio_index, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, vocal_gender, style_weight, weirdness, audio_weight, auto_lyrics, persona_id, duration_s, variety, max_mode, audio_format
fadeInaudio_index, title
fadeOutaudio_index, title
generateMp4audio_index
musiccustom, instrumental, version, custom_model_id, prompt, title, style, negative_tags, auto_lyrics, persona_id, vocal_gender, style_weight, weirdness_constraint, audio_weight, variety, max_mode, audio_format, duration
inspoversion, custom_model_id, prompt, title, tags, negative_tags, style_weight, weirdness, audio_weight, vocal_gender, auto_lyrics, variety, max_mode, audio_format
lyricslyrics_model
mashupaudio_indexes, instrumental, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, auto_lyrics, style_weight, weirdness, audio_weight, vocal_gender, persona_id, variety, max_mode, audio_format
midiaudio_index
personaaudio_index, describe, styles, vocal_start_s, vocal_end_s
remasteraudio_index, variation_category, audio_format
removeSectionaudio_index
replaceMusicaudio_index, infill_lyrics, version, custom_model_id, prompt, title, tags, negative_tags, variety, max_mode, audio_format
soundsversion, type, bpm, key, audio_format
stemsAllaudio_index, audio_format
stemsaudio_index, stem_type, audio_format
uploadCoverversion, custom_model_id, custom, instrumental, gpt_description, prompt, tags, title, negative_tags, style_weight, weirdness, audio_weight, auto_lyrics, vocal_gender, persona_id, duration_s, variety, max_mode, audio_format
uploadTaskNone
upsampleTagsNone
downloadaudio_index, formats, format
sampleaudio_index, instrumental, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, auto_lyrics, style_weight, weirdness, audio_weight, vocal_gender, variety, max_mode, audio_format
uploadExtendversion, custom_model_id, prompt, tags, title, negative_tags, style_weight, weirdness, audio_weight, auto_lyrics, vocal_gender, persona_id, duration_s, variety, max_mode, audio_format
  • createModel.audio_urls takes 6–24 audio URLs. inspo.audio_urls takes 1–4.
  • speed ranges from 0.25 to 4 and bpm from 1 to 300. duration takes an integer from 10 to 360 seconds and requires custom mode for creation. Fade duration_s must be positive and within the source duration.
  • lyrics_model accepts classic or remi. instrumental, custom, and max_mode are JSON booleans. Track numbers are positive integers.
  • For download, provide either one format or a formats array containing 1–3 distinct formats. Options are mp3, m4a, and wav.

Edit and download in multiple formats

Source tasks and resources must belong to the same account, API key, and group. Use APIPool task IDs from your own requests.

curl https://app.apipool.dev/v1/music/generations/crop \
  -H "Authorization: Bearer $APIPOOL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"suno","task_id":"musictask_...","audio_index":1,"start_s":1,"end_s":10}'
  • audio_index starts at 1 and defaults to 1.
  • mashup requires exactly two owned task_ids. Use audio_indexes to select tracks from them.
  • addVocals and addInstrumental take a completed uploadTask as their source.
  • concat takes an extend task as its source.
  • Choose download formats, for example formats:["mp3","m4a","wav"]. Billing counts one operation. An M4A URL can end in .mp4. Use the result field format to identify the file type.
  • Uploads and custom-model audio require public URLs. Use material you have permission to use.

Upload, sample, and extend

Provide audio at a URL the service can access. Local paths and blob: URLs are unavailable. uploadTask and uploadExtend accept MP3, WAV, or M4A up to 15 MiB per input. The service verifies and stores the audio before submitting. Keep the URL valid until submission returns and omit client-supplied duration.

  • For sample, complete an uploadTask first. With the same API key, pass its task ID, audio_index=1, start_s, and end_s. The interval must satisfy 0 ≤ start_s < end_s ≤ source duration. A verified duration is sufficient when the upload result has no playback URL.
  • For uploadExtend, pass audio_url and continue_at directly. The start must be at least one second and below the source duration. This operation uses custom mode. Omit custom, instrumental, and gpt_description. Optional fields include prompt, tags, duration_s, and max_mode.
  • Each successful sample or upload extension costs US$0.053125 in standard mode or US$0.106250 in Max. Input duration does not affect the number of charges. duration_s sets a target output duration.
  • Files are reusable for 24 hours. Re-upload the original if it has expired or the original upload cannot be verified.
curl https://app.apipool.dev/v1/music/generations/uploadExtend \
  -H "Authorization: Bearer $APIPOOL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"suno","version":"v6","audio_url":"https://example.com/owned-reference.wav","continue_at":5,"prompt":"[Instrumental]","tags":"piano","duration_s":30}'

Result types

kindResult
musicTracks with playback URLs, track numbers, and optional titles, durations, and lyrics
uploadUploaded track references, with optional playback URL and duration
filesAudio files in selected formats or a music video
lyrics / tagsLyrics or enhanced style tags
midiStructured instruments and notes available as JSON. No .mid file.
alignmentLyric timestamps. Instrumental tracks can return an empty array.
bpmAverage, minimum, and maximum BPM
resourceCustom model or Persona ID

Status and troubleshooting

submitted and processing indicate work in progress. meter_pending means delivery or billing is still being verified. Continue polling. If you receive submission_unknown, retain the task ID and contact support before retrying. Use the terminal status to determine success or failure.

  • HTTP 400. Check required fields, mode combinations, track numbers, ownership, and time ranges.
  • HTTP 401 or 403. Check your API key and Official Group access.
  • HTTP 404. Check the task ID and use the key that created it for queries and references.
  • HTTP 429. Reduce concurrency and query the existing task later.
  • Expired URL. Query again within the 24-hour retention period. Files can become unavailable after retention.

Use download to export audio. The old vox and wav operations are unavailable.