> ## 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

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/Ak5icBMduys" title="Virtual Try-On with Lucy-2 and Vision Agents" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

<Card title="View virtual try-on example on GitHub" icon="github" href="https://github.com/GetStream/Vision-Agents/tree/main/plugins/decart/example">
  Check out the complete virtual try-on example in our GitHub repository
</Card>

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.

<Info>
  Vision Agents requires a [Stream](https://getstream.io/try-for-free/) account
  for real-time transport. Most providers offer free tiers to get started.
</Info>

## 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

<CardGroup cols={2}>
  <Card title="Decart Integration" icon="plug" href="/integrations/vision/decart">
    Explore Decart's video restyling and try-on capabilities
  </Card>

  <Card title="Expressive Voice Narrator" icon="wand-magic-sparkles" href="/examples/cartesia-narrator">
    See another storytelling example with Cartesia's expressive TTS
  </Card>
</CardGroup>
