- chatgpt对话
- chatgpt绘图识图
- claude-gemini
- 逆向模型
- 绘图midjourney-proxy-plus
- 音乐
- 绘图dall-e-3POST
指定ID获取任务
开发中
国内站
国内站
GET
https://api.huiyan-ai.cn/mj/task/1741058073038122/fetch
https://api.huiyan-ai.cn
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
string
可选
Header 参数
Accept
string
可选
示例值:
*/*
Authorization
string
必需
示例值:
Bearer sk-2sxJnzr9LoabVIfS2b3225Cc002f460483A4B6Cd25FfA119
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://api.huiyan-ai.cn/mj/task/1741058073038122/fetch' \
--header 'Authorization: Bearer sk-2sxJnzr9LoabVIfS2b3225Cc002f460483A4B6Cd25FfA119'
返回响应
🟢200成功
application/json
Body
action
string
任务类型
buttons
array[object (可执行按钮) {5}]
可选
customId
string
动作标识
emoji
string
图标
label
string
文本
style
integer <int32>
可选
type
integer <int32>
类型,系统内部使用
description
string
任务描述
failReason
string
失败原因
finishTime
integer <int64>
结束时间
id
string
ID
imageUrl
string
图片url
progress
string
任务进度
prompt
string
提示词
promptEn
string
提示词-英文
properties
object
可选
startTime
integer <int64>
开始执行时间
state
string
自定义参数
status
string
任务状态
submitTime
integer <int64>
提交时间
示例
{
"action": "",
"buttons": [
{
"customId": "",
"emoji": "",
"label": "",
"style": 0,
"type": 0
}
],
"description": "",
"failReason": "",
"finishTime": 0,
"id": "",
"imageUrl": "",
"progress": "",
"prompt": "",
"promptEn": "",
"properties": {},
"startTime": 0,
"state": "",
"status": "",
"submitTime": 0
}
🟠404失败
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2025-03-04 03:24:55