Midjourney
Een Midjourney modal-taak aanmaken
Gebruik POST /mj/submit/modal om Midjourney modal-uitvoer van zoom of gebiedsherontwerp in te dienen en door te gaan met de volgende beeldbewerkingsstap in CometAPI.
POST
cURL
Overzicht
Dien aanvullende invoer in wanneer een Action-taakstatus: "MODAL" retourneert. Dit is vereist voor bewerkingen die extra gegevens nodig hebben, zoals inpainting-maskers of aangepaste zoom-prompts.
Wanneer te gebruiken
Autorisaties
Bearer token authentication. Use your CometAPI key.
Body
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.