Midjourney
Blend(画像から画像へ)
CometAPI を使用して、POST /mj/submit/blend エンドポイントに画像を送信し、1 つ以上の入力を新しい Midjourney スタイルの画像にブレンドします。
POST
Blend (image -> image)
このエンドポイントを使用すると、2〜5 枚の元画像をブレンドして、新しい Midjourney 構図を生成できます。これは直接利用できるエントリーポイントであり、事前の imagine タスクは必要ありません。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.
呼び出す前に
- 元画像を 2〜5 枚準備します
- 最初のテストは小規模にし、必要がない限り追加のアカウントルーティングオプションは省略します
- ブレンド処理は引き続き非同期であるため、返された task id を保存します
タスクの流れ
タスクをポーリング
タスクが終了状態に達するまで、単一タスクを取得 を使用します。
結果から続行
アクションボタンが表示されたら、アップスケール、バリエーション、またはその他の後続ステップに Action を使用します。
承認
Bearer token authentication. Use your CometAPI key.
ボディ
application/json
Two or more base64-encoded images to blend. Each item should be a data URI such as data:image/png;base64,xxx.
Output aspect ratio.
利用可能なオプション:
PORTRAIT, SQUARE, LANDSCAPE Webhook URL to receive task status updates. Falls back to your account-level webhook if omitted.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
利用可能なオプション:
MID_JOURNEY, NIJI_JOURNEY