Suno Music
Edit & Transform
crop/removeSection/fadeIn/fadeOut/adjustSpeed/replaceMusic/sample/mashup/concat/coverSong/remaster
Editing operations all take an existing task as source:
POST https://toapis.com/v1/music/generations/{operation}modelstringbodyrequiredFixed
"suno"task_idstringbodyrequiredSource task ID (local
tsk_aud_ ID)audio_indexnumberbodySource track index
Section editing ($0.008 each)
| operation | Description | Extra required |
|---|---|---|
crop | Keep a time range | start_s, end_s |
removeSection | Remove a time range | start_s, end_s |
curl --request POST \
--url https://toapis.com/v1/music/generations/crop \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"model":"suno","task_id":"tsk_aud_xxx","audio_index":1,"start_s":10,"end_s":40}'Fades ($0.008 each)
| operation | Description | Extra required |
|---|---|---|
fadeIn | Intro fade-in | duration_s |
fadeOut | Outro fade-out | duration_s |
adjustSpeed — tempo ($0.024)
speednumberbodyrequiredSpeed factor, e.g.
0.8 / 1.25keep_pitchbooleanbodyPreserve pitch while changing speed
Rewrite & remaster
replaceMusic — section rewrite ($0.05, Max $0.10)
start_snumberbodyrequiredStart (seconds)
end_snumberbodyrequiredEnd (seconds)
infill_lyricsstringbodyNew lyrics for the section
max_modebooleanbodyMax tier (no
custom field; applies directly)sample — resample ($0.05, Max $0.10)
task_id must be an uploadTask product; other sources are rejected.start_snumberbodyrequiredSample start (seconds)
end_snumberbodyrequiredSample end (seconds)
gpt_descriptionstringbodyRemix description (required when custom=false)
coverSong — cover ($0.05, Max $0.10)
gpt_descriptionstringbodyTarget style description (required when custom=false)
custombooleanbodypromptstringbodyLyrics when custom=true
stylestringbodyTarget style
remaster — remaster ($0.05)
variation_categorystringbodyRemaster bias (optional)
mashup — blend ($0.05, Max $0.10)
task_idsarraybodyrequiredExactly 2 source task IDs
audio_indexesarraybodyTrack index per source task
gpt_descriptionstringbodyBlend description (required when custom=false)
curl --request POST \
--url https://toapis.com/v1/music/generations/mashup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"model":"suno","task_ids":["tsk_aud_aaa","tsk_aud_bbb"],"gpt_description":"blend into seamless lo-fi"}'concat — join ($0.004)
Joins segments produced by extend into a full track.
task_idstringbodyrequiredextend source task IDResponse
task_idstringNew task ID
statusstringsubmitted