Dynamic Masks

The template Creator allows you to automatically segment objects in a user photo and use the areas of detected objects as a mask that can be applied both to the input photo and to other template elements (for example, to a graphic layer).

In this example, a mask was applied to the original photo, removing the background around the shape, and placing a new background to replace the removed one.

Source
Result

Here the mask consists of two parts and the resulting area was cut from a semitransparent graphic layer.

Used masks
Result

The following dynamic masks are used to segment parts of a photo.:

Figure
Head
Face
Skin
Hair
Lips
Irises
Clothes
Sky
Glasses
Sketch