> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SaveWEBM - ComfyUI Built-in Node Documentation

> The SaveWEBM node saves a sequence of images as a WEBM video file.

The SaveWEBM node saves a sequence of images as a WEBM video file. It takes multiple input images and encodes them into a video using either VP9 or AV1 codec with configurable quality settings and frame rate. The resulting video file is saved to the output directory with metadata including prompt information.

## Inputs

| Parameter         | Description                                                                                                              | Data Type | Required | Range            |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------ | --------- | -------- | ---------------- |
| `images`          | RGBA images are saved with their alpha channel as transparency (vp9 codec only).                                         | IMAGE     | Yes      | -                |
| `filename_prefix` | Prefix for the output filename (default: "ComfyUI").                                                                     | STRING    | No       | -                |
| `codec`           | Video codec to use for encoding.                                                                                         | COMBO     | Yes      | "vp9"<br />"av1" |
| `fps`             | Frame rate for the output video (default: 24.0).                                                                         | FLOAT     | No       | 0.01-1000.0      |
| `crf`             | Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize (default: 32.0). | FLOAT     | No       | 0-63.0           |

**Note on alpha channel:** The alpha channel from RGBA images is only preserved when using the VP9 codec. When using the AV1 codec, the alpha channel is ignored and only RGB data is encoded.

**Note on file naming:** Videos are saved to the output directory as `{filename_prefix}_{counter:05}_.webm`, where the counter automatically increments to avoid overwriting existing files.

## Outputs

| Output Name | Description                                                          | Data Type |
| ----------- | -------------------------------------------------------------------- | --------- |
| `images`    | The input images, passed through unchanged after the video is saved. | IMAGE     |
| UI preview  | Video preview showing the saved WEBM file.                           | PREVIEW   |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SaveWEBM/en.md)

***

**Source fingerprint (SHA-256):** `55496b10af66a908ef035d236f8fab8193c1ae44408dab9d202deadff3be2715`
