AI Mask - remove.bg
Description
The AI Image Processing remove.bg is an AI service that works with OMN as an integration with the remove.bg API. Its function is to automatically remove the background of images in OMN DAM.
To use remove.bg in the OMN context, a paid subscription must be purchased.
All information about remove.bg API can be found here.
Configuration Parameters
Workflow-Name: ai-imageprocessing-removebg
| Key (* = required) | Type | Default | Description | Example |
|---|---|---|---|---|
ext.ai-imageprocessing.apiurl* |
string |
Has to be set to the imageprocessing services api url |
||
ext.ai-imageprocessing.apikey* |
string |
Has to be set to the api key for the service you are using |
||
ext.ai-imageprocessing.filetype* |
string |
The file type of the returning image. Can be set to png, jpg, webp, or zip. png is recommended as it supports transparency. webp also supports transparency and typically results in smaller file sizes compared to png or jpg, making it suitable for web applications. zip contains the alpha mask as a png and a color corrected source image in jpg format. See also here |
||
ext.ai-imageprocessing.quality* |
string |
Maximum output image resolution: "preview" (default) = Resize image to 0.25 megapixels (e.g. 625×400 pixels) – 0.25 credits per image, "full" = Use original image resolution, up to 25 megapixels (e.g. 6250x4000) with formats ZIP or JPG, or up to 10 megapixels (e.g. 4000x2500) with PNG – 1 credit per image), "auto" = Use highest available resolution (based on image size and available credits). See also here |
preview |
|
ext.ai-imageprocessing.backgroundcolor |
string |
white |
Sets the background color of the returning image to a solid color. Can be hexcode (87d5a8, fff) or color name (grey, red). For semi-transparency use 4- / 8-digit hex codes (87da877, fff7) |
red |
ext.ai-imageprocessing.overwrite |
boolean |
false |
If true, the returning image will overwrite any image of the same name. If false a numeric counter is used as suffix for the new name |
false |
ext.ai-imageprocessing.path |
boolean |
false |
determines if an SVG path should be written |
false |
Example configuration
A detailed step-by-step guide to the configuration of the Workflow Config Function plug-in can be found on this page.
Additional information
Technical service conditions
-
Images can be uploaded with any image resolution.
-
The maximum supported output resolution is 25 megapixels (e.g. 6250 × 4000 or any other aspect ratio)
Images larger than that are automatically resized -
For preview images, the maximum output resolution is 0.25 megapixels (e.g. 625 × 400).
-
Remove.bg currently supports images with a file size of up to 12 megabytes.
-
PNG images above 10 megapixels are not supported. If transparency is required for images of that size, use either WebP or ZIP format.
-
For the fastest processing, the ZIP format is recommended.
-
If transparency is not needed (e.g. white background), JPG is recommended.
-
PSD files are not supported as upload formats and are only mentioned as supported output format in the desktop application.
Further information can be found in official RemoveBG documentation