API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. Suno
API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • Chat Models
    • Chat
      • Create chat completion
      • vision
    • OpenAI-Realtime
    • Completions
      • Instruct
    • Audio
      • Transcriptions
      • Translations
      • Speech
    • Image generation
      • DALL·E 3
    • Embeddings
      • Create
    • Models
      • model list
    • Help
      • 常见问题及解决办法
  • Anthropic
    • Anthropic Claude
  • Suno
    • Generate music
      POST
    • Generate lyrics
      POST
    • Upload music
      POST
    • Music concat
      POST
    • Fetch task
      GET
    • Fetch batch tasks
      POST
  • Udio
    • Generate music
    • Fetch task
  • Midjourney API
    • Quick
    • Task Submit
      • Imagine
      • Action
      • Modal
      • Blend
      • Describe
      • Shorten
      • Upload discord
    • Get Task
      • Fetch task by ids
      • Fetch task by id
      • Get seed
  • Flux
    • Official
      • Generate
      • Finetune
      • Fetch task
    • OpenAI Dalle3
  • Recraft
    • Official
      • Generate Image
      • Vectorize Image
      • Remove Background
      • Clarity Upscale
      • Generative Upscale
      • Create style
    • OpenAI Dalle3
  • Ideogram
    • Generate
    • Remix
    • Edit
    • Upscale
    • Describe
  • Luma
    • Official
      • Generate
      • Fetch task
    • Own format
      • Submit
        • Generate
        • Get video of no mark
        • 扩展视频
      • Get task
        • Get task
        • Get batch task
  • Runway
    • Official
      • image to video
      • get task
    • reverse
      • text to video
      • image to video
      • video2video
      • Act-one
      • Get task
  • Kling-API
    • Callback
    • Generate image
    • Text 2 Video
    • Image 2 Video
    • Video extend
    • Get task
    • lip-sync
    • kolors-virtual-try-on
  • Replicate
    • Generate
    • Get
  • MiniMax
    • Generate video
    • Get task
    • Get file
  1. Suno

Fetch task

GET
/suno/fetch/{task_id}
最后修改时间:2025-05-06 01:23:05

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数
task_id
string 
必需
示例值:
ba46ad15-07ce-41a6-b68d-196321dc00d5
Header 参数
Authorization
string 
可选
默认值:
{{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 -g --request GET '/suno/fetch/ba46ad15-07ce-41a6-b68d-196321dc00d5' \
--header 'Authorization: '

返回响应

🟢200成功
application/json
Body
code
string 
必需
message
string 
必需
data
object 
必需
task_id
string 
必需
notify_hook
string 
必需
action
string 
必需
status
string 
必需
fail_reason
string 
必需
submit_time
integer 
必需
start_time
integer 
必需
finish_time
integer 
必需
progress
string 
必需
data
object 
必需
示例
{
    "code": "success",
    "message": "",
    "data": {
        "task_id": "ba46ad15-07ce-41a6-b68d-196321dc00d5",
        "action": "MUSIC",
        "status": "SUCCESS",
        "fail_reason": "",
        "submit_time": 1733717567,
        "start_time": 1733717567,
        "finish_time": 1733717767,
        "progress": "100%",
        "data": [
            {
                "id": "a06015d0-9e04-4f30-85db-401494940394",
                "mv": "chirp-v4",
                "msg": "",
                "tags": "emotional punk",
                "state": "succeeded",
                "title": "City Lights",
                "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",
                "status": "complete",
                "clip_id": "a06015d0-9e04-4f30-85db-401494940394",
                "task_id": "ba46ad15-07ce-41a6-b68d-196321dc00d5_1",
                "duration": 219,
                "audio_url": "https://cdn1.suno.ai/a06015d0-9e04-4f30-85db-401494940394.mp3",
                "image_url": "https://cdn2.suno.ai/image_a06015d0-9e04-4f30-85db-401494940394.jpeg",
                "video_url": "https://cdn1.suno.ai/a06015d0-9e04-4f30-85db-401494940394.mp4",
                "continue_at": null,
                "create_time": "1733717599",
                "update_time": "1733717785",
                "image_large_url": "https://cdn2.suno.ai/image_large_a06015d0-9e04-4f30-85db-401494940394.jpeg",
                "continue_clip_id": null,
                "gpt_description_prompt": null
            },
            {
                "id": "a6bd6a70-4cde-4f06-a80b-7f199f7dd92e",
                "mv": "chirp-v4",
                "msg": "",
                "tags": "emotional punk",
                "state": "succeeded",
                "title": "City Lights",
                "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",
                "status": "complete",
                "clip_id": "a6bd6a70-4cde-4f06-a80b-7f199f7dd92e",
                "task_id": "ba46ad15-07ce-41a6-b68d-196321dc00d5_2",
                "duration": 201,
                "audio_url": "https://cdn1.suno.ai/a6bd6a70-4cde-4f06-a80b-7f199f7dd92e.mp3",
                "image_url": "https://cdn2.suno.ai/image_a6bd6a70-4cde-4f06-a80b-7f199f7dd92e.jpeg",
                "video_url": "https://cdn1.suno.ai/a6bd6a70-4cde-4f06-a80b-7f199f7dd92e.mp4",
                "continue_at": null,
                "create_time": "1733717599",
                "update_time": "1733717762",
                "image_large_url": "https://cdn2.suno.ai/image_large_a6bd6a70-4cde-4f06-a80b-7f199f7dd92e.jpeg",
                "continue_clip_id": null,
                "gpt_description_prompt": null
            }
        ]
    }
}
上一页
Music concat
下一页
Fetch batch tasks
Built with