Extend Instrumental

POST

https://api.sunosay.com/suno/music/extend-Instrumental

Creating Extended Instrumental Tasks


Request Header

Header NametypeRequiredDescription
Authorizationstringtruerequest verification authorization

Request Parameters

Params NametypeRequiredDescription
titlestringtrueInstrumental Title
tagsstringtrueEnter style of Instrumental,Separate different styles with commas
continue_clip_idstringtrueThe continue_clip_id of the music extend in the previous generation task (can be viewed in the get music pages)
continue_atstringtrueExtended time, in seconds.
negative_tagsstringfalseElements that won't appear in the Instrumental
modelstringfalsemusic Generate Models Default v3.5 , Click to view other model

if the duration of the music you want to expand is 200 seconds, and you want to start expanding from 100 seconds, the value of continue_at is 100. If you want to smoothly extend the previous music, you need to use the tags and title of the previous music.

Sample Parameters

{
  "title": "crazy and wild",
  "tags": "tropical house, wave, synthwave",
  "continue_clip_id": "4976bdbf8-b5c9-4eda-b5131-40f0e8fc875e",
  "continue_at": 100
}

Response Body

Response NametypeDescription
codenumberTask creation code 200 means success other status values ​​mean failure
task_idstringGet the generated instrumental task_id
messagestringSuccess message or failure error message

Sample Response

{
  "code": 200,
  "task_id": "4976bdbf8-b5c9-4eda-b5131-40f0e8fc875e",
  "message": "ok!"
}

Examples Code

node
var axios = require('axios');
var data = '<body data here>';

var config = {
  method: 'post',
  url: 'https://api.sunosay.com/suno/music/extend-Instrumental',
  headers: {
    Authorization: 'Bearer your-api-key',
  },
  data: {
    title: 'crazy and wild',
    tags: 'tropical house, wave, synthwave',
    continue_clip_id: '4976bdbf8-b5c9-4eda-b5131-40f0e8fc875e',
    continue_at: 100,
  },
};

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data));
  })
  .catch(function (error) {
    console.log(error);
  });