Midjourney
Utwórz zadanie modal Midjourney
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
cURL
Przegląd
Prześlij dodatkowe dane wejściowe, gdy zadanie Action zwrócistatus: "MODAL". Jest to wymagane w przypadku operacji potrzebujących dodatkowych danych, takich jak maski inpaintingu lub własne prompty zoom.
Kiedy używać
Autoryzacje
Bearer token authentication. Use your CometAPI key.
Treść
application/json
Task id from the parent task whose modal action you are continuing.
The button customId that opened the modal, such as MJ::Inpaint::1::xxxx::SOLO from the Vary (Region) button. Required.
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.