Skip to main content
POST
/
api
/
images
/
imageToPrompt
Create Prompt from Image(이미지를 묘사하는 프롬프트 생성)
curl --request POST \
  --url http://localhost:4010/api/images/imageToPrompt \
  --header 'Accept-Language: <accept-language>' \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "image": "<string>"
}'
{
"captionPrompt": "<string>",
"captionTPrompt": "<string>"
}

Headers

Accept-Language
string
required

language(언어)

X-Api-Key
string
required

API Key(API 키)

Body

application/json
image
string
required

reference image url(레퍼런스 이미지 주소)

Response

captionPrompt
string

Image to Text Prompt(이미지2텍스트 프롬프트)

captionTPrompt
string

Translated Prompt(번역된 프롬프트)

I