← Tools Reference

SunoAPI

SunoAPI integration (AI, Design & Media). Imported from open-connector.

API key26 toolshttps://api.sunoapi.org
GET
sunoapi_get_remaining_credits
Get remaining SunoAPI generation credits.

/api/v1/generate/credit

POST
sunoapi_generate_music
Submit a SunoAPI music generation task.

/api/v1/suno/cover/generate

14 parameters
ParamTypeRequiredDescription
promptstringoptionalThe prompt, lyrics, or instruction sent to SunoAPI.
stylestringoptionalThe music style or genre.
titlestringoptionalThe generated music title.
customModebooleanrequiredWhether to use SunoAPI custom mode.
instrumentalbooleanrequiredWhether the generated audio should be instrumental.
personaIdstringoptionalThe optional SunoAPI persona identifier.
personaModelstringoptionalThe SunoAPI persona model.
modelstringrequiredThe SunoAPI music generation model.
negativeTagsstringoptionalMusic styles or traits to avoid.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style guidance weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe input audio influence weight between 0 and 1.
callBackUrlstringrequiredThe callback URL used to receive completed results.
GET
sunoapi_get_music_generation_details
Fetch SunoAPI music generation task details.

/api/v1/generate/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
POST
sunoapi_generate_lyrics
Submit a SunoAPI lyrics generation task.

/api/v1/generate/get-timestamped-lyrics

2 parameters
ParamTypeRequiredDescription
promptstringrequiredThe lyrics prompt.
callBackUrlstringrequiredThe callback URL used to receive completed results.
GET
sunoapi_get_lyrics_generation_details
Fetch SunoAPI lyrics generation task details.

/api/v1/lyrics/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
POST
sunoapi_get_timestamped_lyrics
Fetch timestamped lyrics for one generated audio item.

/api/v1/generate/get-timestamped-lyrics

2 parameters
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
audioIdstringoptionalThe SunoAPI audio identifier.
POST
sunoapi_generate_persona
Submit a SunoAPI persona generation request.

/api/v1/generate/generate-persona

7 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
audioIdstringrequiredThe SunoAPI audio identifier.
namestringrequiredThe persona name.
descriptionstringrequiredThe persona description.
vocalStartnumberoptionalThe audio segment start time in seconds.
vocalEndnumberoptionalThe audio segment end time in seconds.
stylestringoptionalThe persona style label.
POST
sunoapi_separate_vocals_from_music
Submit a SunoAPI vocal separation task.

/api/v1/vocal-removal/generate

4 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
audioIdstringrequiredThe SunoAPI audio identifier.
typestringrequiredThe vocal removal mode.
callBackUrlstringrequiredThe callback URL used to receive completed results.
GET
sunoapi_get_vocal_separation_details
Fetch SunoAPI vocal separation task details.

/api/v1/vocal-removal/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
POST
sunoapi_extend_music
Submit a SunoAPI music extension task.

/api/v1/generate/upload-extend

17 parameters
ParamTypeRequiredDescription
defaultParamFlagbooleanrequiredWhether to use custom parameters.
audioIdstringrequiredThe SunoAPI audio identifier.
continueAtnumberoptionalThe extension start point in seconds.
promptstringoptionalThe prompt, lyrics, or instruction sent to SunoAPI.
stylestringoptionalThe music style or genre.
titlestringoptionalThe generated music title.
customModebooleanrequiredWhether to use SunoAPI custom mode.
instrumentalbooleanrequiredWhether the generated audio should be instrumental.
personaIdstringoptionalThe optional SunoAPI persona identifier.
personaModelstringoptionalThe SunoAPI persona model.
modelstringrequiredThe SunoAPI music generation model.
negativeTagsstringoptionalMusic styles or traits to avoid.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style guidance weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe input audio influence weight between 0 and 1.
callBackUrlstringrequiredThe callback URL used to receive completed results.
POST
sunoapi_upload_and_cover_audio
Submit an uploaded audio cover generation task.

/api/v1/generate/upload-cover

15 parameters
ParamTypeRequiredDescription
uploadUrlstringrequiredThe uploaded audio URL.
promptstringoptionalThe prompt, lyrics, or instruction sent to SunoAPI.
stylestringoptionalThe music style or genre.
titlestringoptionalThe generated music title.
customModebooleanrequiredWhether to use SunoAPI custom mode.
instrumentalbooleanrequiredWhether the generated audio should be instrumental.
personaIdstringoptionalThe optional SunoAPI persona identifier.
personaModelstringoptionalThe SunoAPI persona model.
modelstringrequiredThe SunoAPI music generation model.
negativeTagsstringoptionalMusic styles or traits to avoid.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style guidance weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe input audio influence weight between 0 and 1.
callBackUrlstringrequiredThe callback URL used to receive completed results.
POST
sunoapi_upload_and_extend_audio
Submit an uploaded audio extension task.

/api/v1/generate/upload-extend

16 parameters
ParamTypeRequiredDescription
uploadUrlstringrequiredThe uploaded audio URL.
defaultParamFlagbooleanrequiredWhether to use custom parameters.
promptstringoptionalThe prompt, lyrics, or instruction sent to SunoAPI.
stylestringoptionalThe music style or genre.
titlestringoptionalThe generated music title.
customModebooleanrequiredWhether to use SunoAPI custom mode.
instrumentalbooleanoptionalWhether the generated audio should be instrumental.
personaIdstringoptionalThe optional SunoAPI persona identifier.
personaModelstringoptionalThe SunoAPI persona model.
modelstringrequiredThe SunoAPI music generation model.
negativeTagsstringoptionalMusic styles or traits to avoid.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style guidance weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe input audio influence weight between 0 and 1.
callBackUrlstringrequiredThe callback URL used to receive completed results.
POST
sunoapi_add_vocals
Add vocals to uploaded audio through SunoAPI.

