AI-YIAPI-全球AI分发站
  1. 暂时未启用
AI-YIAPI-全球AI分发站
  • 关于我们
  • Open AI
    • gpt-4-all(生成图片)
    • 内容补全接口
    • DALL·E 3
    • 创建嵌入
    • 创建转录
    • 创建翻译
    • TTS文本转语音
    • 合并音乐
  • InsightFace任务提交
    • 提交swap_face任务
  • 任务管理
    • 任务查询
  • Midjourney接口
    • 任务提交
      • 执行动作
      • 提交Blend任务
      • 提交Describe任务
      • 提交Imagine任务
      • 提交Modal
      • 提交Shorten任务
    • 任务查询
      • 指定ID获取任务
      • 获取任务图片的seed(需设置mj或niji的私信ID)
  • 暂时未启用
    • Generate
      • Stable Image Ultra
      • Stable Image Core
      • Stable Diffusion 3
    • SDXL & SD1.6
      • Text-to-image
    • styles
      • 创建样式
    • images
      • 生成图像
      • 图像矢量化
      • 移除背景
      • 清晰度提升
      • 生成式放大
    • 视频生成
      • 图生视频
    • 生成音乐
      POST
    • 获取音乐
      GET
    • 生成音乐
      POST
    • 获取音乐
      GET
    • flux-pro-1.1
      POST
    • flux-pro
      POST
    • flux-dev
      POST
    • flux-查询
      GET
    • Generate(文生图)
      POST
    • Remix(混合图)
      POST
    • Upscale(放大高清)
      POST
    • Describe(描述)
      POST
    • 图像生成
      POST
    • 文生视频
      POST
    • 图生视频
      POST
    • 查询任务
      GET
    • 获取视频
      GET
    • 生成视频
      POST
    • 图片描述
      POST
    • 文生图
      POST
    • 合成图
      POST
    • 放大图片
      POST
    • ideogram任务查询
      POST
    • CogVideoX视频生成
      POST
    • CogVideoX视频查询
      GET
    • Mix上传视频并生成视频
      POST
    • 查询视频任务
      GET
    • Multi模板列表
      GET
    • Mix官方模板列表
      GET
    • Mix上传视频素材库
      GET
    • Mix上传图片素材库
      GET
    • 剩余积分查询
      GET
    • Multi上传视频并生成视频
      POST
    • Move上传视频并生成视频
      POST
  1. 暂时未启用

获取音乐

GET
/suno/v1/music/id

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Header 参数
Authorization
string 
可选
示例值:
Bearer {{YOUR_API_KEY}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/suno/v1/music/id'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
object 
必需
task_id
string 
必需
status
string 
必需
input
string 
必需
clips
object 
必需
message
string 
必需
示例
{
    "code": 200,
    "data": {
        "task_id": "56ea8da3-8507-4118-9f1e-111111111111",
        "status": "completed",
        "input": "{\"custom_mode\":false,\"gpt_description_prompt\":\"blowing in the wind\",\"make_instrumental\":false,\"prompt\":\"\",\"title\":\"\",\"continue_at\":0,\"continue_clip_id\":\"\",\"mv\":\"chirp-v3-0\",\"tags\":\"\"}",
        "clips": {
            "e0fe8bba-fac8-460b-bf1c-111111111111": {
                "id": "e0fe8bba-fac8-460b-bf1c-111111111111",
                "video_url": "https://cdn1.suno.ai/e0fe8bba-fac8-460b-bf1c-111111111111.mp4",
                "audio_url": "https://cdn1.suno.ai/e0fe8bba-fac8-460b-bf1c-111111111111.mp3",
                "image_url": "https://cdn1.suno.ai/image_e0fe8bba-fac8-460b-bf1c-111111111111.png",
                "image_large_url": "https://cdn1.suno.ai/image_large_e0fe8bba-fac8-460b-bf1c-111111111111.png",
                "is_video_pending": false,
                "major_model_version": "v3",
                "model_name": "chirp-v3",
                "metadata": {
                    "tags": "acoustic folk ballad",
                    "prompt": "[Verse]\nLeaves whisper\nTrees sway\nIn the wind\nWe all play\nQuestions fly\nAnswers hide\nIn this world\nSide by side\n\n[Verse 2]\nBirds soar\nClouds roam\nIn the breeze\nWe find home\nSearching for truth\nIn the sky\nAs the wind carries our sigh\n\n[Chorus]\nBlowin' in the breeze\nWe're like the leaves\nWonderin' where life takes us\nWhere it leads\nWith every gust\nWe let go of what we know\nBlowin' in the breeze\nWe're free to grow",
                    "gpt_description_prompt": "blowing in the wind",
                    "audio_prompt_id": "",
                    "history": null,
                    "concat_history": null,
                    "type": "gen",
                    "duration": 108.8,
                    "refund_credits": false,
                    "stream": true,
                    "error_type": null,
                    "error_message": null
                },
                "is_liked": false,
                "is_handle_updated": false,
                "is_trashed": false,
                "reaction": null,
                "created_at": "2024-04-18T14:29:31.760Z",
                "status": "complete",
                "title": "Blowin' in the Breeze",
                "play_count": 0,
                "upvote_count": 0,
                "is_public": false
            },
            "f66f7a6f-a868-464f-b280-111111111111": {
                "id": "f66f7a6f-a868-464f-b280-111111111111",
                "video_url": "https://cdn1.suno.ai/f66f7a6f-a868-464f-b280-111111111111.mp4",
                "audio_url": "https://cdn1.suno.ai/f66f7a6f-a868-464f-b280-111111111111.mp3",
                "image_url": "https://cdn1.suno.ai/image_f66f7a6f-a868-464f-b280-111111111111.png",
                "image_large_url": "https://cdn1.suno.ai/image_large_f66f7a6f-a868-464f-b280-111111111111.png",
                "is_video_pending": false,
                "major_model_version": "v3",
                "model_name": "chirp-v3",
                "metadata": {
                    "tags": "acoustic folk ballad",
                    "prompt": "[Verse]\nLeaves whisper\nTrees sway\nIn the wind\nWe all play\nQuestions fly\nAnswers hide\nIn this world\nSide by side\n\n[Verse 2]\nBirds soar\nClouds roam\nIn the breeze\nWe find home\nSearching for truth\nIn the sky\nAs the wind carries our sigh\n\n[Chorus]\nBlowin' in the breeze\nWe're like the leaves\nWonderin' where life takes us\nWhere it leads\nWith every gust\nWe let go of what we know\nBlowin' in the breeze\nWe're free to grow",
                    "gpt_description_prompt": "blowing in the wind",
                    "audio_prompt_id": "",
                    "history": null,
                    "concat_history": null,
                    "type": "gen",
                    "duration": 103.2,
                    "refund_credits": false,
                    "stream": true,
                    "error_type": null,
                    "error_message": null
                },
                "is_liked": false,
                "is_handle_updated": false,
                "is_trashed": false,
                "reaction": null,
                "created_at": "2024-04-18T14:29:31.761Z",
                "status": "complete",
                "title": "Blowin' in the Breeze",
                "play_count": 0,
                "upvote_count": 0,
                "is_public": false
            }
        }
    },
    "message": "success"
}
上一页
生成音乐
下一页
flux-pro-1.1
Built with