- 发出请求
- 模型接口
- 聊天(Chat)
- 自动补全(Completions)
- 文生图片(Images)
- 向量生成(Embeddings)
- 音频(Audio)
- Suno 文生歌曲
- 官方格式
- OpenAI 聊天格式POST
- Flux 文生图
- Luma 文生视频
- 帮助中心
查询单个任务
GET
https://aigc.x-see.cn/suno/fetch/{task_id}
请求参数
Path 参数
task_id
string
必需
Header 参数
Authorization
string
必需
默认值:
API KEY 令牌
Content-Type
string
必需
默认值:
application/json
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://aigc.x-see.cn/suno/fetch/' \
--header 'Authorization;'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"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"
}
}
}
修改于 2024-08-14 10:02:29