ON.1-API 文档、API 调试、API Mock、API 自动化测试!
curl --location --request POST 'https://api.rcouyi.com/v1/chat/completions' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "suno-v3.5",
"messages": [
{
"role": "user",
"content": "生成一首欢快的中文歌曲"
}
],
"stream": true
}'
聊天方式直接返回创作好的两首歌曲