Ação (Upscale, Variation, Reroll, Zoom)
Use o CometAPI POST /mj/submit/action para aplicar ações do Midjourney — upscale, variation, reroll, zoom e mais — em imagens geradas via imaging.
Use este endpoint depois que uma tarefa do Midjourney retornar botões de ação. Ele inicia uma nova tarefa downstream, como upscale, variation, reroll, zoom ou 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.
Você precisa de dois valores
taskIdda tarefa original ou da tarefa mais recente do MidjourneycustomIddo arraybuttonsmais recente retornado por Fetch Single Task
Ações comuns
U1aU4: faz upscale de uma imagem da gradeV1aV4: gera variações a partir de uma posição de imagem- Reroll: regenera a grade completa
- Zoom e Pan: estendem a composição existente
Depois de enviar uma ação
Criar a tarefa de continuação
taskId e customId, depois armazene o novo id de tarefa retornado.Consultar a nova tarefa
Tratar ações somente modal
MODAL, continue com Modal para fornecer a entrada adicional.Autorizações
Bearer token authentication. Use your CometAPI key.
Corpo
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.