APICore
  1. Suno
APICore
  • (必读)网站使用教程
  • (必读)前言
  • 批量请求示例
  • 常见问题及解决办法
  • 聊天模型
    • 列出可用模型
      GET
    • 聊天接口(通用)
      POST
    • 聊天接口(图片分析)
      POST
    • 聊天接口(函数调用)
      POST
    • 聊天接口(o1系列模型)
      POST
    • gpt-4o-all 文件分析
      POST
    • 聊天补全
      POST
    • Claude (OpenAI格式)-可PDF分析
      POST
    • Claude (原生格式)-可PDF分析
      POST
    • Gemini (OpenAI格式)-可文件分析
      POST
    • GPTS
      POST
    • 创建嵌入
      POST
    • o3-pro请求格式
      POST
  • 音乐生成
    • Suno
      • 接口介绍
      • 场景一:续写音乐并获取完整音乐
      • 场景二:Cover 音乐:音乐翻版\修改风格
      • 场景三:Replace Section:替换片段
      • 场景四:Persona:歌手风格
      • 场景五:stems:声曲分离(仅限chirp_auk)
      • 场景六:Timing:歌词、音频时间线(仅限chirp_auk)
      • 场景七:wav:获取 wav 格式文件
      • 场景八:mp4:生成 mp4 mv 视频(仅限chirp_auk)
      • 聊天方式:生成歌曲
        POST
      • 任务:生成歌曲
        POST
      • 任务:生成歌词
        POST
      • 上传音乐
        POST
      • 歌曲拼接
        POST
      • 查询:批量查询任务
        POST
      • 获取 wav 格式文件
        GET
      • 生成 mp4 mv 视频
        GET
      • 声曲分离
        GET
      • 查询:单个任务
        GET
      • Timing:歌词、音频时间线
        GET
    • Udio
      • 生成音乐
  • 绘画模型
    • Midjourney
      • 任务查询
        • 根据ID列表查询任务ListByCondition
        • 指定ID获取任务FetchFromTask
        • 获取任务图片的ImageSeed
      • 任务提交
        • 图生图Blend
        • 换脸SwapFace
        • 图生文Describe
        • 任务:绘图变化-simpleImagine
        • 任务:提示词缩短 Shorten
        • 局部重绘Modal
        • 任务:执行动作Action
        • 任务:绘图变化Change
    • Dalle和Gpt-image-1和Sora_image
      • Chat 格式
        • gpt-4o-image
      • Image/Generations 格式(Dalle 格式)
        • 创建图像变化
        • 创建图像
        • 创建图片编辑
    • Flux
      • 生成图像(chat 格式)
      • Flux绘画 Dalle格式
      • flux-kontext(文生图、图生图)
      • (标准api调用)flux-kontext(文生图、图生图)
    • Grok
      • 图像生成
    • Stable-diffusion
      • stable-diffusion (chat格式)
      • stable-diffusion (dalle格式)
    • 即梦AI
      • 即梦3.0生图
    • 可灵AI
      • 生成图像
  • 音频模型
    • Realtime (实时语音对话)
    • 文字转语音TTs
      • 模型 TTS-1
      • 模型 ChatTTS
    • 语音转文字
      • 音频转文本
      • 创建翻译
  • 视频生成
    • runway
      • 官网API接口格式
        • 从图像生成视频
        • 查询:单个任务
      • 逆向格式
        • generate(文本)
        • generate(参考图片)
        • video2video 视频转视频 风格重绘
        • Act-one 表情迁移
        • feed-获取任务
    • vidu(官方格式)
      • 普通
        • vidu(chat格式)
        • 创建视频(tasks)
        • 视频状态(state)
        • 视频查询(tasks-get)
        • 高清视频(tasks)
    • luma
      • luma(官方格式)
        • 官方格式lumavip⚡️
          • Chat格式lumavip
          • 视频生成(generations)
          • 查询任务(task)
          • 视频扩展(extend)
        • 官方格式lumapro🚀 (优先保证稳定性)
          • Chat格式lumapro
          • 视频生成(generations)
          • 查询任务(task)
          • 视频扩展(extend)
        • 官方格式luma
          • Chat格式luma
          • 视频生成(generations)
          • 查询任务(task)
          • 视频拓展(extend)
      • luma(goamz格式)
        • goamz 格式luma
          • 视频生成(generations)
          • 查询任务(task)
          • 视频拓展(extend)
        • goamz 格式lumavip
          • 视频生成(generations)
          • 查询任务(task)
          • 视频拓展(extend)
      • luma(chatgpt-next-web格式)
        • 视频生成(generations)
        • 视频扩展(extend)
        • 查询任务(task)
        • Chat格式lumavip
    • 可灵(官方格式)
      • Callback 协议
      • 图像生成
      • 虚拟试穿
      • 文生视频
      • 图生视频
      • 视频延长
      • 查询任务
    • pika
      • pika 接口说明
      • 官方格式
        • 生成视频
        • 查询任务
      • openai chat 兼容格式
        • 生成视频
    • pixverse(变身毒液效果等)
      • 生成任务
    • 即梦AI
      • 任务:图生视频
      • 任务:文生视频
      • 查询:任务结果
    • veo3
      • chat格式(逆向)
        • 流式请求
        • 非流请求
        • 带图片请求
      • Replicate/veo3创建任务
  • 查询令牌用量
    GET
  • 查询令牌限额
    GET
  1. Suno

任务:生成歌曲

POST
https://api.apicore.ai/suno/submit/music
总三种创作方式
一、灵感模式
📌
只需提交以下参数:suno会自动生成歌名、歌词、风格、歌曲。
gpt_description_prompt make_instrumental mv
二、定制模式
💡
需要提交以下参数
prompt title tags mv
三、续写模式
💡
需要在定制模式基础上携带以下参数
task_id continue_at continue_clip_id

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数
Content-Type
string 
可选
示例值:
application/json
Authorization
string 
可选
示例值:
Bearer sk-xxxx
Body 参数application/json
make_instrumental
boolean 
可选
是否纯音乐(灵感模式专用)
gpt_description_prompt
string 
可选
歌曲提示词(灵感模式专用)
mv
enum<string> 
模型版本
可选
枚举值:
chirp-v3-0chirp-v3-5chirp-v4chirp-auk
示例值:
chirp-v3-0
prompt
string 
歌词(定制模式专用)
必需
空字符串将自动转为纯音乐
title
string 
歌名(定制模式专用)
必需
tags
string 
风格标签(定制模式专用)
必需
task_id
string 
任务ID
必需
用于对之前的任务进行再操作
continue_at
number 
歌曲续写时长
必需
Float,歌曲延长时间,单位秒
continue_clip_id
string 
续写歌曲ID
必需
指定需要续写的歌曲ID
notify_hook
string 
回调地址
必需
示例
1. 灵感模式

{
    "gpt_description_prompt": "欢快的磁性女声歌曲,中文,主题:难忘周末"
}

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-v3-0",
    "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-v3-0",
    "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://api.apicore.ai/suno/submit/music' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json' \
--data-raw '1. 灵感模式

{
    "gpt_description_prompt": "欢快的磁性女声歌曲,中文,主题:难忘周末"
}

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-v3-0",
    "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-v3-0",
    "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 
必需
示例
{
    "code": "success",
    "message": "",
    "data": "2a145658-3342-4228-b779-b8323a2b77df"
}
上一页
聊天方式:生成歌曲
下一页
任务:生成歌词
Built with