/api/v1/generate/add-vocals

11 parameters
ParamTypeRequiredDescription
uploadUrlstringrequiredThe uploaded audio URL.
callBackUrlstringrequiredThe callback URL used to receive completed results.
promptstringrequiredThe vocal prompt.
titlestringrequiredThe music title.
negativeTagsstringrequiredMusic styles or traits to avoid.
stylestringrequiredThe music and vocal style.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style adherence weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe audio consistency weight between 0 and 1.
modelstringrequiredThe add vocals model.
POST
sunoapi_add_instrumental
Add instrumental backing to uploaded audio through SunoAPI.

/api/v1/generate/add-instrumental

10 parameters
ParamTypeRequiredDescription
uploadUrlstringrequiredThe uploaded music URL.
titlestringrequiredThe music title.
negativeTagsstringrequiredMusic styles or traits to avoid.
tagsstringrequiredThe music style tags.
callBackUrlstringrequiredThe callback URL used to receive completed results.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style adherence weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe audio consistency weight between 0 and 1.
modelstringrequiredThe add instrumental model.
POST
sunoapi_boost_music_style
Boost or expand a music style prompt.

/api/v1/style/generate

1 parameter
ParamTypeRequiredDescription
contentstringrequiredThe style description.
POST
sunoapi_replace_music_section
Replace a section of generated SunoAPI music.

/api/v1/generate/replace-section

9 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
audioIdstringrequiredThe SunoAPI audio identifier.
promptstringrequiredThe replacement lyrics.
tagsstringrequiredThe music style tags.
titlestringrequiredThe music title.
infillStartSnumberrequiredThe replacement start time in seconds.
infillEndSnumberrequiredThe replacement end time in seconds.
negativeTagsstringoptionalMusic styles or traits to avoid.
callBackUrlstringoptionalThe callback URL used to receive completed results.
POST
sunoapi_generate_mashup
Submit a SunoAPI mashup task.

/api/v1/generate/mashup

12 parameters
ParamTypeRequiredDescription
uploadUrlListarrayrequiredThe two audio URLs to mash up.
customModebooleanrequiredWhether to use custom mode.
promptstringoptionalThe mashup prompt.
stylestringoptionalThe music style.
titlestringoptionalThe music title.
instrumentalbooleanoptionalWhether the output should be instrumental.
modelstringrequiredThe mashup model.
vocalGenderstringoptionalThe desired vocal gender.
styleWeightnumberoptionalThe style guidance weight between 0 and 1.
weirdnessConstraintnumberoptionalThe creative weirdness constraint between 0 and 1.
audioWeightnumberoptionalThe input audio influence weight between 0 and 1.
callBackUrlstringrequiredThe callback URL used to receive completed results.
POST
sunoapi_generate_sounds
Submit a SunoAPI sounds generation task.

/api/v1/generate/sounds

7 parameters
ParamTypeRequiredDescription
promptstringrequiredThe sound prompt.
modelstringrequiredThe sound generation model.
soundLoopbooleanrequiredWhether to enable loop playback.
soundTempointegeroptionalSound tempo in BPM.
soundKeystringoptionalSound musical key.
grabLyricsbooleanoptionalWhether to grab lyrics.
callBackUrlstringrequiredThe callback URL used to receive completed results.
POST
sunoapi_generate_music_cover
Submit a SunoAPI music cover image task.

/api/v1/suno/cover/generate

2 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
callBackUrlstringrequiredThe callback URL used to receive completed results.
GET
sunoapi_get_music_cover_details
Fetch SunoAPI music cover task details.

/api/v1/suno/cover/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
POST
sunoapi_create_music_video
Submit a SunoAPI music video task.

/api/v1/suno/cover/generate

5 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
audioIdstringrequiredThe SunoAPI audio identifier.
callBackUrlstringrequiredThe callback URL used to receive completed results.
authorstringoptionalVideo author label.
domainNamestringoptionalVideo domain name.
GET
sunoapi_get_music_video_details
Fetch SunoAPI music video task details.

/api/v1/mp4/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
POST
sunoapi_convert_to_wav_format
Submit a SunoAPI WAV conversion task.

/api/v1/wav/generate

3 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
audioIdstringrequiredThe SunoAPI audio identifier.
callBackUrlstringrequiredThe callback URL used to receive completed results.
GET
sunoapi_get_wav_conversion_details
Fetch SunoAPI WAV conversion task details.

/api/v1/wav/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.
POST
sunoapi_generate_midi
Submit a SunoAPI MIDI generation task.

/api/v1/midi/generate

3 parameters
ParamTypeRequiredDescription
taskIdstringrequiredThe SunoAPI task identifier.
callBackUrlstringrequiredThe callback URL used to receive completed results.
audioIdstringrequiredThe SunoAPI audio identifier.
GET
sunoapi_get_midi_generation_details
Fetch SunoAPI MIDI generation task details.

/api/v1/midi/record-info

1 parameter
ParamTypeRequiredDescription
taskIdstringoptionalThe SunoAPI task identifier.