
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI格式
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
分页查询任务
Deprecated
POST
/mj/task/query
任务查询
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
pageNumber
integer <int32>
optional
Example:
0
pageSize
integer <int32>
optional
Example:
10
sort
string
optional
Example:
id,desc
action
enum<string>
optional
Allowed values:
IMAGINEUPSCALEVARIATIONZOOMPANDESCRIBEBLENDSHORTENSWAP_FACE
description
string
optional
failReason
string
optional
id
string
optional
ids
array[string]
optional
instanceId
string
optional
prompt
string
optional
promptEn
string
optional
state
string
optional
status
enum<string>
optional
Allowed values:
NOT_STARTSUBMITTEDMODALIN_PROGRESSFAILURESUCCESSCANCEL
statusSet
array[string]
optional
Allowed values:
NOT_STARTSUBMITTEDMODALIN_PROGRESSFAILURESUCCESSCANCEL
Example
Responses
🟢200OK
application/json
Body
content
array[object (任务) {15}]
optional
action
enum<string>
optional
Allowed values:
IMAGINEUPSCALEVARIATIONZOOMPANDESCRIBEBLENDSHORTENSWAP_FACE
buttons
array[object (可执行按钮) {5}]
optional
description
string
optional
failReason
string
optional
finishTime
integer <int64>
optional
id
string
optional
imageUrl
string
optional
progress
string
optional
prompt
string
optional
promptEn
string
optional
properties
object
optional
startTime
integer <int64>
optional
state
string
optional
status
enum<string>
optional
Allowed values:
NOT_STARTSUBMITTEDMODALIN_PROGRESSFAILURESUCCESSCANCEL
submitTime
integer <int64>
optional
empty
boolean
optional
first
boolean
optional
last
boolean
optional
number
integer <int32>
optional
numberOfElements
integer <int32>
optional
pageable
object (Pageable)
optional
offset
integer <int64>
optional
pageNumber
integer <int32>
optional
pageSize
integer <int32>
optional
paged
boolean
optional
sort
object (Sort)
optional
unpaged
boolean
optional
size
integer <int32>
optional
sort
object (Sort)
optional
totalElements
integer <int64>
optional
totalPages
integer <int32>
optional
Example
{
"content": [
{
"action": "IMAGINE",
"buttons": [
{
"customId": "string",
"emoji": "string",
"label": "string",
"style": 0,
"type": 0
}
],
"description": "string",
"failReason": "string",
"finishTime": 0,
"id": "string",
"imageUrl": "string",
"progress": "string",
"prompt": "string",
"promptEn": "string",
"properties": {},
"startTime": 0,
"state": "string",
"status": "NOT_START",
"submitTime": 0
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Modified at 2024-07-29 05:25:06