任務擷取 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.