Aksi (Upscale, Variation, Reroll, Zoom)
Gunakan CometAPI POST /mj/submit/action untuk menerapkan aksi Midjourney—upscale, variation, reroll, zoom, dan lainnya—pada gambar yang dihasilkan melalui imaging.
Gunakan endpoint ini setelah task Midjourney mengembalikan tombol aksi. Endpoint ini memulai task turunan baru seperti upscale, variation, reroll, zoom, atau pan.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.
Anda memerlukan dua nilai
taskIddari task Midjourney asli atau yang terbarucustomIddari arraybuttonsterbaru yang dikembalikan oleh Fetch Single Task
Aksi umum
U1hinggaU4: upscale satu gambar dari gridV1hinggaV4: menghasilkan variation dari satu posisi gambar- Reroll: menghasilkan ulang seluruh grid
- Zoom dan Pan: memperluas komposisi yang sudah ada
Setelah Anda mengirim sebuah aksi
Poll task baru
Tangani aksi khusus modal
MODAL, lanjutkan dengan Modal untuk memberikan input tambahan.Otorisasi
Bearer token authentication. Use your CometAPI key.
Body
Action id taken from the latest buttons array returned by the fetch endpoint.
Midjourney task id you want to continue from.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Whether to force remix mode when the current action supports it.
Whether to prefer the same channel account used by the current task.