> For the complete documentation index, see [llms.txt](https://animoia.gitbook.io/animoia-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://animoia.gitbook.io/animoia-docs/effects-reference/keying.md).

# Keying

Removes colors or tones to create transparency. Every effect below is listed in the sidebar, so you can jump straight to one. Return to [Effects reference](/animoia-docs/effects-reference.md) for stack behavior shared by all effects.

## Chroma Key

Makes selected colors or tones transparent with chroma key. Add it from **Effects > Keying** by double-clicking it or dragging it onto a compatible layer.

**Properties**

| Name              | Control | Visual or audible result                                                                                                                                        |
| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Key Color         | Color   | Sets the color used for the key portion of the result.                                                                                                          |
| Screen Gain       | Number  | Raises or lowers the brightness of this part of the image.                                                                                                      |
| Screen Balance    | Number  | Balances how the key judges the screen color against the other two channels. Adjust it when a green screen keys cleanly but a blue one does not, or vice versa. |
| Clip Black        | Number  | Raises the level below which the matte becomes fully transparent, clearing residual haze out of the keyed-out area.                                             |
| Clip White        | Number  | Lowers the level above which the matte becomes fully opaque, closing up thin patches in the subject.                                                            |
| Spill Suppression | Number  | Removes the screen color that has bounced onto the subject, taking the green rim off hair and shoulders.                                                        |
| Despill Bias      | Number  | Steers what the removed spill is replaced with, so de-spilled skin tones stay natural instead of turning magenta.                                               |
| Matte Shrink/Grow | Number  | Shrinks the matte inward to cut away a fringe, or grows it outward to recover an edge that was eaten away.                                                      |
| Matte Softness    | Number  | Blurs the matte edge so the subject blends into the new background instead of looking cut out.                                                                  |
| View              | Menu    | Switches the viewer between the final composite and the matte itself, which is how you check a key for holes and haze.                                          |

## Alpha Offset

Makes selected colors or tones transparent with alpha offset. Add it from **Effects > Keying** by double-clicking it or dragging it onto a compatible layer.

**Properties**

| Name        | Control | Visual or audible result                                                                                      |
| ----------- | ------- | ------------------------------------------------------------------------------------------------------------- |
| Quality     | Menu    | Changes edge smoothness and fine detail; higher settings produce a cleaner result but preview more slowly.    |
| Choke Matte | Number  | Grows or shrinks the matte, pulling the edge in to cut off fringing or pushing it out to recover a lost edge. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://animoia.gitbook.io/animoia-docs/effects-reference/keying.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
