Action (Upscale, Variation, Reroll, Zoom)
Utilisez CometAPI POST /mj/submit/action pour appliquer des actions Midjourney — upscale, variation, reroll, zoom, et plus encore — sur des images générées via l’imagerie.
Utilisez ce endpoint après qu’une tâche Midjourney a renvoyé des boutons d’action. Il lance une nouvelle tâche en aval, comme un upscale, une variation, un reroll, un zoom ou un 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.
Vous avez besoin de deux valeurs
taskIdde la tâche Midjourney d’origine ou de la plus récentecustomIddu dernier tableaubuttonsrenvoyé par Fetch Single Task
Actions courantes
U1àU4: upscale une image de la grilleV1àV4: génère des variations à partir d’une position d’image- Reroll : régénère la grille complète
- Zoom et Pan : étendent la composition existante
Après avoir soumis une action
Interroger la nouvelle tâche
Gérer les actions nécessitant un modal
MODAL, poursuivez avec Modal pour fournir l’entrée supplémentaire.Autorisations
Bearer token authentication. Use your CometAPI key.
Corps
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.