Midjourney
Modal (przeprojektowanie obszaru i zoom)
Użyj POST /mj/submit/modal, aby przesłać wynik modal Midjourney z zoom lub przeprojektowania obszaru i kontynuować kolejny etap edycji obrazu w 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.
Przegląd
Prześlij dodatkowe dane wejściowe, gdy zadanie Action zwrócistatus: "MODAL". Jest to wymagane w przypadku operacji, które potrzebują dodatkowych danych, takich jak maski inpaintingu lub niestandardowe prompty zoom.
Kiedy używać
| Operacja | Co przesłać |
|---|---|
| Vary (Region) / Inpaint | maskBase64 (maska PNG) + prompt |
| Custom Zoom | prompt (np. “your prompt —zoom 2”) |
Autoryzacje
Bearer token authentication. Use your CometAPI key.
Treść
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.