Blend (Image sang Image)
Gửi image tới endpoint POST /mj/submit/blend để blend một hoặc nhiều đầu vào thành một image kiểu Midjourney mới với CometAPI.
Sử dụng endpoint này để blend 2 đến 5 image nguồn thành một bố cục Midjourney mới. Đây là một điểm vào trực tiếp và không yêu cầu tác vụ imagine trước đó.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.
Trước khi gọi
- Chuẩn bị 2 đến 5 image nguồn
- Giữ bài kiểm tra đầu tiên ở mức nhỏ và bỏ qua các tùy chọn định tuyến tài khoản bổ sung trừ khi bạn cần chúng
- Lưu task id được trả về, vì quá trình blend vẫn là bất đồng bộ
Luồng tác vụ
Thăm dò tác vụ
Tiếp tục từ kết quả
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Nội dung
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