ToAPIsToAPIs
Suno Music

Edit & Transform

crop/removeSection/fadeIn/fadeOut/adjustSpeed/replaceMusic/sample/mashup/concat/coverSong/remaster

POST
/v1/music/generations/crop

Editing operations all take an existing task as source:

POST https://toapis.com/v1/music/generations/{operation}
modelstringbodyrequired
Fixed "suno"
task_idstringbodyrequired
Source task ID (local tsk_aud_ ID)
audio_indexnumberbody
Source track index

Section editing ($0.008 each)

operationDescriptionExtra required
cropKeep a time rangestart_s, end_s
removeSectionRemove a time rangestart_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)

operationDescriptionExtra required
fadeInIntro fade-induration_s
fadeOutOutro fade-outduration_s

adjustSpeed — tempo ($0.024)

speednumberbodyrequired
Speed factor, e.g. 0.8 / 1.25
keep_pitchbooleanbody
Preserve pitch while changing speed

Rewrite & remaster

replaceMusic — section rewrite ($0.05, Max $0.10)

start_snumberbodyrequired
Start (seconds)
end_snumberbodyrequired
End (seconds)
infill_lyricsstringbody
New lyrics for the section
max_modebooleanbody
Max 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_snumberbodyrequired
Sample start (seconds)
end_snumberbodyrequired
Sample end (seconds)
gpt_descriptionstringbody
Remix description (required when custom=false)

coverSong — cover ($0.05, Max $0.10)

gpt_descriptionstringbody
Target style description (required when custom=false)
custombooleanbody
promptstringbody
Lyrics when custom=true
stylestringbody
Target style

remaster — remaster ($0.05)

variation_categorystringbody
Remaster bias (optional)

mashup — blend ($0.05, Max $0.10)

task_idsarraybodyrequired
Exactly 2 source task IDs
audio_indexesarraybody
Track index per source task
gpt_descriptionstringbody
Blend 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_idstringbodyrequired
extend source task ID

Response

task_idstring
New task ID
statusstring
submitted