Midjourney
액션(업스케일, Variation, Reroll, Zoom)
CometAPI POST /mj/submit/action을 사용해 이미지 생성으로 생성된 이미지에 대해 Midjourney 액션(업스케일, variation, reroll, zoom 등)을 적용합니다.
POST
Create a Midjourney follow-up action task
이 엔드포인트는 Midjourney 작업이 액션 버튼을 반환한 뒤에 사용합니다. 업스케일, variation, reroll, zoom, 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.
필요한 값 두 가지
- 원래 또는 가장 최근의 Midjourney 작업에서 받은
taskId - 단일 작업 가져오기에서 반환된 최신
buttons배열의customId
자주 사용하는 액션
U1부터U4까지: 그리드에서 이미지 하나를 업스케일V1부터V4까지: 특정 이미지 위치를 기준으로 variation 생성- Reroll: 전체 그리드를 다시 생성
- Zoom 및 Pan: 기존 구도를 확장
액션 제출 후
새 작업 폴링
액션이 완료될 때까지 단일 작업 가져오기를 다시 조회합니다.
모달 전용 액션 처리
새 작업이
MODAL 상태에 도달하면 Modal로 계속 진행하여 추가 입력을 제공합니다.인증
Bearer token authentication. Use your CometAPI key.
본문
application/json
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.