- 最新公告
- OpenAI
- AnthropicClaude
- Elevenlabs 语音
- Fal.ai
- 火山方舟
- 可灵 Kling
- MiniMax
- 智谱 AI
- 万相
- 搜索 Search
- Textin
- Images
- Midjourney
- Audio
- RAG
- Files
- 🔥AI 工具
- 文档智能&图片处理
- AI产品配置教程
- 教程类
- 系统API
- 视频生成(Videos)
- 内容审查(Moderations)
- Deepdataspace
获取任务
GET
https://api.chatfire.cn/mj/task/{id}/fetch
最后修改时间:2025-06-29 03:51:32
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
id
string
必需
示例值:
1736154170378659
Header 参数
Authorization
string
可选
示例值:
Authorization: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
示例代码
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.chatfire.cn/mj/task/1736154170378659/fetch' \
--header 'Authorization: Authorization: Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379'
返回响应
🟢200成功
application/json
Body
id
string
ID
action
string
任务类型
customId
string
必需
botType
string
必需
prompt
string
提示词
promptEn
string
提示词-英文
description
string
任务描述
state
string
自定义参数
mode
string
必需
proxy
string
必需
submitTime
integer
提交时间
startTime
integer
开始执行时间
finishTime
integer
结束时间
imageUrl
string
图片url
imageUrls
null
必需
imageHeight
integer
必需
imageWidth
integer
必需
videoUrl
string
必需
videoUrls
array [object {1}]
必需
url
string
必需
status
string
任务状态
progress
string
任务进度
failReason
string
失败原因
buttons
array[string]
可执行按钮
maskBase64
string
必需
properties
object
必需
notifyHook
string
必需
flags
integer
必需
messageId
string
必需
messageHash
string
必需
nonce
string
必需
customId
string
必需
finalPrompt
string
必需
progressMessageId
string
必需
messageContent
string
必需
discordInstanceId
string
必需
discordChannelId
string
必需
示例
{
"id": "1751168881487270",
"action": "VIDEO",
"customId": "",
"botType": "",
"prompt": "飞来一只蜜蜂",
"promptEn": "",
"description": "Submit Success",
"state": "",
"mode": "",
"proxy": "",
"submitTime": 1751168881487,
"startTime": 1751168881487,
"finishTime": 1751168968099,
"imageUrl": "https://storage.fonedis.cc/attachments/1372468820912115716/1388566717961338880/hyper_realistic_3d_rendering_pink_tulip_style_686021570d5ec4451c1c120a.jpg?ex=68617307&is=68602187&hm=f939f10d79de24e3ed0f2c4dc1453c902ee6b383d13d9a1787eacfccfadb9488&",
"imageUrls": null,
"imageHeight": 880,
"imageWidth": 448,
"videoUrl": "",
"videoUrls": [
{
"url": "https://storage.fonedis.cc//video/c6915b01-1f1f-40a1-958b-87b69549757a/0_0.mp4"
},
{
"url": "https://storage.fonedis.cc//video/c6915b01-1f1f-40a1-958b-87b69549757a/0_1.mp4"
},
{
"url": "https://storage.fonedis.cc//video/c6915b01-1f1f-40a1-958b-87b69549757a/0_2.mp4"
},
{
"url": "https://storage.fonedis.cc//video/c6915b01-1f1f-40a1-958b-87b69549757a/0_3.mp4"
}
],
"status": "SUCCESS",
"progress": "100%",
"failReason": "",
"buttons": [],
"maskBase64": "",
"properties": {
"notifyHook": "",
"flags": 0,
"messageId": "",
"messageHash": "c6915b01-1f1f-40a1-958b-87b69549757a",
"nonce": "",
"customId": "",
"finalPrompt": "https://storage.fonedis.cc/attachments/1372468820912115716/1388566717961338880/hyper_realistic_3d_rendering_pink_tulip_style_686021570d5ec4451c1c120a.jpg?ex=68617307&is=68602187&hm=f939f10d79de24e3ed0f2c4dc1453c902ee6b383d13d9a1787eacfccfadb9488& 飞来一只蜜蜂 --ar 1:1 --v 7 --stylize 100 --fast",
"progressMessageId": "",
"messageContent": "",
"discordInstanceId": "1372468820912115716",
"discordChannelId": "1372468820912115716"
}
}
修改于 2025-06-29 03:51:32