Generate Instrumental

POST

https://api.sunosay.com/suno/music/generate-instrumental

An instrumental or instrumental song is music normally without any vocals, although it might include some inarticulate vocals, such as shouted backup vocals in a big band setting.


Request Header

Header NametypeRequiredDescription
Authorizationstringtruerequest verification authorization

Request Parameters

Params NametypeRequiredDescription
titlestringfalseInstrumental Title
tagsstringtrueEnter style of Instrumental,Separate different styles with commas
negative_tagsstringfalseElements that won't appear in the Instrumental
modelstringfalsemusic Generate Models Default v3.5 , Click to view other model

Sample Parameters

{
  "tags": "tropical house, wave, synthwave",
  "title": "crazy and wild"
}

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/generate-instrumental',
  headers: {
    Authorization: 'Bearer your-api-key',
  },
  data: {
    title: 'crazy and wild',
    tags: 'tropical house, wave, synthwave',
  },
};

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