Midjourney
Bir Midjourney modal görevi oluşturun
CometAPI’de zoom veya area redesign işleminden Midjourney modal çıktısını göndermek ve bir sonraki görsel düzenleme adımına devam etmek için POST /mj/submit/modal kullanın.
POST
cURL
Genel bakış
Bir Action görevistatus: "MODAL" döndürdüğünde ek girdi gönderin. Bu, inpainting maskeleri veya özel zoom prompt’ları gibi ek veri gerektiren işlemler için zorunludur.
Ne zaman kullanılmalı
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Gövde
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.