> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Beeble SwitchX Partner Nodes ComfyUI Official Examples

> This guide explains how to use Beeble SwitchX Partner Nodes in ComfyUI for AI-powered image and video relighting and environment editing

The [Beeble SwitchX](/built-in-nodes/BeebleSwitchXImageEdit) Partner Nodes allow you to transform the environment, lighting, and style of existing images and videos while preserving the original subject. Upload a character or subject image along with a reference environment, and SwitchX composites your subject into the new scene with realistic lighting and shadows.

## What Beeble SwitchX is good at

* **Environment replacement**: Replaces the background environment of an image or video with a reference scene while preserving the original subject
* **Realistic relighting**: Composites the subject into the new environment with proper lighting, shadows, and perspective
* **Video editing with motion preserved**: Applies relighting to masked subject regions in a video while unmasked areas keep the original pixels and motion
* **Compositing-ready outputs**: The image workflow saves a masked cutout, and the video workflow generates a separate alpha matte for easy compositing

## Use it in ComfyUI

<Card title="Beeble SwitchX workflows" icon="diagram-project" href="/tutorials/partner-nodes/beeble/beeble-switchx/workflow">
  Run the Image Edit and Video Edit workflows in ComfyUI, locally or on Comfy Cloud
</Card>
