根据ID列表查询任务
POST /mj/task/list-by-condition
概览
| Method | POST |
|---|---|
| Path | /mj/task/list-by-condition |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 45008037 |
参数
{ "query": [], "path": [], "cookie": [], "header": [ { "required": false, "description": "", "type": "string", "id": "GTujCrB2It", "enable": true, "name": "Authorization", "sampleValue": "Bearer {{YOUR_API_KEY}}" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "string" } } }, "required": [ "ids" ], "x-apifox-orders": [ "ids" ] }, "mediaType": "", "examples": [ { "value": "{\r\n \"ids\": [\r\n \"1743326750223591\"\r\n ]\r\n}", "mediaType": "application/json", "description": "" } ], "oasExtensions": "" }
响应
[ { "id": 562499905, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "action": { "type": "string" }, "customId": { "type": "string" }, "botType": { "type": "string" }, "prompt": { "type": "string" }, "promptEn": { "type": "string" }, "description": { "type": "string" }, "state": { "type": "string" }, "submitTime": { "type": "integer" }, "startTime": { "type": "integer" }, "finishTime": { "type": "integer" }, "imageUrl": { "type": "string" }, "status": { "type": "string" }, "progress": { "type": "string" }, "failReason": { "type": "string" }, "buttons": { "type": "array", "items": { "type": "object", "properties": { "customId": { "type": "string" }, "emoji": { "type": "string" }, "label": { "type": "string" }, "type": { "type": "integer" }, "style": { "type": "integer" } }, "required": [ "customId", "emoji", "label", "type", "style" ] } }, "maskBase64": { "type": "string" }, "properties": { "type": "object", "properties": { "finalPrompt": { "type": "string" }, "finalZhPrompt": { "type": "string" } }, "required": [ "finalPrompt", "finalZhPrompt" ] } } } }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [], "oasExtensions": "" } ]
响应示例
[ { "name": "成功示例", "responseId": 562499905, "data": "{\r\n \"id\": \"1730621826053455\",\r\n \"action\": \"IMAGINE\",\r\n \"customId\": \"\",\r\n \"botType\": \"\",\r\n \"prompt\": \"pig --v 6.1\",\r\n \"promptEn\": \"pig --v 6.1\",\r\n \"description\": \"Submit success\",\r\n \"state\": \"\",\r\n \"submitTime\": 1730621826053,\r\n \"startTime\": 1730621828024,\r\n \"finishTime\": 1730621855817,\r\n \"imageUrl\": \"https://cdnmjp.oneabc.org/attachments/1300842274347028520/1302547211321741343/kennedyhernandez46715_74108_pig_3785da15-4f70-4034-9128-f3ff1ac634fa.png?ex=6728831f&is=6727319f&hm=f6d701914d608e4da9298d2290b3616317264a70635fbf08a37ca6c1bb671b50&\",\r\n \"status\": \"SUCCESS\",\r\n \"progress\": \"100%\",\r\n \"failReason\": \"\",\r\n \"buttons\": [\r\n {\r\n \"customId\": \"MJ::JOB::upsample::1::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U1\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::upsample::2::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U2\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::upsample::3::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U3\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::upsample::4::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U4\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::reroll::0::3785da15-4f70-4034-9128-f3ff1ac634fa::SOLO\",\r\n \"emoji\": \"🔄\",\r\n \"label\": \"\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::1::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V1\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::2::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V2\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::3::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V3\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::4::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V4\",\r\n \"type\": 2,\r\n \"style\": 2\r\n }\r\n ],\r\n \"maskBase64\": \"\",\r\n \"properties\": {\r\n \"finalPrompt\": \"pig --v 6.1\",\r\n \"finalZhPrompt\": \"\"\r\n }\r\n}", "description": "", "oasKey": "", "oasExtensions": "", "id": 440609011 }, { "name": "成功示例", "responseId": 562499905, "data": "[\r\n {\r\n \"id\": \"1730621826053455\",\r\n \"action\": \"IMAGINE\",\r\n \"customId\": \"\",\r\n \"botType\": \"\",\r\n \"prompt\": \"pig --v 6.1\",\r\n \"promptEn\": \"pig --v 6.1\",\r\n \"description\": \"Submit success\",\r\n \"state\": \"\",\r\n \"submitTime\": 1730621826053,\r\n \"startTime\": 1730621828024,\r\n \"finishTime\": 1730621855817,\r\n \"imageUrl\": \"https://cdnmjp.oneabc.org/attachments/1300842274347028520/1302547211321741343/kennedyhernandez46715_74108_pig_3785da15-4f70-4034-9128-f3ff1ac634fa.png?ex=6728831f&is=6727319f&hm=f6d701914d608e4da9298d2290b3616317264a70635fbf08a37ca6c1bb671b50&\",\r\n \"status\": \"SUCCESS\",\r\n \"progress\": \"100%\",\r\n \"failReason\": \"\",\r\n \"buttons\": [\r\n {\r\n \"customId\": \"MJ::JOB::upsample::1::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U1\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::upsample::2::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U2\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::upsample::3::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U3\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::upsample::4::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"U4\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::reroll::0::3785da15-4f70-4034-9128-f3ff1ac634fa::SOLO\",\r\n \"emoji\": \"🔄\",\r\n \"label\": \"\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::1::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V1\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::2::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V2\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::3::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V3\",\r\n \"type\": 2,\r\n \"style\": 2\r\n },\r\n {\r\n \"customId\": \"MJ::JOB::variation::4::3785da15-4f70-4034-9128-f3ff1ac634fa\",\r\n \"emoji\": \"\",\r\n \"label\": \"V4\",\r\n \"type\": 2,\r\n \"style\": 2\r\n }\r\n ],\r\n \"maskBase64\": \"\",\r\n \"properties\": {\r\n \"finalPrompt\": \"pig --v 6.1\",\r\n \"finalZhPrompt\": \"\"\r\n }\r\n }\r\n]", "description": "", "oasKey": "", "oasExtensions": "", "id": 443277092 } ]