Midjourney
Describe(画像からテキストへ)
CometAPI の POST /mj/submit/describe を使用して、アップロードした画像から Midjourney の初期プロンプトを抽出し、高速なリミックスと反復作業を行います。
POST
Describe (image -> text)
このエンドポイントを使用すると、入力画像から Midjourney スタイルのプロンプト候補を抽出できます。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.
このルートが適している用途
- 画像をリミックス可能なプロンプト候補に変換する
- 新しい imagine タスクを始める前に、ビジュアルの方向性を抽出する
- 最初のプロンプトを一から書きたくないときに、作成ループを高速化する
タスクフロー
describe タスクをポーリング
タスクが完了し、プロンプトのような出力を返すまで Fetch Single Task を使用します。
生成されたプロンプトを再利用
意図に合うプロンプト候補を選び、Imagine で新しい生成パスを続けます。
承認
Bearer token authentication. Use your CometAPI key.
ボディ
application/json
Base64-encoded image to describe. Use a data URI such as data:image/png;base64,xxx. Provide either base64 or link.
URL of the image to describe. Provide either link or base64.
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
利用可能なオプション:
NIJI_JOURNEY, MID_JOURNEY Custom state string. Returned as-is in the task result and webhook callback for your own tracking.