钱多多-全链路API聚合
首页钱多多首页
首页钱多多首页
  1. Suno
  • 发出请求
  • 模型接口
    • 完成对象
    • OpenAI接口
      • 文本生成(通用)
      • 图片理解(通用)
      • 图片生成(gpt-image-1)
      • 图片生成(dall-e-3)
      • 图片编辑(edits接口)
      • 图片编辑(网页版)
      • Web search(联网搜索)
      • Responses API
      • Function calling
      • response_format
      • N测试
      • 创建文本嵌入
      • 批量创建嵌入
      • 文本转语音(TTS)
      • 语音转文本(STT)whisper-1
      • 语音转文本(STT)gpt-4o-transcribe
      • 音频翻译
      • Audio接口(输出)
      • Audio接口(输入)
      • 内容补全接口
      • gpt-image-1(网页版)
      • 图片变体生成
      • 创建内容审核
      • 列出模型
    • 文生图接口
      • Grok 2 Image Gen
      • flux-schnell(OpenAI图像格式)
      • FLUX1.1-pro(OpenAI图像格式)
      • stable-diffusion(OpenAI图像格式)
      • ideogram
      • recraftv3
    • Realtime (实时语音、对话)
      • Realtime API
    • Anthropic Claude
      • 文本生成
      • 图片理解
      • 文本生成(v1/messages)
      • Tool use (function calling)
    • 谷歌Gemini
      • 文本生成
      • 文本生成 (联网)
      • 图片生成(2.0 Flash)
      • 图片生成 (Imagen 3)
      • 图片理解
      • 音频理解
      • 视频理解
    • Midjourney
      • 提交Imagine任务
      • 提交Blend任务
      • 提交Describe任务
      • 提交Modal
      • 提交swap_face任务
      • 执行Action动作
      • 上传文件到discord
      • 根据ID列表查询任务
      • 指定ID获取任务
      • 获取任务图片的seed
    • GPTs 相关
      • gpt-4-all(分析图片)
      • gpt-4-all(生成图片)
      • GPTs对话
      • 搜索相关 GPTs
      • 查询 GPTs 详情
      • 批量查询 GPTs 详情
    • 文生音乐
      • Suno
        • 生成歌曲(API格式)
          POST
        • 生成歌词(API格式)
          POST
        • 查询单个任务(API格式)
          GET
        • Suno(Chat格式)
          POST
      • Udio
        • Udio(Chat格式)
    • 文生视频
      • 文生视频(luma)
      • 文生视频(runway)
      • 智谱清言GLM
      • 文生视频(可灵)
    • Rerank API
      • Jina AI 重排序格式
      • Cohere 重排序格式
      • Xinference 重排序格式
  • Python配置方式
    • Python基础对话
    • Python使用gpt-4o识别图片
    • Python使用Claude识别图片
  • 帮助中心
    • 常见问题及解决办法
  • 回收站
    • 查询所有任务
      GET
    • 根据ID列表查询任务-字段displays
      POST
    • 分页查询任务
      POST
    • 查询任务队列
      GET
    • 取消任务
      POST
    • 提交Shorten任务
      POST
    • Stable-Diffusion
      POST
  1. Suno

生成歌曲(API格式)

主站接口①
主站接口①
POST
https://api2.aigcbest.top
/suno/submit/music
分为3种模式
1.
灵感模式:
只需要提交以下参数
gpt_description_prompt
make_instrumental
mv
Suno 会自动生成 歌词、标题、风格标签
2.
自定义模式:
需要提交参数
prompt
title
tags
make_instrumental
mv
3.续写
需要在自定义模式基础上携带
task_id
continue_at
continue_clip_id

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数
Authorization
string 
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string 
可选
示例值:
application/json
Accept
string 
可选
示例值:
application/json
Body 参数application/json
prompt
string 
可选
歌词 (自定义模式专用)
mv
string 
可选
mv模型,chirp-v3-0、chirp-v3-5。不写默认 chirp-v3-0
title
string 
可选
标题(自定义模式专用)
tags
string 
可选
风格标签(自定义模式专用)
make_instrumental
boolean 
必需
是否生成纯音乐,true 为生成纯音乐
task_id
string 
可选
任务id,用于对之前的任务再操作
continue_at
number 
可选
float,歌曲延长时间,单位秒
continue_clip_id
string 
可选
歌曲id,需要续写哪首歌
gpt_description_prompt
string 
可选
灵感模式提示词(灵感模式专用)
notify_hook
string 
可选
回调地址: https://xxxxxxx
示例
以下任选其一

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-auk",
    "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",
    "mv": "chirp-auk",
    "title": "City Lights",
    "task_id": "736a6f88-bd29-4b1e-b110-37132a5325ac"
    "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 --request POST 'https://api2.aigcbest.top/suno/submit/music' \
--header 'Authorization: Bearer ' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '以下任选其一

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-auk",
    "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",
    "mv": "chirp-auk",
    "title": "City Lights",
    "task_id": "736a6f88-bd29-4b1e-b110-37132a5325ac"
    "continue_clip_id": "ce2cfbce-9ea0-45b0-9386-020c0ff54a49",
    "continue_at": 80
}'

返回响应

🟢200成功
application/json
Body
code
string 
必需
message
string 
错误信息
必需
data
string 
task_id
必需
示例
{
  "code": "success",
  "message": "",
  "data": "736a6f88-bd29-4b1e-b110-37132a5325ac"
}
修改于 2025-05-06 12:06:22
上一页
批量查询 GPTs 详情
下一页
生成歌词(API格式)
Built with