Decompose image

Decomposes an image into constituent layers using provided mask images. Returns URLs to the generated layers.

Body Params

Image file upload and mask files upload Size of an image uploaded must not exceed 30MB and resolution must not exceed 16 mega-pixels Size of each mask uploaded must not exceed 30MB and resolution must not exceed 16 mega-pixels All masks must have the same dimensions as the main image At least one mask is required, maximum of 10 masks allowed

file

The main image to be decomposed

mask_files
array of files
length between 1 and 10

Array of mask images (1-10 masks)

mask_files
string
enum

Optional output format for the background layer

Allowed:
string
enum

Optional output format for the decomposed layers

Allowed:
Responses
200

The image was successfully decomposed.

400

Bad request. May be missing required inputs or may have badly formatted inputs or options.

500

Internal server error. Unable to decompose image.

Language
Credentials
Response
Click Try It! to start a request and see the response here!