タスク取得API
単一タスクを取得
CometAPI の GET /mj/task//fetch を使用して、単一の Midjourney タスクのステータスをすばやく確実に取得し、監視や結果のポーリングに活用します。
GET
Fetch a Midjourney task
Midjourney の submit 呼び出しを行うたびに、このエンドポイントを使用してください。これは imagine、action、modal、blend、editor ワークフロー向けの主要なポーリング用エンドポイントです。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.
最初に確認すべきフィールド
- 全体的なタスク状態を示す
status - 現在の完了状況を示す
progress - アセットの準備ができたときの
imageUrlまたはvideoUrl - 次に利用可能な
customIdの値を確認するためのbuttons
ポーリングのルール
- タスクが
SUCCESS、MODAL、またはFAILUREに到達するまでポーリングを続けます - 後続アクションの正しい判断基準として
buttons配列を扱います - 完成したグリッドまたはアップスケール結果が必要な場合は
imageUrlを使用します
承認
Bearer token authentication. Use your CometAPI key.
パスパラメータ
Midjourney task id.
レスポンス
200 - application/json
Current task state.