Headers
Request Id for canceling edit request(취소 요청을 위한 요청 ID)
API Key(API 키)
Path Parameters
Response
Image with Background Removed(배경제거된 이미지)
Upscaled Image(업스케일된 이미지)
curl --request POST \
--url http://localhost:4010/api/images/{id}/removeBg \
--header 'X-Request-Id: <x-request-id>'{
"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>"
}
}
}curl --request POST \
--url http://localhost:4010/api/images/{id}/removeBg \
--header 'X-Request-Id: <x-request-id>'{
"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>"
}
}
}Request Id for canceling edit request(취소 요청을 위한 요청 ID)
API Key(API 키)
Image with Background Removed(배경제거된 이미지)
Upscaled Image(업스케일된 이미지)
Show child attributes