Download OpenAPI specification:Download
It's convenient method that returns the url to the result immediately if the processing time is less than 25 seconds. Otherwise it will return a job hash and the result will be available via "result" method.
url | string (ImageUrl) Image url, Base64 encoded image or storage url (storage://{storage_name}/{?path}) |
target | string (StorageUrl) |
integer or string (Width)
| |
integer or string (Height)
| |
min_length | integer (MinLength) Integer f.e. - 200 - it will upscale/downscale image to have minimum 200 pixels width or height. That will also be applied to identified item/content when removing background. |
integer or string (Padding) When margin is needed, parameter padding can be used for that. It can be specified either in pixels or in percentages. | |
FitTypes (string) or object (FitType) Default: "canvas"
| |
enhancements | Array of strings (EnhancementTypes) Items Enum: "denoise" "deblur" "clean" "face_enhance" "light" "color" "white_balance" "exposure_correction" |
object (BackgroundParameters) | |
output_format | string (OutputFormat) Enum: "jpeg" "jpg" "png" "webp" The format of the output image. |
max_file_size | string (MaxFileSize) Integer or string value with maximum file size. It supports "kb", "mb" and "gb" units. It is used with output_format equals jpeg or webp. When specified, Deep Image API tries to match highest possible jpeg quality and specified max_file_size. |
quality | integer (Quality) [ 0 .. 100 ] Default: 85 Integer value for the level of jpeg or webp compression. |
dpi | integer (Dpi) Default: 300 To use the dpi effectively, the print_size needs to be sent along with it. |
print_size | string (PrintSize) Enum: "a0" "a1" "a2" "a3" "a4" "a5" "a6" "a7" "a8" "a9" "a10" "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "a2extra" "a3extra" "a3super" "supera3" "a4extra" "a4super" "supera4" "a4long" "a5extra" "sob5extra" "letter" "legal" "executive" "tabloid" "statement" "halfletter" "folio" "flsa" "flse" "note" "11x17" "10x14" "c0" "c1" "c2" "c3" "c4" "c5" "c6" "c7" "c8" "c9" "c10" "juniorlegal" "memo" "governmentletter" "governmentlegal" "ledger" "arch1" "arch2" "arch3" "arch4" "arch5" "arch6" "archa" "archb" "archc" "archd" "arche1" "arche" "arche2" "arche3" Name of the paper size format, f.e. A4, B0, letter, etc. |
print_reorientation | boolean (PrintReorientation) Default: true true/false - swap target width and height values to match paper size orientation. |
object (DenoiseParameters) To use the denoise parameters effectively, the denoise enhancement needs to be sent along with it. | |
object (DeblurParameters) To use the deblur parameters effectively, the deblur enhancement needs to be sent along with it. | |
object (LightParameters) To use the light parameters effectively, the light enhancement needs to be sent along with it. | |
object (ColorParameters) To use the color parameters effectively, the color enhancement needs to be sent along with it. | |
object (WhiteBalanceParameters) To use the white balance parameters effectively, the white_balance enhancement needs to be sent along with it. |
{- "width": "200%",
- "height": "200%"
}
{- "status": "complete",
- "job": "a8784c00-dc6b-11ee-ad50-9ec3ba0205c0"
}
url | string (ImageUrl) Image url, Base64 encoded image or storage url (storage://{storage_name}/{?path}) |
target | string (StorageUrl) |
integer or string (Width)
| |
integer or string (Height)
| |
min_length | integer (MinLength) Integer f.e. - 200 - it will upscale/downscale image to have minimum 200 pixels width or height. That will also be applied to identified item/content when removing background. |
integer or string (Padding) When margin is needed, parameter padding can be used for that. It can be specified either in pixels or in percentages. | |
FitTypes (string) or object (FitType) Default: "canvas"
| |
enhancements | Array of strings (EnhancementTypes) Items Enum: "denoise" "deblur" "clean" "face_enhance" "light" "color" "white_balance" "exposure_correction" |
object (BackgroundParameters) | |
output_format | string (OutputFormat) Enum: "jpeg" "jpg" "png" "webp" The format of the output image. |
max_file_size | string (MaxFileSize) Integer or string value with maximum file size. It supports "kb", "mb" and "gb" units. It is used with output_format equals jpeg or webp. When specified, Deep Image API tries to match highest possible jpeg quality and specified max_file_size. |
quality | integer (Quality) [ 0 .. 100 ] Default: 85 Integer value for the level of jpeg or webp compression. |
dpi | integer (Dpi) Default: 300 To use the dpi effectively, the print_size needs to be sent along with it. |
print_size | string (PrintSize) Enum: "a0" "a1" "a2" "a3" "a4" "a5" "a6" "a7" "a8" "a9" "a10" "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "a2extra" "a3extra" "a3super" "supera3" "a4extra" "a4super" "supera4" "a4long" "a5extra" "sob5extra" "letter" "legal" "executive" "tabloid" "statement" "halfletter" "folio" "flsa" "flse" "note" "11x17" "10x14" "c0" "c1" "c2" "c3" "c4" "c5" "c6" "c7" "c8" "c9" "c10" "juniorlegal" "memo" "governmentletter" "governmentlegal" "ledger" "arch1" "arch2" "arch3" "arch4" "arch5" "arch6" "archa" "archb" "archc" "archd" "arche1" "arche" "arche2" "arche3" Name of the paper size format, f.e. A4, B0, letter, etc. |
print_reorientation | boolean (PrintReorientation) Default: true true/false - swap target width and height values to match paper size orientation. |
object (DenoiseParameters) To use the denoise parameters effectively, the denoise enhancement needs to be sent along with it. | |
object (DeblurParameters) To use the deblur parameters effectively, the deblur enhancement needs to be sent along with it. | |
object (LightParameters) To use the light parameters effectively, the light enhancement needs to be sent along with it. | |
object (ColorParameters) To use the color parameters effectively, the color enhancement needs to be sent along with it. | |
object (WhiteBalanceParameters) To use the white balance parameters effectively, the white_balance enhancement needs to be sent along with it. |
{- "width": "200%",
- "height": "200%"
}
{- "status": "complete",
- "job": "a8784c00-dc6b-11ee-ad50-9ec3ba0205c0"
}
{- "status": "complete",
- "job": "a8784c00-dc6b-11ee-ad50-9ec3ba0205c0"
}
Returns account details including credits, username, email, API key, language preference, webhook settings, and billing address.
{- "credits": 3872,
- "username": "John Doe",
- "email": "johndoe@gmail.com",
- "api_key": "xxxx",
- "language": "en",
- "webhooks": { },
- "address": {
- "tax": 277021597,
- "companyName": "test",
- "streetAddress": "test",
- "city": "test",
- "postalCode": 55555,
- "country": "DE",
- "countryName": "Germany",
- "isCompany": true
}
}