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-Request-Id: <x-request-id>' \
  --data '{
  "scaleSize": "2x 또는 4x 또는 8x"
}'
{
"image": {
"imageId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"resolution": "512x512",
"ownerId": 123,
"etc": "<string>",
"bookmarked": false,
"base64": "<string>",
"mimeType": "image/webp",
"Bought": [],
"Bookmarks": [],
"Upscaled": [
{
"imageId": 123,
"type": "upscale",
"scaleSize": [
"1x",
"2x",
"4x",
"8x"
],
"Image": {
"DownloadLog": [
{
"userId": 123,
"imageId": 123
}
],
"CollectionInfo": {
"enabled": true
}
}
}
],
"GenerationInfo": {
"originalPrompt": "<string>",
"super": "<string>",
"main": "<string>",
"variationId": 123,
"groupId": "<string>",
"blurReason": "<string>"
}
}
}

Headers

X-Request-Id
string
required

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

X-API-KEY
string

API KEY(API 키)

Path Parameters

id
number
required

Body

application/json
scaleSize
object
required

Resolution(해상도)

Example:

"2x 또는 4x 또는 8x"

Response

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

image
object
required

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

I