Midjourney
描述(圖片轉文字)
使用 CometAPI POST /mj/submit/describe 從上傳的圖片中擷取初始的 Midjourney Prompt,以便快速進行重新混搭與迭代。
POST
Describe (image -> text)
使用此端點可從輸入圖片中擷取 Midjourney 風格的 Prompt 建議。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.
此路由適合用於
- 將圖片轉換為可供你重新混搭的 Prompt 候選
- 在開始全新的 imagine 任務前,先擷取視覺方向
- 當你不想從零開始撰寫第一個 Prompt 時,建立更快速的創作循環
任務流程
輪詢 describe 任務
使用 擷取單一任務,直到任務完成並回傳類似 Prompt 的輸出。
重用產生的 Prompt
取用最符合你意圖的 Prompt 候選,然後使用 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.