Acción (Upscale, Variation, Reroll, Zoom)
Usa CometAPI POST /mj/submit/action para aplicar acciones de Midjourney—upscale, variation, reroll, zoom y más—sobre imágenes generadas mediante imaging.
Usa este endpoint después de que una tarea de Midjourney devuelva botones de acción. Inicia una nueva tarea derivada, como upscale, variation, reroll, zoom o 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.
Necesitas dos valores
taskIdde la tarea original o de la tarea más reciente de MidjourneycustomIddel último arreglobuttonsdevuelto por Fetch Single Task
Acciones comunes
U1aU4: upscale de una imagen de la cuadrículaV1aV4: generar variations desde una posición de imagen- Reroll: regenerar la cuadrícula completa
- Zoom y Pan: extender la composición existente
Después de enviar una acción
Crear la tarea de seguimiento
taskId y customId, y luego guarda el nuevo id de tarea devuelto.Consultar la nueva tarea
Gestionar acciones solo con modal
MODAL, continúa con Modal para proporcionar la entrada adicional.Autorizaciones
Bearer token authentication. Use your CometAPI key.
Cuerpo
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.