Midjourney
Blend(图生图)
将图片提交到 POST /mj/submit/blend 端点,使用 CometAPI 将一个或多个输入融合为一张新的 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 张源图片
- 首次测试尽量保持简单,除非确有需要,否则跳过额外的账户路由选项
- 保存返回的任务 id,因为 blending 仍然是异步的
任务流程
授权
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