> ## Documentation Index
> Fetch the complete documentation index at: https://visionagents.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Live Video Try-On

> Build a real-time virtual try-on agent with Decart's Lucy-2 model

[Virtual Try-On with Lucy-2 and Vision Agents](https://www.youtube.com/embed/Ak5icBMduys)

> [card] [View virtual try-on example on GitHub](https://github.com/GetStream/Vision-Agents/tree/main/plugins/decart/example)
>
> Check out the complete virtual try-on example in our GitHub repository

Build a real-time virtual try-on agent using [Vision Agents](https://visionagents.ai/) and [Decart](https://decart.ai/). Powered by Decart's **Lucy-2** real-time model (`lucy_2_rt`), the agent listens for voice requests and restyles your video feed so you appear to be wearing different outfits — driven by both a text prompt and a reference image.

Lucy-2 is purpose-built for virtual try-on and costume-swap use cases. It accepts a reference image alongside a prompt, enabling accurate outfit transfer onto the user's live video. Prompt and image updates are applied atomically via `update_state`, so the output video never shows a half-updated frame.

> [!NOTE]
>
> Vision Agents uses [Stream Video](https://getstream.io/video/) for real-time WebRTC transport by default. [External WebRTC transports](https://visionagents.ai/integrations/introduction-to-integrations.md#edge-transport) are supported as well. Most AI providers offer free tiers to get started.

## What you will build

* Listen to voice input and swap outfits in real time
* Use [Decart](https://decart.ai/) Lucy-2 to restyle your video feed with both a prompt and a reference image
* Atomically swap costumes via `processor.update_state(prompt=..., image=...)`
* Fall back to prompt-only changes for freeform outfit requests
* Speak with an expressive voice using [ElevenLabs](https://elevenlabs.io/)
* Run on [Stream's](https://getstream.io/) low-latency edge network

## Next steps

> [card] [Decart Integration](https://visionagents.ai/integrations/vision/decart.md)
>
> Explore Decart's video restyling and try-on capabilities

> [card] [Expressive Voice Narrator](https://visionagents.ai/examples/cartesia-narrator.md)
>
> See another storytelling example with Cartesia's expressive TTS


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.