Academy

Replacing individual elements in a video

Tool Beeble

SwitchX by Beeble is a video-to-video model that doesn't repaint the whole frame - it strictly preserves the original and changes only what you point at. It works through three elements together: the source video, a modified reference frame, and a mask marking the area to be changed.

Ready to put it into practice? New users get a 15% discount with the promo code "ACADEMY15" Valid for 24 hours after activation — don't wait!

Step 1: Prepare the reference frame

The first stage is preparing the opening frame of the source video the way the entire video should look. This frame defines the result - the model carries the changes across the whole clip from it.

Go to the Image section, choose GPT Image and edit the image.

For more complex and interesting ideas, prompts can be written with ChatGPT or Claude - there are no formatting constraints at this stage, it's ordinary image editing.

Step 2: Choose the mask type

SwitchX offers four mask modes, each for its own kind of task.

Auto - automatic object detection. Works well on high-contrast scenes, green screen footage for example

Select - manual area selection. Precise control, suited to replacing or altering individual objects in the frame

Fill - full frame fill. Repaints everything to match the reference with no selection at all. Usually used for lighting changes

Upload - uploading a ready-made mask from an external source

Step 3: Understand mask colors and inversion

By default, white marks the area that stays unchanged, black marks what will be repainted. If the mask comes out the other way round, the invert button swaps the colors.

That gives a simple rule: when replacing an object the mask is usually inverted, meaning the object itself is black. When changing the environment around a character you're keeping, the mask stays as it is - the environment is what's black.

Step 4: Set up and run the generation

Go to the Video section, then Beeble, model SwitchX. The original video and the modified first frame from it are both uploaded into the prompt area.

The video can be trimmed right in the interface: maximum length is 240 frames, which at 24 fps equals 10 seconds.

The prompt plays a supporting role in SwitchX - the reference frame does the main work, so requests are short and describe what's happening in general terms. There's no need to spell out details that are already visible in the frame.

Step 5: Fix selection failures

Precise Select masking sometimes fails on complex shapes or when the camera position changes noticeably.

In that case it's worth selecting an additional area in the frame so the model can orient itself in space and fully understand the context of the scene.

The same trick works preemptively: in the object and clothing replacement examples, an extra area along the sides was selected in advance - so the model would also repaint the zone where a piece of the original video appears later in the clip.