Skip to main content
POST
/
api
/
images
/
{id}
/
enhance
Enhance Detail(디테일 살리기)
curl --request POST \
  --url http://localhost:4010/api/images/{id}/enhance \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "imageId": 123,
  "resolution": "512x512",
  "scaleSize": "2x 또는 4x 또는 8x(1x는 원본 이미지)",
  "ownerId": 123,
  "EditInfo": {
    "originalPrompt": "<string>",
    "super": "<string>",
    "main": "<string>",
    "variationId": 123,
    "groupId": "<string>",
    "blurReason": "<string>"
  }
}
'
{
"image": {
"imageId": 123,
"resolution": "512x512",
"scaleSize": "2x 또는 4x 또는 8x(1x는 원본 이미지)",
"ownerId": 123,
"EditInfo": {
"originalPrompt": "<string>",
"super": "<string>",
"main": "<string>",
"variationId": 123,
"groupId": "<string>",
"blurReason": "<string>"
}
}
}

Authorizations

X-Api-Key
string
header
required

Headers

X-Request-Id
string

Request Id for canceling edit request(취소 요청을 위한 요청 ID)

X-Platform
enum<string>
default:web

플랫폼 구분 (web, app, figma)

Available options:
web,
app,
figma,
api

Path Parameters

id
number
required

Image ID(이미지 ID)

Body

application/json
imageId
number
required

ID(아이디)

resolution
string
required

Resolution(해상도)

Example:

"512x512"

scaleSize
object
required

Scale(스케일)

Example:

"2x 또는 4x 또는 8x(1x는 원본 이미지)"

ownerId
number
required

Owner ID(소유자 아이디)

EditInfo
object
required

Edit Information(편집 정보)

Response

Enhanced Image(디테일 살린 이미지)

image
object
required

Upscaled Image(업스케일된 이미지)