Cut out the subject
matte_mediaSeparate the subject of a video or image from its background on a hosted GPU (costs credits); video mattes find people, image mattes the main subject. Returns a grayscale matte file, white = subject: MP4 for video, PNG for an image. Cached per media, stretch and mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Source seconds to stop at; one matte covers at most 5 minutes | |
| fast | No | A lighter model that skips still frames (soft mattes only) | |
| from | No | Source seconds to start at | |
| media | Yes | Media id or file name | |
| project | Yes | Project id or exact name | |
| occlusion | No | A hard mask of the person, for text behind them, instead of a soft matte |