# How to Do a Real-Time Video Face Swap in Your Browser

> Source: <https://dev.to/mixcbaea5/how-to-do-a-real-time-video-face-swap-in-your-browser-3ee1>
> Published: 2026-07-23 15:48:01+00:00

To swap faces in real time, you need a reference portrait, a webcam, and a live AI preview. The portrait supplies the new face; your webcam supplies the movement and expressions. Here is the shortest workflow using [Vivify Realtime Face Swap](https://vivify.video/realtime-face-swap).

Face Swap mode and a sample portrait are already selected.

An offline face swap returns a finished file. A live swap keeps processing new webcam frames with the reference face. One good frame is not enough: turn your head or change your expression, and confirm that the AI output continues updating.

Use your own face or an explicitly authorized reference. Do not use live face swap for impersonation, fraud, or bypassing identity checks, and disclose realistic synthetic media when the destination platform requires it.

The browser page is preview-only: it does not record, download, or save the transformed stream. To use the result in OBS, Zoom, or another app, you need a separate virtual-camera client.
