1. NewAPI兼容格式
xi-ai
  • 发出请求
  • 模型接口
    • 聊天接口(Chat)
      • 聊天接口
      • gpts
      • gemini-pro
      • gpt-4-all(分析图片)
      • gpt-4-vision-preview
    • 自动补全接口(Completions)
      • 内容补全接口
    • 图像接口(Images)
      • Midjourney
        • 补充 - 其他参数以及回调
        • InsightFace任务提交
          • 提交swap_face任务
        • 任务提交
          • 执行动作
          • 提交Blend任务
          • 提交Describe任务
          • 提交Imagine任务
          • 提交Modal
          • 提交Shorten任务
        • 任务查询
          • 查询所有任务
          • 根据ID列表查询任务
          • 分页查询任务
          • 查询任务队列
          • 取消任务
          • 指定ID获取任务
          • 获取任务图片的seed(需设置mj或niji的私信ID)
      • DALL·E 3
      • Stable-Diffusion
      • gpt-4-all(生成图片)
    • 向量生成接口(Embeddings)
      • 创建嵌入
    • 音频接口(Audio)
      • 创建转录
      • 创建翻译
      • TTS文本转语音
    • Suno音乐接口
      • GoAmzAI格式
        • v3.5
          • 生成音乐
          • 获取音乐
        • v3.0
          • 生成音乐
          • 获取音乐
      • 官网原生格式(v2)
        • 所有接口
          • 音乐链接转成suno(upload)
          • 音乐生成(generations)
          • 查询任务(feed)
        • 场景1 生成自定义音乐(带歌词)
          • 音乐生成(generations)
          • 查询任务(feed)
        • 场景 2 通过提示词直接生成音乐(带歌词)
          • 音乐生成(generations)
          • 查询任务(feed)
        • 场景 4 通过提示词直接生成音乐(纯音乐)
          • 音乐生成(generations)
          • 查询任务(feed)
        • 场景3 生成自定义音乐(纯音乐)
          • 音乐生成(generations)
          • 查询任务(feed)
        • 场景 5 上传自定义音频并续写
          • 音乐链接转成suno(upload)
          • 音乐生成(generations)
          • 查询任务(feed)
      • 生成歌词
        • 获取歌词
        • 生成歌词
      • NewAPI兼容格式
        • 生成音乐
          POST
        • 查询歌曲
          GET
  • sora-2
    • 视频统一格式
      • 图生视频
      • 文生视频
      • 查询任务
    • chat 格式
      • 连续修改生成视频
      • 使用公共人物(例如奥特曼)生成视频
      • 流式请求
      • 非流请求
      • 带图片请求
      • 不同比例的视频(横竖屏)
    • OpenAI官方视频格式(适配 newapi)
      • 创建视频
      • 查询视频详情
      • 下载视频(不推荐该方式,查询视频接口有返回 url的)
      • 编辑视频(remix)
  • midjouriney
    • InsightFace任务提交
      • 提交swap_face任务
    • 任务提交
      • 执行动作
      • 提交Blend任务
      • 提交Describe任务
      • 提交Imagine任务
      • 提交Modal
      • 提交Shorten任务
    • 任务查询
      • 查询所有任务
      • 根据ID列表查询任务
      • 分页查询任务
      • 查询任务队列
      • 取消任务
      • 指定ID获取任务
      • 获取任务图片的seed(需设置mj或niji的私信ID)
  • 帮助中心
    • 常见问题及解决办法
  • 文生视频
    • 创建文生视频任务
      POST
    • 查询文生视频任务
      GET
  • 图生视频
    • 创建图生视频任务
      POST
    • 查询图生视频任务列表
      GET
    • 查询图生视频任务
      GET
  • 多图参考生视频
    • 创建多图参考生视频任务
    • 查询多图参考生视频任务列表
    • 查询多图参考生视频任务
  • 视频延长
    • 创建视频延长任务
    • 查询视频延长任务列表
    • 查询视频延长任务
  • 视频生成
    • 创建文生视频或图生视频任务
    • 创建首尾帧生视频任务
  • 任务管理
    • 获取异步任务结果
  • GPTs 相关
    • GPTs对话
    • 搜索相关 GPTs(chat格式)
    • 搜索相关 GPTs(官方格式)
    • 查询 GPTs 详情(chat格式)
    • 查询 GPTs 详情(官方格式)
    • 批量查询 GPTs 详情(chat格式)
    • 批量查询 GPTs 详情(官方格式)
  • 智谱清言(glm)
  • openai
    • 介绍
    • 项目说明
    • 导言
    • 身份验证
    • 发出请求
    • 参数详情
    • 聊天(Chat)
      • gpts 请求
      • 聊天完成块对象
    • 自动补全(Completions)
      • 完成对象
    • 嵌入(Embeddings)
      • 嵌入对象
    • 微调(Fine-tuning)
      • 微调作业对象
      • 微调作业事件对象
    • 图像(Images)
      • README
      • 图像对象
    • 模型(Models)
      • 模型对象
    • 文件(Files)
      • README
      • 文件对象
    • 审查(Moderations)
      • 调节对象
    • 助手测试版(AssistantsBeta)
      • 辅助对象
      • 辅助文件对象
    • 线程数(Threads)
      • 线程对象
    • 留言(Messages)
      • 消息对象
      • 消息文件对象
    • 运行(Runs)
      • 运行对象
      • 运行步骤对象
  • 即梦视频生成
    POST
  1. NewAPI兼容格式

