使用 Midjourney 描述图像
使用 CometAPI POST /mj/submit/describe 从上传的图像中提取初始 Midjourney Prompt,以便快速混编和迭代。
此路由适合什么场景
- 将图像转换为可供你混编的 Prompt 候选
- 在开始全新的 imagine 任务之前提取视觉方向
- 当你不想从零开始编写第一个 Prompt 时,构建更快的创作循环
任务流程
提交图像
轮询 describe 任务
复用生成的 Prompt
授权
Bearer token authentication. Use your CometAPI key.
请求体
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.
响应
Success
Submission status code. 1 = submitted successfully (result carries the task id). 21 = the action opened a confirmation modal; continue with /mj/submit/modal using the returned task id. 4 = parameter error; description explains the cause.