Midjourney
Modal (Alanı yeniden tasarla ve Zoom)
Zoom veya alanı yeniden tasarlama işleminden Midjourney modal çıktısını göndermek ve CometAPI’de bir sonraki görüntü düzenleme adımına devam etmek için POST /mj/submit/modal kullanın.
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.
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 gereklidir.
Ne zaman kullanılır
| İşlem | Ne gönderilmeli |
|---|---|
| Vary (Region) / Inpaint | maskBase64 (PNG maskesi) + prompt |
| Custom Zoom | prompt (ör. “your prompt —zoom 2”) |
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Gövde
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.