生成音乐

POST
/suno/submit/music

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Body 参数application/json

示例
{
    "prompt": "[Verse]\nMove your paws\nLeft and right\nJump around\nFeel the light\nWhiskers twitch\nTails in the air\nDancing cats\nEverywhere\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow\n\n[Verse 2]\nTiptoe steps\nSoft and sweet\nTiny paws\nUnbeatable beat\nMeow to the rhythm\nClaws precise\nEvery move\nFeline paradise\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow\n\n[Bridge]\nOoh-ooh\nBounce and sway (ooh-ooh!)\nMoonlit grooves\nNight turns to day\nLean and stretch\nStrike your pose\nEvery kitty steals the show\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow",
    "mv": "chirp-v3-5",
    "title": "Cat Dance",
    "tags": "romantic raga",
    "continue_at": 123,
    "continue_clip_id": "4c4c80c4-6318-48c7-a314-71dd03ba3a11",
    "task": "extend"
}

请求示例代码

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: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "prompt": "[Verse]\nMove your paws\nLeft and right\nJump around\nFeel the light\nWhiskers twitch\nTails in the air\nDancing cats\nEverywhere\n\n[Chorus]\nCat dance\nOh\nLet'\''s go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet'\''s steal the glow\n\n[Verse 2]\nTiptoe steps\nSoft and sweet\nTiny paws\nUnbeatable beat\nMeow to the rhythm\nClaws precise\nEvery move\nFeline paradise\n\n[Chorus]\nCat dance\nOh\nLet'\''s go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet'\''s steal the glow\n\n[Bridge]\nOoh-ooh\nBounce and sway (ooh-ooh!)\nMoonlit grooves\nNight turns to day\nLean and stretch\nStrike your pose\nEvery kitty steals the show\n\n[Chorus]\nCat dance\nOh\nLet'\''s go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet'\''s steal the glow",
    "mv": "chirp-v3-5",
    "title": "Cat Dance",
    "tags": "romantic raga",
    "continue_at": 123,
    "continue_clip_id": "4c4c80c4-6318-48c7-a314-71dd03ba3a11",
    "task": "extend"
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "code": "success",
    "data": {
        "task_id": "15f3e2b3-fd32-4233-a3b3-3dec3dd1525e",
        "notify_hook": "",
        "action": "MUSIC",
        "status": "SUBMITTED",
        "fail_reason": "",
        "submit_time": 1754390318,
        "start_time": 1754390318,
        "finish_time": 0,
        "progress": "0%",
        "search_item": "77e2b720-bdd6-486e-a96c-0c97c46e8315,1ca98c30-7a35-4a98-9bee-b46b1f7abe8e",
        "data": [
            {
                "id": "77e2b720-bdd6-486e-a96c-0c97c46e8315",
                "title": "Cat Dance",
                "audio_url": "",
                "video_url": "",
                "image_url": "",
                "image_large_url": "",
                "major_model_version": "v3",
                "model_name": "chirp-v3",
                "status": "submitted",
                "created_at": "2025-08-05T10:38:37.985Z",
                "handle": "unyieldingencore9039",
                "display_name": "UnyieldingEncore9039",
                "avatar_image_url": "https://cdn1.suno.ai/sAura19.jpg",
                "user_id": "2841561b-dd5d-4665-ae78-00a9c348b6d1",
                "entity_type": "song_schema",
                "is_public": false,
                "is_trashed": false,
                "is_liked": false,
                "is_handle_updated": false,
                "is_contest_clip": false,
                "allow_comments": true,
                "has_hook": false,
                "play_count": 0,
                "upvote_count": 0,
                "flag_count": 0,
                "metadata": {
                    "can_remix": true,
                    "edited_clip_id": "4c4c80c4-6318-48c7-a314-71dd03ba3a11",
                    "history": [
                        {
                            "continue_at": 123,
                            "id": "4c4c80c4-6318-48c7-a314-71dd03ba3a11",
                            "infill": false,
                            "source": "web",
                            "type": "gen"
                        }
                    ],
                    "infill": false,
                    "is_remix": false,
                    "priority": 10,
                    "prompt": "[Verse]\nMove your paws\nLeft and right\nJump around\nFeel the light\nWhiskers twitch\nTails in the air\nDancing cats\nEverywhere\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow\n\n[Verse 2]\nTiptoe steps\nSoft and sweet\nTiny paws\nUnbeatable beat\nMeow to the rhythm\nClaws precise\nEvery move\nFeline paradise\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow\n\n[Bridge]\nOoh-ooh\nBounce and sway (ooh-ooh!)\nMoonlit grooves\nNight turns to day\nLean and stretch\nStrike your pose\nEvery kitty steals the show\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow",
                    "stream": true,
                    "tags": "romantic raga",
                    "task": "extend",
                    "type": "gen"
                }
            },
            {
                "id": "1ca98c30-7a35-4a98-9bee-b46b1f7abe8e",
                "title": "Cat Dance",
                "audio_url": "",
                "video_url": "",
                "image_url": "",
                "image_large_url": "",
                "major_model_version": "v3",
                "model_name": "chirp-v3",
                "status": "submitted",
                "created_at": "2025-08-05T10:38:37.985Z",
                "handle": "unyieldingencore9039",
                "display_name": "UnyieldingEncore9039",
                "avatar_image_url": "https://cdn1.suno.ai/sAura19.jpg",
                "user_id": "2841561b-dd5d-4665-ae78-00a9c348b6d1",
                "entity_type": "song_schema",
                "is_public": false,
                "is_trashed": false,
                "is_liked": false,
                "is_handle_updated": false,
                "is_contest_clip": false,
                "allow_comments": true,
                "has_hook": false,
                "play_count": 0,
                "upvote_count": 0,
                "flag_count": 0,
                "metadata": {
                    "can_remix": true,
                    "edited_clip_id": "4c4c80c4-6318-48c7-a314-71dd03ba3a11",
                    "history": [
                        {
                            "continue_at": 123,
                            "id": "4c4c80c4-6318-48c7-a314-71dd03ba3a11",
                            "infill": false,
                            "source": "web",
                            "type": "gen"
                        }
                    ],
                    "infill": false,
                    "is_remix": false,
                    "priority": 10,
                    "prompt": "[Verse]\nMove your paws\nLeft and right\nJump around\nFeel the light\nWhiskers twitch\nTails in the air\nDancing cats\nEverywhere\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow\n\n[Verse 2]\nTiptoe steps\nSoft and sweet\nTiny paws\nUnbeatable beat\nMeow to the rhythm\nClaws precise\nEvery move\nFeline paradise\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow\n\n[Bridge]\nOoh-ooh\nBounce and sway (ooh-ooh!)\nMoonlit grooves\nNight turns to day\nLean and stretch\nStrike your pose\nEvery kitty steals the show\n\n[Chorus]\nCat dance\nOh\nLet's go!\nSwing your tails\nDon’t say no (don’t say no!)\nPurr and twirl\nLike a show\nCat dance\nLet's steal the glow",
                    "stream": true,
                    "tags": "romantic raga",
                    "task": "extend",
                    "type": "gen"
                }
            }
        ],
        "audio_url": "",
        "video_url": "",
        "image_url": "",
        "image_large_url": "",
        "major_model_version": "",
        "model_name": "",
        "prompt": "",
        "type": "",
        "tags": "",
        "duration": 0,
        "error_type": "",
        "error_message": "",
        "handle": "",
        "is_handle_updated": false,
        "is_trashed": false,
        "reaction": null,
        "created_at": "",
        "title": ""
    },
    "message": ""
}
修改于 2025-08-29 16:51:10
上一页
生成歌词
下一页
查询歌曲
Built with