@接口说明
歌曲生成
灵感模式 custom_mode=0
是最简单的一种模式,只需要填入想写的歌的描述词,剩下的(写歌词/写歌名/唱歌)全部交给AI完成
以下为此模式需要的参数,当然,该接口其它参数也可以带上,api系统会自动忽略
!!!强烈建议,当非纯音乐时,在数据建立另一个字段gpt_description_prompt专门存储提交的关键词,这样suno返回结果中的歌词prompt可以直接更新在数据库的prompt中,确保prompt永远是代表歌词

自定义填词模式 custom_mode=1
最大程 度实现自定义需求,可以设置曲风,自定义标题,自定义歌词等
{
"custom_mode":1,
"make_instrumental":0,//当值为1,会忽略下面的prompt,如果携带,API系统会自动忽略,所以当前端界面选择纯音乐时,最好将描述词框隐藏
"prompt": "[Verse]\nI remember the days when we were young\nCruisin' down the boulevard, the night just begun\nNeon lights flickering, casting shadows on the street\nOur hearts intertwined in the rhythm of the beat\n\n[Verse 2]\nThe city was our playground, the night was our guide\nWe danced under the moon, our souls synchronized\nWe made memories in a world that felt so alive\nBut now it's all gone, just a distant neon drive\n\n[Chorus]\nOh, take me back to the place where we used to go\nWhere the music was loud and the feelings overflowed\nThe cityscape glowing, a symphony in lights\nThose moments are etched in my mind, forever in my sights",
"tags": "synthwave nostalgic anthemic",
"mv": "chirp-v3-0",
"title": "Neon Memories",
"continue_clip_id": null,
"continue_at": null
}


随机歌词(名)生成
返回结果
{
"status":"complete",
"text": "[Verse]\nWalking down these city streets\nNeon signs shining bright\nLost in the crowd\nI'm chasing dreams on this urban night\nEveryone's moving in a rush\nCaught up in the race\nBut I'm just tryna find my own little piece of space (yeah, yeah)\n\n[Verse 2]\nConcrete jungles and taxi cabs\nThe city's heartbeat pounds\nI'm hearing whispers of hope in the bustling sounds\nSkyscrapers reaching for the stars\nA million stories unfold\nIn this maze of possibilities\nI'll find my pot of gold (oh-oh-oh)\n\n[Chorus]\nCity lights\nThey guide my way (oh-oh-oh)\nThrough the chaos\nI will make my own say (yeah, yeah)\nIn the rhythm of the streets\nI'll find my beat\nCity lights\nThey ignite my dreams (yeah-yeah-yeah)",
"title": "City Lights"
}
修改于 2024-07-10 09:36:21