Midjourney
Создать modal-задачу Midjourney
Используйте POST /mj/submit/modal, чтобы отправить modal-вывод Midjourney из zoom или area redesign и продолжить следующий шаг редактирования изображения в CometAPI.
POST
cURL
Обзор
Отправьте дополнительный ввод, когда задача Action возвращаетstatus: "MODAL". Это требуется для операций, которым нужны дополнительные данные, например маски inpainting или custom zoom Prompt.
Когда использовать
Авторизации
Bearer token authentication. Use your CometAPI key.
Тело
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.