Fetch task by id
Developing
Based on the ID generated by interfaces such as Imagine, use it to query and obtain the final task return image result
Request Code Samples
curl --location --request GET '/mj/task//fetch' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}'
Responses
application/json {
"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
}
Modified at 2025-04-22 14:50:25