多米API
  1. SUNO AI音乐
多米API
  • 产品简介
  • 产品更新动态
  • 常见问题汇总
  • 快速开发指南
    • 如何获取调用密钥KEY
    • 如何用代码调用
    • 用量及历史调用查询
  • 购买指南
    • 如何购买
    • 计费概述
  • API文档
    • MJ
      • @回调说明
      • 慢速MJ(不推荐调用)
        • 生成(生成变换/放大)
      • MJ生成(生成/变换/放大)
      • 提交Blend任务(混图)
      • 异步查询
    • SUNO AI音乐
      • @回调说明
      • @接口说明
      • 参考音频
        • 上传音频
        • 查询上传结果
      • 开始创作音乐
        POST
      • 合并
        POST
      • 歌词生成
        POST
      • 音乐查询
        POST
    • 统一创建图片生成
      • 创建
    • GPT新版文档
      • 身份验证
      • 介绍
      • 导言
      • 发出请求
      • 聊天接口
        • 聊天接口
      • 测试账户
        • 测试所需sk
      • 帮助中心
        • 完成对象
        • 什么是 token?
        • 用户协议
        • 常见问题及解决办法
      • 模型
        • 列出模型
    • PIX
      • 所有特效
      • 人声列表
      • PRO版
        • generate 图生视频
        • generate 文生视频
      • generate 文生视频
      • generate 图生视频
      • feed 查询
    • PIKA
      • PRO版
        • generate(文本)
        • generate(参考图片)
        • generate(参考视频/扩展视频)
      • feed
    • KLING
      • PRO 多米格式
        • generate(文本)
        • generate(图片)
        • extend
      • PRO 官方格式
        • 文生视频
        • 文生视频查询
        • 图生视频
        • 图生视频查询
      • feed
    • LUMA
      • PRO版
        • generate(文本)
        • generate(参考图片)
        • extend
      • feed
    • RUNWAY(推荐))
      • PRO版
        • generate 文生视频
        • generate 图生视频
        • generate 视频转视频
        • Act-one 表情迁移
      • feed
    • Udio
      • generate
      • feed
  1. SUNO AI音乐

@接口说明

歌曲生成#

灵感模式 custom_mode=0#

是最简单的一种模式,只需要填入想写的歌的描述词,剩下的(写歌词/写歌名/唱歌)全部交给AI完成#

以下为此模式需要的参数,当然,该接口其它参数也可以带上,api系统会自动忽略#

!!!强烈建议,当非纯音乐时,在数据建立另一个字段gpt_description_prompt专门存储提交的关键词,这样suno返回结果中的歌词prompt可以直接更新在数据库的prompt中,确保prompt永远是代表歌词#

image.png

自定义填词模式 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
}
image.png
image.png

随机歌词(名)生成#

返回结果#

{
    "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"
}
上一页
@回调说明
下一页
上传音频
Built with