CometAPI를 사용해 하나 이상의 입력 이미지를 새로운 Midjourney 스타일 이미지로 블렌드하려면 POST /mj/submit/blend 엔드포인트에 이미지를 제출하세요.
curl --request POST \
--url https://api.cometapi.com/mj/submit/blend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
]
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}작업 폴링
결과에서 계속 진행
Bearer token authentication. Use your CometAPI key.
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 curl --request POST \
--url https://api.cometapi.com/mj/submit/blend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
]
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}