任务查询 API
按条件列出
POST /mj/task/list-by-condition 通过筛选条件列出 Midjourney 任务,用于获取一个或多个任务的状态,包括进度和结果。
POST
List by Condition
当你需要批量获取 Midjourney 任务,而不是一次只轮询一个 task id 时,请使用此端点。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
何时使用
- 你需要同时跟踪多个 Midjourney 任务
- 你希望按任务状态、提交时间窗口或其他服务端条件进行筛选
- 你需要仪表盘或对账任务,而不是交互式的单任务轮询
查询模式
对热路径使用单任务轮询
对于单个活跃任务,优先使用 Fetch Single Task,因为它更简单也更快。
继续跟进值得关注的任务
当批量结果显示某些任务需要更深入检查或继续处理时,切换回 Fetch Single Task 和 Action。
授权
Bearer token authentication. Use your CometAPI key.
请求体
application/json
Array of Midjourney task ids to retrieve. Returns the current status and result for each.