Blend (Gambar ke Gambar)
Kirim gambar ke endpoint POST /mj/submit/blend untuk memadukan satu atau lebih input menjadi gambar bergaya Midjourney yang baru dengan CometAPI.
Gunakan endpoint ini untuk memadukan 2 hingga 5 gambar sumber menjadi komposisi Midjourney yang baru. Ini adalah titik masuk langsung dan tidak memerlukan task imagine sebelumnya.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.
Sebelum Anda memanggilnya
- Siapkan 2 hingga 5 gambar sumber
- Buat pengujian pertama tetap kecil dan lewati opsi perutean akun tambahan kecuali jika Anda membutuhkannya
- Simpan task id yang dikembalikan, karena blending masih bersifat asynchronous
Alur task
Poll task
Lanjutkan dari hasil
Otorisasi
Bearer token authentication. Use your CometAPI key.
Body
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