---
title: "Beeble SwitchX Video Edit API & Playground - Comfy"
description: "Beeble SwitchX Video Edit: Swaps a video's background, lighting, or costume from a reference image or prompt while preserving the subject and motion."
canonical: https://comfy.org/hub/models/beeble-switchx-video-edit/
lang: en
index: https://comfy.org/llms.txt
---

[Models](https://comfy.org/hub/models/)

Beeble

[Edit videos](https://comfy.org/hub/models/?useCase=edit-videos)

# Beeble SwitchX Video Edit

Swaps a video's background, lighting, or costume from a reference image or prompt while preserving the subject and motion.

- Use via API
- [Open in Cloud](https://stagingcloud.comfy.org/)

Cost depends on your settings.

- [relighting](https://comfy.org/hub/models/?q=relighting)
- [compositing](https://comfy.org/hub/models/?q=compositing)

## Playground

Input

Alpha matte

Provide a matte URI when Transparency mode is custom or select.

Select or drop an image PNG, JPEG, WEBP ·  up to 25 MiB

Prompt

Describe the result, or provide a Style reference.

Style reference

Provide a reference image URI to guide the style; Prompt can be left empty.

Select or drop an image PNG, JPEG, WEBP ·  up to 25 MiB

Source image or video

Provide the image or video to transform as a URL, upload URI or data URI.

-

Transparency mode

Choose how transparency is determined for the input.

Resolution

Output

00:00

Example

## Try an example

-

## Call this model from your code

Sends your Playground inputs to Comfy Router.

[API docs (opens in a new tab)](https://docs.comfy.org/development/comfy-router/models#beeble)

1. ### Get an API key

  Needs a paid Cloud plan with credits.

  [Get an API key (opens in a new tab)](https://platform.comfy.org/profile/api-keys?onboarding=models&model=beeble--switchx-video-edit--edit-videos)
2. ### Install the SDK

  Python 3.10+. Also on npm as @comfyorg/sdk.

  pip install comfy-sdk==0.2.0
3. ### Run it

  Calls Comfy Router at this endpoint with your COMFY_API_KEY.

  POST /v2/models/beeble/switchx

Fill in the Playground inputs to generate a request.

## More from Beeble

Compare Beeble's other models. Price is the default setting; resolution and duration show the full range each model offers.

| Model | Price | Resolution | Duration |
| --- | --- | --- | --- |
| [Beeble SwitchX Image Edit](https://comfy.org/hub/models/beeble-switchx-image-edit/) | — | — | — |
