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 Name | type | Required | Description |
---|---|---|---|
Authorization | string | true | request verification authorization |
Request Parameters
Params Name | type | Required | Description |
---|---|---|---|
title | string | false | Instrumental Title |
tags | string | true | Enter style of Instrumental,Separate different styles with commas |
negative_tags | string | false | Elements that won't appear in the Instrumental |
model | string | false | music Generate Models Default v3.5 , Click to view other model |
Sample Parameters
{
"tags": "tropical house, wave, synthwave",
"title": "crazy and wild"
}
Response Body
Response Name | type | Description |
---|---|---|
code | number | Task creation code 200 means success other status values mean failure |
task_id | string | Get the generated instrumental task_id |
message | string | Success 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);
});