- 发出请求
- 模型接口
- 完成对象
- OpenAI接口
- 文生图接口
- Realtime (实时语音、对话)
- Anthropic Claude
- 谷歌Gemini
- Midjourney
- GPTs 相关
- 文生音乐
- 文生视频
- Rerank API
- Python配置方式
- 帮助中心
- 回收站
查询单个任务(API格式)
主站接口①
主站接口①
GET
https://api2.aigcbest.top
请求参数
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 'https://api2.aigcbest.top/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"
}
}
}
修改于 2024-11-27 04:17:00