- 发出请求
- 模型接口
- 完成对象
- 聊天接口(Chat)
- Suno-API
- 自动补全接口(Completions)
- 图像接口(Images)
- 向量生成接口(Embeddings)
- 音频接口(Audio)
- OpenAI接口(Chat)
- Anthropic Claude
- Midjourney
- GPTs 相关
- 文生音乐
- 文生视频
- 文生图接口
- 审查(Moderations)
- 帮助中心
- Python配置方式
- 回收站
查询单个任务(API格式)
GET
/suno/fetch/{task_id}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
task_id
string
必需
示例代码
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/fetch/'
返回响应
🟢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
array [object {10}]
必需
示例
{
"code": "success",
"message": "",
"data": {
"task_id": "f4a94d75-087b-4bb1-bd45-53ba293faf96",
"notify_hook": "",
"action": "LYRICS",
"status": "SUCCESS",
"fail_reason": "",
"submit_time": 1716192124,
"start_time": 1716192124,
"finish_time": 1716192124,
"progress": "100%",
"data": {
"id": "f4a94d75-087b-4bb1-bd45-53ba293faf96",
"text": "[Verse]\nDancing in the neon light\nWith the rhythm\nFeeling so right\nMiku's here to steal the show\nWatch her dance\nFeel the techno glow\n\nShe's got moves like no one else\nIn this digital carousel\nWith her voice\nShe mesmerizes\nEvery beat\nEvery sound maximizes\n\n[Verse 2]\nIn her virtual world\nShe's the queen\nWith energy like you've never seen\nShe'll take you on a cosmic ride\nWith her dance moves\nShe can't hide",
"title": "Electric Fantasy",
"status": "complete"
}
}
}
修改于 2025-03-11 08:33:01