Midjourney
Modal (переробка області та Zoom)
Використовуйте POST /mj/submit/modal, щоб надсилати modal-вивід Midjourney із zoom або переробки області та продовжувати наступний крок редагування зображення в CometAPI.
POST
Modal (Area Redesign & Zoom)
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.
Огляд
Надсилайте додаткові вхідні дані, коли задача Action повертаєstatus: "MODAL". Це потрібно для операцій, яким потрібні додаткові дані, як-от маски inpainting або власні Prompt для zoom.
Коли використовувати
| Операція | Що надсилати |
|---|---|
| Vary (Region) / Inpaint | maskBase64 (PNG-маска) + prompt |
| Custom Zoom | prompt (наприклад, “your prompt —zoom 2”) |
Авторизації
Bearer token authentication. Use your CometAPI key.
Тіло
application/json
Task id from the parent task whose modal action you are continuing.
Base64-encoded mask image for partial inpainting. White areas are repainted; black areas are preserved.
Text prompt describing the desired change for the selected region.