SunoAI-API / Suno-API

This is an unofficial API based on Python and FastAPI. It currently supports generating songs, lyrics, etc. 👇

Home Page:https://app.foxai.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use instrumental button

ZZHbible opened this issue · comments

WeChat4f174b9b1ffd99c7f5c722fd8e7f7faa

curl -X 'POST'
'http://127.0.0.1:8000/generate'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{
"prompt": "",
"mv": "chirp-v3-0",
"title": "hello world",
"tags": "Pop, folk, easy listening, anime, blues, country, classical"
}'

It will still produce songs with lyrics, are there any parameters that need to be added?

just to point out @ZZHbible , this can happen even in instrumental mode on Suno using any version currently.

it's make_instrumental: true , that's how suno's ui is using it

But I did not see the 'make_instrumental' parameter passed in the API request.

image

image

I see it, anyways it doesn't seem to be making difference when passing to this library. But what seems to be working, is to leave "prompt" empty and just use "tags".

Sure, but there may still be situations where voices are present. At the moment, it seems there's no solution to this. Especially when the tags are particularly long, but the prompt is empty.