YoYAI
  1. Suno API
YoYAI
  • YoYAI接口文档
    • Suno API
      • 歌曲生成接口
        POST
      • 歌词生成接口
        POST
      • 歌曲任务查询接口
        POST
      • 获取歌曲Timing接口
        POST
      • MP4生成接口
        POST
      • 自定义上传歌曲
        POST
      • 获取Wav接口
        POST
      • 创建Persona接口
        POST
      • 增强风格描述接口
        POST
      • SRT生成接口
        POST
      • 获取歌曲MIDI接口
        POST
      • 获取歌曲HTML接口
        POST
    • OpenAI API
      • 图像生成接口
      • 对话接口
    • Kling API
      • 视频生成接口
    • Veo3 API
      • 视频生成接口
      • 视频任务查询接口
    • Spider API
      • URL资源爬取
      • Posts任务获取接口
    • Nano Banana API
      • 图像生成接口
      • 图像任务查询接口
    • Sora API
      • 视频生成接口
      • 视频任务查询接口
      • 角色创建接口
  1. Suno API

歌曲任务查询接口

开发中
正式环境(默认全球加速)
https://api.yoy-ai.com
正式环境(默认全球加速)
https://api.yoy-ai.com
POST
https://api.yoy-ai.com
/suno/tasks
最后修改时间:2025-11-17 09:13:42

请求参数

Header 参数

Body 参数application/json

示例
{
  "id": "10b2fcd81190469fb84df0080f3f3e08",
  "action": "retrieve"
}

请求示例代码

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.yoy-ai.com/suno/tasks' \
--header 'Authorization: Bearer asdasdasda9998fads' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "10b2fcd81190469fb84df0080f3f3e08",
  "action": "retrieve"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "_id": "67ebb4ae24da382e9dff1777",
    "id": "ef9f9b49-3111-46dc-84ff-5677857d3ad8",
    "api_id": "dc2df3b3-a9ad-462b-b61c-1e9ee536196d",
    "application_id": "43345f5b-d422-4369-9483-1a0295210365",
    "created_at": 1743500462.088,
    "credential_id": "c7e560cd-cac2-452d-8336-ec35c00e247d",
    "request": {
        "action": "generate",
        "prompt": "A song for Christmas",
        "model": "chirp-v4",
        "custom": false,
        "instrumental": false,
        "callback_url": "www.baidu.com"
    },
    "trace_id": "ebbc12bf-d65a-41c0-b36f-5308e4f4dfba",
    "type": "audios",
    "user_id": "7150c9cd-2dd2-4902-a4e0-91b723a73539",
    "response": {
        "success": true,
        "task_id": "ef9f9b49-3111-46dc-84ff-5677857d3ad8",
        "trace_id": "ebbc12bf-d65a-41c0-b36f-5308e4f4dfba",
        "data": [
            {
                "id": "acf14671-d6a4-4aec-9d93-82267d4ca9a0",
                "title": "Jingle While We Wander",
                "image_url": "https://cdn2.suno.ai/image_acf14671-d6a4-4aec-9d93-82267d4ca9a0.jpeg",
                "lyric": "[Verse]\nSnowflakes are falling on my old blue shoes\nThe lights are twinkling in reds and blues\nI’ve got no sleigh but I’m headin’ down\nTo the brightest glow in this snowy town\n[Verse 2]\nI’m wrapping my scarf ‘round these cold\nRed cheeks\nWith bells a-ringing\nJoy’s all I seek\nCandles on windows\nA warm\nSoft gleam\nIt’s the season of hope\nThe perfect dream\n[Chorus]\nJingle while we wander through frosted nights\nFilling every corner with sparkly lights\nHold your loved ones close as the carols soar\nIt’s the magic of Christmas we all adore\n[Verse 3]\nMilk and cookies on a tray near the fire\nStockings hung with a quiet desire\nFor a morning smile\nA surprise unwrap\nUnderneath the tree with a silent clap\n[Bridge]\nEvery heart’s glowing like the star on high\nGood cheer spreading wide as the tinsel flies\nNo matter the weather or how far we roam\nChristmas reminds us\nWe find our home\n[Chorus]\nJingle while we wander through frosted nights\nFilling every corner with sparkly lights\nHold your loved ones close as the carols soar\nIt’s the magic of Christmas we all adore",
                "audio_url": "https://cdn1.suno.ai/acf14671-d6a4-4aec-9d93-82267d4ca9a0.mp3",
                "video_url": "https://cdn1.suno.ai/acf14671-d6a4-4aec-9d93-82267d4ca9a0.mp4",
                "created_at": "2025-04-01T09:41:09.110Z",
                "model": "chirp-v4",
                "state": "succeeded",
                "prompt": "A song for Christmas",
                "style": "acoustic, uplifting",
                "duration": 191.76
            },
            {
                "id": "d21ff1df-4cbb-4eba-b436-fc5f63bd1890",
                "title": "Jingle While We Wander",
                "image_url": "https://cdn2.suno.ai/image_d21ff1df-4cbb-4eba-b436-fc5f63bd1890.jpeg",
                "lyric": "[Verse]\nSnowflakes are falling on my old blue shoes\nThe lights are twinkling in reds and blues\nI’ve got no sleigh but I’m headin’ down\nTo the brightest glow in this snowy town\n[Verse 2]\nI’m wrapping my scarf ‘round these cold\nRed cheeks\nWith bells a-ringing\nJoy’s all I seek\nCandles on windows\nA warm\nSoft gleam\nIt’s the season of hope\nThe perfect dream\n[Chorus]\nJingle while we wander through frosted nights\nFilling every corner with sparkly lights\nHold your loved ones close as the carols soar\nIt’s the magic of Christmas we all adore\n[Verse 3]\nMilk and cookies on a tray near the fire\nStockings hung with a quiet desire\nFor a morning smile\nA surprise unwrap\nUnderneath the tree with a silent clap\n[Bridge]\nEvery heart’s glowing like the star on high\nGood cheer spreading wide as the tinsel flies\nNo matter the weather or how far we roam\nChristmas reminds us\nWe find our home\n[Chorus]\nJingle while we wander through frosted nights\nFilling every corner with sparkly lights\nHold your loved ones close as the carols soar\nIt’s the magic of Christmas we all adore",
                "audio_url": "https://cdn1.suno.ai/d21ff1df-4cbb-4eba-b436-fc5f63bd1890.mp3",
                "video_url": "https://cdn1.suno.ai/d21ff1df-4cbb-4eba-b436-fc5f63bd1890.mp4",
                "created_at": "2025-04-01T09:41:09.110Z",
                "model": "chirp-v4",
                "state": "succeeded",
                "prompt": "A song for Christmas",
                "style": "acoustic, uplifting",
                "duration": 201.96
            }
        ]
    }
}
修改于 2025-11-17 09:13:42
上一页
歌词生成接口
下一页
获取歌曲Timing接口
Built with