Decart provides real-time AI video transformation with style transfer and virtual try-on. Transform video streams into animated styles, apply reference-image costumes, or any custom prompt-based visual effect using models like Lucy.Documentation Index
Fetch the complete documentation index at: https://visionagents.ai/llms.txt
Use this file to discover all available pages before exploring further.
Vision Agents requires a Stream account
for real-time transport. Most providers offer free tiers to get started.
Installation
Quick start
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
model | str | "lucy_2_rt" | Decart model |
initial_prompt | str | "Cyberpunk city" | Style prompt for visual transformation |
initial_image | bytes | str | Path | None | Optional reference image for first connect (bytes, file path, http(s) URL, data URI, or raw base64) |
enhance | bool | True | Whether to enhance the prompt |
mirror | bool | True | Mirror mode for front-facing cameras |
width | int | 1280 | Output video width |
height | int | 720 | Output video height |
api_key | str | None | API key (defaults to DECART_API_KEY env var) |
Dynamic style changes
Update the video style during a call via function calling:Reference images
For models like Lucy that accept a reference image, pass it at construction time and/or swap it atomically with a prompt usingupdate_state:
initial_image and update_state(image=...) accept bytes, a local file path, an http(s) URL, a data: URI, or a raw base64 string.
Next steps
Build a Voice Agent
Get started with voice
Build a Video Agent
Add video processing

