Midjourney
描述(图像转文本)
使用 CometAPI POST /mj/submit/describe 从上传的图像中提取初始 Midjourney prompt,以便快速进行 remix 和迭代。
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.
此路由的适用场景
- 将图像转换为可供你 remix 的 prompt 候选
- 在开始一个全新的 imagine 任务之前,先提取视觉方向
- 当你不想从零开始编写第一个 prompt 时,构建更快的创作循环
任务流程
授权
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.