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=falsewith a description of up to 3,000 characters inprompt. - Custom lyrics mode uses
custom=trueand up to 5,000 characters of lyrics inprompt. Setinstrumental=truefor instrumental music. Optionaltitleandstyleaccept up to 80 and 1,000 characters respectively. - Max mode uses
max_mode=trueat twice the standard operation price. Also enable custom mode when the operation acceptscustom.variety=maxcontrols variation only. - Set
custom_model_idto use a custom model and omitversionandpersona_id. Use an ID from a completedcreateModeltask under the same account, API key, and group. - Set
persona_idto a result from a completedpersonaorcreateVoicetask under the same API key. style_weight,weirdnessorweirdness_constraint, andaudio_weightrange from 0 to 1.audio_formatacceptsmp3,m4a, orwav. Vocal gender acceptsMaleorFemale.varietyacceptsoff,normal,high,extra, ormax. Edits usegpt_descriptionin inspiration mode andpromptandtagsin 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.
| Operation | Capability | Required fields besides model | US$ per operation |
|---|---|---|---|
addInstrumental | Add an instrumental track | task_id | 0.053125 |
addStem | Add a stem | task_id | 0.053125 |
addVocals | Add vocals | task_id | 0.053125 |
adjustSpeed | Adjust speed | task_id, speed | 0.025500 |
alignedLyrics | Align lyrics | task_id | 0.000850 |
bpm | Analyze BPM | task_id | 0.000850 |
concat | Combine a complete song | task_id | 0.004250 |
coverSong | Cover a song | task_id | 0.053125 |
createModel | Create a custom model | name, audio_urls | 1.020000 |
createVoice | Create a voice | audio_url | 0.017000 |
crop | Crop audio | task_id, start_s, end_s | 0.008500 |
extend | Extend a track | task_id, continue_at | 0.053125 |
fadeIn | Fade in | task_id, duration_s | 0.008500 |
fadeOut | Fade out | task_id, duration_s | 0.008500 |
generateMp4 | Generate a music video | task_id | 0.004250 |
music | Generate music | See the modes above | 0.053125 |
inspo | Generate from inspiration | audio_urls | 0.072250 |
lyrics | Generate lyrics | prompt | 0.008500 |
mashup | Create a mashup | task_ids | 0.053125 |
midi | Generate MIDI | task_id | 0.053125 |
persona | Persona | task_id, name | 0.004250 |
remaster | Remaster | task_id | 0.053125 |
removeSection | Remove a segment | task_id, start_s, end_s | 0.008500 |
replaceMusic | Replace a segment | task_id, start_s, end_s | 0.053125 |
sounds | Generate sound effects | prompt | 0.010200 |
stemsAll | Extract all stems | task_id | 0.255000 |
stems | Extract stems | task_id | 0.106250 |
uploadCover | Cover uploaded audio | audio_url | 0.053125 |
uploadTask | Upload audio | audioFilePath | 0.004250 |
upsampleTags | Enhance tags | tags | 0.004250 |
download | Download audio | task_id | 0.001700 |
sample | Create a song from a sample | task_id, start_s, end_s | 0.053125 |
uploadExtend | Extend uploaded audio | audio_url, continue_at | 0.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.
| Operation | Optional fields |
|---|---|
addInstrumental | audio_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 |
addStem | audio_index, version, custom_model_id, custom, prompt, gpt_description, title, tags, negative_tags, style_weight, weirdness, audio_weight, variety, max_mode, audio_format |
addVocals | audio_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 |
adjustSpeed | audio_index, keep_pitch, title |
alignedLyrics | audio_index |
bpm | audio_index |
concat | audio_index, audio_format |
coverSong | audio_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 |
createModel | None |
createVoice | None |
crop | audio_index |
extend | audio_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 |
fadeIn | audio_index, title |
fadeOut | audio_index, title |
generateMp4 | audio_index |
music | custom, 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 |
inspo | version, custom_model_id, prompt, title, tags, negative_tags, style_weight, weirdness, audio_weight, vocal_gender, auto_lyrics, variety, max_mode, audio_format |
lyrics | lyrics_model |
mashup | audio_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 |
midi | audio_index |
persona | audio_index, describe, styles, vocal_start_s, vocal_end_s |
remaster | audio_index, variation_category, audio_format |
removeSection | audio_index |
replaceMusic | audio_index, infill_lyrics, version, custom_model_id, prompt, title, tags, negative_tags, variety, max_mode, audio_format |
sounds | version, type, bpm, key, audio_format |
stemsAll | audio_index, audio_format |
stems | audio_index, stem_type, audio_format |
uploadCover | version, 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 |
uploadTask | None |
upsampleTags | None |
download | audio_index, formats, format |
sample | audio_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 |
uploadExtend | version, 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_urlstakes 6–24 audio URLs.inspo.audio_urlstakes 1–4.speedranges from 0.25 to 4 andbpmfrom 1 to 300.durationtakes an integer from 10 to 360 seconds and requires custom mode for creation. Fadeduration_smust be positive and within the source duration.lyrics_modelacceptsclassicorremi.instrumental,custom, andmax_modeare JSON booleans. Track numbers are positive integers.- For
download, provide either oneformator aformatsarray containing 1–3 distinct formats. Options aremp3,m4a, andwav.
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_indexstarts at 1 and defaults to 1.mashuprequires exactly two ownedtask_ids. Useaudio_indexesto select tracks from them.addVocalsandaddInstrumentaltake a completeduploadTaskas their source.concattakes anextendtask 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 fieldformatto 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 anuploadTaskfirst. With the same API key, pass its task ID,audio_index=1,start_s, andend_s. The interval must satisfy0 ≤ start_s < end_s ≤ source duration. A verified duration is sufficient when the upload result has no playback URL. - For
uploadExtend, passaudio_urlandcontinue_atdirectly. The start must be at least one second and below the source duration. This operation uses custom mode. Omitcustom,instrumental, andgpt_description. Optional fields includeprompt,tags,duration_s, andmax_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_ssets 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
| kind | Result |
|---|---|
| music | Tracks with playback URLs, track numbers, and optional titles, durations, and lyrics |
| upload | Uploaded track references, with optional playback URL and duration |
| files | Audio files in selected formats or a music video |
| lyrics / tags | Lyrics or enhanced style tags |
| midi | Structured instruments and notes available as JSON. No .mid file. |
| alignment | Lyric timestamps. Instrumental tracks can return an empty array. |
| bpm | Average, minimum, and maximum BPM |
| resource | Custom 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.