- OpenAI通用接口
- gemini
- Midjourney API文档
- Flux(文生图)
- Replicate格式
- OpenAI DallE3格式POST
- Runway视频接口
- Luma视频接口
- 可灵API(官方接口)
- 工作流接口
- suno
- ideogram
Suno 获取音乐
测试中
GET
/suno/task/{id}/fetch
请求参数
Path 参数
id
string
必需
Header 参数
Authorization
string
必需
默认值:
{{Authorization}}
示例代码
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/task//fetch?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
description
string
必需
id
string
任务ID
major_model_version
string
模型版本
clips
array[object (clip) {14}]
必需
audio_url
string
视频链接
created_at
string
创建时间
id
string
歌曲ID
image_large_url
string
大图链接
image_url
string
图片链接
is_handle_updated
boolean
必需
is_video_pending
boolean
生成中
major_model_version
string
主要模型版本
metadata
object
元数据
model_name
string
模型名称
reaction
object | null
必需
status
string
状态
title
string
歌曲名称
video_url
string
音频链接
failReason
string
失败原因
submitAt
string
提交时间
startAt
string
开始时间
finishAt
string
完成时间
status
string
状态
SUCCESS-成功,
RUNNING-运行中,
FAILURE-失败
示例
{
"code": 0,
"description": "",
"id": "1718200299075937",
"major_model_version": "",
"clips": [
{
"audio_url": "https://cdn1.suno.ai/4a4b5757-ded8-4ce3-b732-43a7e6e60f02.mp3",
"created_at": "2024-06-12 21:51:39",
"id": "4a4b5757-ded8-4ce3-b732-43a7e6e60f02",
"image_large_url": "https://cdn1.suno.ai/image_large_4a4b5757-ded8-4ce3-b732-43a7e6e60f02.png",
"image_url": "https://cdn1.suno.ai/image_4a4b5757-ded8-4ce3-b732-43a7e6e60f02.png",
"is_handle_updated": false,
"is_video_pending": true,
"major_model_version": "v3",
"metadata": {
"audio_prompt_id": null,
"concat_history": null,
"duration": 101.24,
"error_message": null,
"error_type": null,
"gpt_description_prompt": "a groovy dance song about writing a face-melting guitar solo",
"history": null,
"prompt": "[Verse]\nOoh-yeah\nFeel the beat\nFeel the beat (ooh-yeah!)\nGot my axe\nTime to heat\nTime to heat\nStrings on fire\nCan't be beat\nCan't be beat\nIn the night\nOn repeat\nOn repeat\n\n[Chorus]\nBurn those strings (burn those strings)\nMake it sing (make it sing)\nFeel the heat (feel the heat)\nMove your feet (move your feet)\n\n[Verse 2]\nWatch me now\nLight it up\nLight it up\nEvery note\nDon't stop\nDon't stop\nTurn it loud\nCrank it up\nCrank it up\nSolo high\nWe won't drop\nWe won't drop",
"stream": true,
"tags": "groovy dance electric",
"type": "gen"
},
"model_name": "chirp-v3",
"reaction": null,
"status": "complete",
"title": "Burning Strings",
"video_url": "https://cdn1.suno.ai/4a4b5757-ded8-4ce3-b732-43a7e6e60f02.mp4"
},
{
"audio_url": "https://cdn1.suno.ai/4d3efe7c-381c-4482-b8a7-89f30b4d95e4.mp3",
"created_at": "2024-06-12 21:51:39",
"id": "4d3efe7c-381c-4482-b8a7-89f30b4d95e4",
"image_large_url": "https://cdn1.suno.ai/image_large_4d3efe7c-381c-4482-b8a7-89f30b4d95e4.png",
"image_url": "https://cdn1.suno.ai/image_4d3efe7c-381c-4482-b8a7-89f30b4d95e4.png",
"is_handle_updated": false,
"is_video_pending": true,
"major_model_version": "v3",
"metadata": {
"audio_prompt_id": null,
"concat_history": null,
"duration": 117.96,
"error_message": null,
"error_type": null,
"gpt_description_prompt": "a groovy dance song about writing a face-melting guitar solo",
"history": null,
"prompt": "[Verse]\nOoh-yeah\nFeel the beat\nFeel the beat (ooh-yeah!)\nGot my axe\nTime to heat\nTime to heat\nStrings on fire\nCan't be beat\nCan't be beat\nIn the night\nOn repeat\nOn repeat\n\n[Chorus]\nBurn those strings (burn those strings)\nMake it sing (make it sing)\nFeel the heat (feel the heat)\nMove your feet (move your feet)\n\n[Verse 2]\nWatch me now\nLight it up\nLight it up\nEvery note\nDon't stop\nDon't stop\nTurn it loud\nCrank it up\nCrank it up\nSolo high\nWe won't drop\nWe won't drop",
"stream": true,
"tags": "groovy dance electric",
"type": "gen"
},
"model_name": "chirp-v3",
"reaction": null,
"status": "complete",
"title": "Burning Strings",
"video_url": "https://cdn1.suno.ai/4d3efe7c-381c-4482-b8a7-89f30b4d95e4.mp4"
}
],
"failReason": "",
"submitAt": "2024-06-12 21:51:39",
"startAt": "2024-06-12 21:51:39",
"finishAt": "2024-06-12 21:53:09",
"status": "SUCCESS"
}
修改于 2024-08-15 12:30:36