MasksAsk AIpost https://api.picsart.io/tools/1.0/masksThe masks service applies a mask to an image.Body ParamsimagefileSource image file (binary). (If this parameter is present, the other image source parameters must be empty.)image_urlurilength between 1 and 2083Source image URL. (If this parameter is present, the other image source parameters must be empty.)image_idstringdeprecatedDeprecated. Source image ID of an image previously uploaded to Picsart or result image ID from a different API. (If this parameter is present, the other image source parameters must be empty.)formatstringenumDefaults to PNGOptionally select one of the image formats. Options are as follows: JPG PNG WEBP JPGPNGWEBPAllowed:JPGPNGWEBPblendstringenumDefaults to screenSelect one of the appearance types from the list (screen is chosen if left blank). The options are as follows: normal screen overlay multiply darken lighten add normalscreenoverlaymultiplydarkenlightenaddAllowed:normalscreenoverlaymultiplydarkenlightenaddmaskstringenumrequiredSelect one of the mask types from the list. The options are as follows: lace1 lace2 lace3 lace4 shdw2 shdw17 rpl3 rpl5 prsm3 prsm9 prsm10 lace1lace2lace3lace4shdw2shdw17rpl3rpl5prsm3prsm9prsm10Show 11 enum valuesopacityinteger0 to 100Defaults to 100Enter an integer value from 0 to +100. The larger the number, the greater the opacity. Default is 100.hueinteger-180 to 180Defaults to 0Enter an integer value from -180 to +180. Default is 0.mask_flipstringenumChoose a mask flip option. The choices are as follows. left right mirror horizontal mirror vertical turnaround leftrightmirror horizontalmirror verticalturnaroundAllowed:leftrightmirror horizontalmirror verticalturnaroundResponses 200Success. 400Bad Request 401Unauthorized 402Payment Required 403Forbidden 404Not Found 405Method Not Allowed 413Request Entity Too Large 415Unsupported Media Type 422Unprocessable Entity 429Too Many Requests 431Request Header Fields Too Large 500Internal Server Error 503Service UnavailableUpdated 6 months ago