SunoAPI integration (AI, Design & Media). Imported from open-connector.
https://api.sunoapi.org/api/v1/generate/credit
/api/v1/suno/cover/generate
| Param | Type | Required | Description |
|---|---|---|---|
| prompt | string | optional | The prompt, lyrics, or instruction sent to SunoAPI. |
| style | string | optional | The music style or genre. |
| title | string | optional | The generated music title. |
| customMode | boolean | required | Whether to use SunoAPI custom mode. |
| instrumental | boolean | required | Whether the generated audio should be instrumental. |
| personaId | string | optional | The optional SunoAPI persona identifier. |
| personaModel | string | optional | The SunoAPI persona model. |
| model | string | required | The SunoAPI music generation model. |
| negativeTags | string | optional | Music styles or traits to avoid. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style guidance weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The input audio influence weight between 0 and 1. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/generate/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
/api/v1/generate/get-timestamped-lyrics
| Param | Type | Required | Description |
|---|---|---|---|
| prompt | string | required | The lyrics prompt. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/lyrics/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
/api/v1/generate/get-timestamped-lyrics
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
| audioId | string | optional | The SunoAPI audio identifier. |
/api/v1/generate/generate-persona
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| audioId | string | required | The SunoAPI audio identifier. |
| name | string | required | The persona name. |
| description | string | required | The persona description. |
| vocalStart | number | optional | The audio segment start time in seconds. |
| vocalEnd | number | optional | The audio segment end time in seconds. |
| style | string | optional | The persona style label. |
/api/v1/vocal-removal/generate
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| audioId | string | required | The SunoAPI audio identifier. |
| type | string | required | The vocal removal mode. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/vocal-removal/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
/api/v1/generate/upload-extend
| Param | Type | Required | Description |
|---|---|---|---|
| defaultParamFlag | boolean | required | Whether to use custom parameters. |
| audioId | string | required | The SunoAPI audio identifier. |
| continueAt | number | optional | The extension start point in seconds. |
| prompt | string | optional | The prompt, lyrics, or instruction sent to SunoAPI. |
| style | string | optional | The music style or genre. |
| title | string | optional | The generated music title. |
| customMode | boolean | required | Whether to use SunoAPI custom mode. |
| instrumental | boolean | required | Whether the generated audio should be instrumental. |
| personaId | string | optional | The optional SunoAPI persona identifier. |
| personaModel | string | optional | The SunoAPI persona model. |
| model | string | required | The SunoAPI music generation model. |
| negativeTags | string | optional | Music styles or traits to avoid. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style guidance weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The input audio influence weight between 0 and 1. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/generate/upload-cover
| Param | Type | Required | Description |
|---|---|---|---|
| uploadUrl | string | required | The uploaded audio URL. |
| prompt | string | optional | The prompt, lyrics, or instruction sent to SunoAPI. |
| style | string | optional | The music style or genre. |
| title | string | optional | The generated music title. |
| customMode | boolean | required | Whether to use SunoAPI custom mode. |
| instrumental | boolean | required | Whether the generated audio should be instrumental. |
| personaId | string | optional | The optional SunoAPI persona identifier. |
| personaModel | string | optional | The SunoAPI persona model. |
| model | string | required | The SunoAPI music generation model. |
| negativeTags | string | optional | Music styles or traits to avoid. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style guidance weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The input audio influence weight between 0 and 1. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/generate/upload-extend
| Param | Type | Required | Description |
|---|---|---|---|
| uploadUrl | string | required | The uploaded audio URL. |
| defaultParamFlag | boolean | required | Whether to use custom parameters. |
| prompt | string | optional | The prompt, lyrics, or instruction sent to SunoAPI. |
| style | string | optional | The music style or genre. |
| title | string | optional | The generated music title. |
| customMode | boolean | required | Whether to use SunoAPI custom mode. |
| instrumental | boolean | optional | Whether the generated audio should be instrumental. |
| personaId | string | optional | The optional SunoAPI persona identifier. |
| personaModel | string | optional | The SunoAPI persona model. |
| model | string | required | The SunoAPI music generation model. |
| negativeTags | string | optional | Music styles or traits to avoid. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style guidance weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The input audio influence weight between 0 and 1. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/generate/add-vocals
| Param | Type | Required | Description |
|---|---|---|---|
| uploadUrl | string | required | The uploaded audio URL. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
| prompt | string | required | The vocal prompt. |
| title | string | required | The music title. |
| negativeTags | string | required | Music styles or traits to avoid. |
| style | string | required | The music and vocal style. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style adherence weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The audio consistency weight between 0 and 1. |
| model | string | required | The add vocals model. |
/api/v1/generate/add-instrumental
| Param | Type | Required | Description |
|---|---|---|---|
| uploadUrl | string | required | The uploaded music URL. |
| title | string | required | The music title. |
| negativeTags | string | required | Music styles or traits to avoid. |
| tags | string | required | The music style tags. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style adherence weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The audio consistency weight between 0 and 1. |
| model | string | required | The add instrumental model. |
/api/v1/style/generate
| Param | Type | Required | Description |
|---|---|---|---|
| content | string | required | The style description. |
/api/v1/generate/replace-section
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| audioId | string | required | The SunoAPI audio identifier. |
| prompt | string | required | The replacement lyrics. |
| tags | string | required | The music style tags. |
| title | string | required | The music title. |
| infillStartS | number | required | The replacement start time in seconds. |
| infillEndS | number | required | The replacement end time in seconds. |
| negativeTags | string | optional | Music styles or traits to avoid. |
| callBackUrl | string | optional | The callback URL used to receive completed results. |
/api/v1/generate/mashup
| Param | Type | Required | Description |
|---|---|---|---|
| uploadUrlList | array | required | The two audio URLs to mash up. |
| customMode | boolean | required | Whether to use custom mode. |
| prompt | string | optional | The mashup prompt. |
| style | string | optional | The music style. |
| title | string | optional | The music title. |
| instrumental | boolean | optional | Whether the output should be instrumental. |
| model | string | required | The mashup model. |
| vocalGender | string | optional | The desired vocal gender. |
| styleWeight | number | optional | The style guidance weight between 0 and 1. |
| weirdnessConstraint | number | optional | The creative weirdness constraint between 0 and 1. |
| audioWeight | number | optional | The input audio influence weight between 0 and 1. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/generate/sounds
| Param | Type | Required | Description |
|---|---|---|---|
| prompt | string | required | The sound prompt. |
| model | string | required | The sound generation model. |
| soundLoop | boolean | required | Whether to enable loop playback. |
| soundTempo | integer | optional | Sound tempo in BPM. |
| soundKey | string | optional | Sound musical key. |
| grabLyrics | boolean | optional | Whether to grab lyrics. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/suno/cover/generate
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/suno/cover/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
/api/v1/suno/cover/generate
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| audioId | string | required | The SunoAPI audio identifier. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
| author | string | optional | Video author label. |
| domainName | string | optional | Video domain name. |
/api/v1/mp4/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
/api/v1/wav/generate
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| audioId | string | required | The SunoAPI audio identifier. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
/api/v1/wav/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |
/api/v1/midi/generate
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | required | The SunoAPI task identifier. |
| callBackUrl | string | required | The callback URL used to receive completed results. |
| audioId | string | required | The SunoAPI audio identifier. |
/api/v1/midi/record-info
| Param | Type | Required | Description |
|---|---|---|---|
| taskId | string | optional | The SunoAPI task identifier. |