Midjourney
블렌드 (이미지에서 이미지로)
CometAPI를 사용해 하나 이상의 입력 이미지를 새로운 Midjourney 스타일 이미지로 블렌드하려면 POST /mj/submit/blend 엔드포인트에 이미지를 제출하세요.
POST
Blend (image -> image)
이 엔드포인트를 사용하면 2~5개의 원본 이미지를 새로운 Midjourney 구도로 블렌드할 수 있습니다. 직접 진입하는 엔드포인트이므로 사전 imagine task가 필요하지 않습니다.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.
호출 전에 확인할 사항
- 2~5개의 원본 이미지를 준비하세요
- 첫 테스트는 작게 시작하고, 필요하지 않다면 추가 account-routing 옵션은 건너뛰세요
- 블렌딩은 여전히 비동기 방식이므로 반환된 task id를 저장하세요
작업 흐름
작업 폴링
task가 종료 상태에 도달할 때까지 단일 작업 가져오기를 사용하세요.
결과에서 계속 진행
액션 버튼이 표시되면 업스케일, variation 또는 기타 후속 단계를 위해 Action을 사용하세요.
인증
Bearer token authentication. Use your CometAPI key.
본문
application/json
Two or more base64-encoded images to blend. Each item should be a data URI such as data:image/png;base64,xxx.
Output aspect ratio.
사용 가능한 옵션:
PORTRAIT, SQUARE, LANDSCAPE Webhook URL to receive task status updates. Falls back to your account-level webhook if omitted.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
사용 가능한 옵션:
MID_JOURNEY, NIJI_JOURNEY