生成音乐
已废弃POST
/suno/v1/music请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
custom_mode
boolean
必需
input
object
必需
prompt
string
必需
title
string
必需
tags
string
必需
continue_at
string
必需
continue_clip_id
string
必需
示例
{
"custom_mode": true,
"input": {
"prompt": "[Verse]\nTesla riding\nBatteries flying\nElon Musk\nHe's got the future on his mind\nSolar panels shining\nRockets reaching for the skies\nInnovation's flowing\nHe's the tech wizard of our times\n\n[Verse]\nNeuralink connecting minds\nAI running wild\nMars colonization\nHe's making it his style\nFrom PayPal he came and shook the world with his touch\nElon Musk\nThe eccentric genius\nHe's too much\n\n[Chorus]\nElon Musk\nHe's the man with electric dreams\nChanging the world with his technology schemes\nFrom PayPal to SpaceX\nHe's a force to be seen\nElectric cars and rockets\nHe's living the dream",
"title": "Electric Dreams",
"tags": "epic reggae",
"continue_at": 0,
"continue_clip_id": ""
}
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 200,
"data": {
"task_id": "56ea8da3-8507-4118-9f1e-111111111111"
},
"message": "success"
}
最后修改时间: 11 天前