메인 콘텐츠로 건너뛰기
POST
/
mj
/
submit
/
describe
Describe (image -> text)
curl --request POST \
  --url https://api.cometapi.com/mj/submit/describe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "base64": "data:image/png;base64,xxx"
}
'
{
  "code": 123,
  "description": "<string>",
  "properties": {},
  "result": 123
}
이 엔드포인트를 사용하면 입력 이미지에서 Midjourney 스타일의 프롬프트 제안을 추출할 수 있습니다.

이 경로가 유용한 경우

  • 이미지를 리믹스 가능한 프롬프트 후보로 변환
  • 새로운 imagine 작업을 시작하기 전에 시각적 방향 추출
  • 첫 프롬프트를 처음부터 작성하고 싶지 않을 때 더 빠른 작성 루프 구축

작업 흐름

1

이미지 제출

Midjourney가 설명할 이미지를 업로드하거나 참조하고, 반환된 작업 id를 저장합니다.
2

describe 작업 폴링

작업이 완료되어 프롬프트 형태의 출력을 반환할 때까지 단일 작업 가져오기를 사용합니다.
3

생성된 프롬프트 재사용

가장 좋은 프롬프트 후보를 선택한 뒤 Imagine으로 계속 진행해 새 생성 패스를 수행합니다.

인증

Authorization
string
header
필수

Bearer token authentication. Use your CometAPI key.

본문

application/json
base64
string
기본값:example
필수

Base64-encoded image to describe. Use a data URI such as data:image/png;base64,xxx. Provide either base64 or link.

URL of the image to describe. Provide either link or base64.

botType
enum<string>

Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.

사용 가능한 옵션:
NIJI_JOURNEY,
MID_JOURNEY
state
string

Custom state string. Returned as-is in the task result and webhook callback for your own tracking.

응답

200 - application/json

Success

code
integer
필수
description
string
필수
properties
object
필수
result
integer
필수