1. Suno
Chat Bp
  • OpenAI通用接口
    • 聊天接口(Chat)
      • 聊天接口(OpenAI格式通用)
      • gpts
      • gpt-4-all(生成图片)
    • 帮助中心
      • 常见问题及解决办法
  • Anthropic
    • Anthropic Claude
      POST
  • Gemini
    • Gemini原生格式
      POST
    • Gemini原生格式(流式)
      POST
  • 视频接口(Video)
    • openai生图兼容格式
      • 视频生成
      • 视频编辑
      • 异步任务查询
    • sora
      • 统一视频
        • 创建视频
        • 查询任务
      • OpenAI格式
        • sora
          • 请求实例-角色引用
          • 请求实例-生成视频
          • 创建角色
            • 创建角色
          • 提交视频生成任务(OpenAI兼容)
          • 视频remix
          • 查询视频生成任务状态(OpenAI兼容)
          • 下载视频内容(OpenAI兼容)
    • veo
      • Veo模型参数说明
      • 统一视频
        • 创建视频
        • 查询任务
      • OpenAI格式
        • veo
          • Veo模型参数说明
          • 视频生成
          • 视频remix
          • 任务状态查询
    • grok
      • OpenAI格式
        • 生成视频
        • 视频Remix
        • 视频Extend
        • 视频Extensions
        • 查询任务
      • 统一视频
        • 生成视频
        • 视频Remix
        • 视频Extend
        • 视频Extensions
        • 查询任务
    • 即梦
      • OpenAI格式
        • 即梦
          • 视频生成
          • 任务状态查询
      • 豆包渠道
        • 视频生成
        • 任务查询进度
      • 生成视频
      • 查询任务
    • vidu
      • 官方格式
        • 文生视频
        • 图生视频
        • 首尾帧生视频
        • 参考生视频
        • 查询任务
      • OpenAI格式
        • 视频生成
        • 任务状态查询
      • 统一视频
        • 生成视频
        • 查询任务
    • kling
      • 视频生成
      • 任务状态查询
    • seedance 2.0
      • Asset Management
        • 创建素材组
        • 上传素材
        • 查询素材
      • 创建视频
      • 查询任务
    • minimax-h3
      • 统一格式
        • 视频生成
        • 状态查询
        • 视频再生成
      • OpenAI 兼容格式
        • 视频生成
        • 状态查询
        • 视频再生成
  • 图片接口(Image)
    • OpenAI
      • 图像接口(Images)
        • 图像生成
        • 图像编辑 gpt-image-2
        • 图像生成 gpt-image-2
    • Gemini
      • 图像模型
        • Gemini生图
          • 图像生成
          • 图像编辑
          • 图像生成(openai chat格式)
          • 官方格式生图
          • 官方格式生图(流式)
        • 异步
          • 图像生成
          • 图像编辑
          • 异步任务查询
    • 即梦
      • 生图
        • 聊天接口(OpenAI格式通用)
        • 图像编辑
        • 图像生成
        • 官方格式生图
        • 官方格式生图 - 查询任务
    • Midjourney API文档
      • 快速教学-完整流程一遍过
      • 任务提交
        • 提交Imagine任务
        • 提交Action任务
        • 提交Blend任务
        • 提交Modal任务
        • 提交Describe任务
        • 提交Shorten任务
        • 提交SwapFace任务
        • 提交Video任务
        • 上传文件到discord
      • 任务查询
        • 指定id查询任务
        • 指定id列表查询任务
        • 获取任务图片的seed
  • Suno
    • 1.生成歌词接口
      POST
    • 2.生成音乐接口
      POST
    • 3.上传音乐接口
      POST
    • 4.歌曲拼接接口
      POST
    • 5.查询任务
      GET
  • 调用示例
    • sora-2 openai chat 视频模型调用示例
    • 香蕉/sora OpenAI-chat格式调用示例
  • 即梦
    • 视频
      • 官方格式视频
      • 官方格式视频 - 查询任务
      • 聊天接口(OpenAI格式通用)
  1. Suno

2.生成音乐接口

POST
/suno/submit/music
生成音乐接口,灵感模式、专业模式和续写音乐都可以通过该接口实现

请求参数

Header 参数

Body 参数application/json必填

示例
1.灵感模式
{
    "gpt_description_prompt": "cat"
}

2.自定义模式
{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'm alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it's music to my ears\nThe hustle and the bustle\nWiping away my fears",
    "tags": "emotional punk",
    "mv": "chirp-crow",
    "title": "City Lights"
}

3.续写
{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'm alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it's music to my ears\nThe hustle and the bustle\nWiping away my fears", // 可以空 ""
    "tags": "bass-driven atmospheric heavy metal",
    "negative_tags": "dance",
    "mv": "chirp-crow",
    "title": "City Lights",
    "task_id": "17350521802760039",
    "continue_clip_id": "ce2cfbce-9ea0-45b0-9386-020c0ff54a49",
    "continue_at": 80
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/suno/submit/music' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '1.灵感模式
{
    "gpt_description_prompt": "cat"
}

2.自定义模式
{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'\''m alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it'\''s music to my ears\nThe hustle and the bustle\nWiping away my fears",
    "tags": "emotional punk",
    "mv": "chirp-crow",
    "title": "City Lights"
}

3.续写
{
    "prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'\''m alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it'\''s music to my ears\nThe hustle and the bustle\nWiping away my fears", // 可以空 ""
    "tags": "bass-driven atmospheric heavy metal",
    "negative_tags": "dance",
    "mv": "chirp-crow",
    "title": "City Lights",
    "task_id": "17350521802760039",
    "continue_clip_id": "ce2cfbce-9ea0-45b0-9386-020c0ff54a49",
    "continue_at": 80
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "code": "success",
    "message": "success",
    "data": "17350521802760039"
}
修改于 2026-01-14 15:12:26
上一页
1.生成歌词接口
下一页
3.上传音乐接口
Built with