Skip to main content
Decart’s models power a range of creative and production applications — from realtime character transformation on mobile to batch video processing for content pipelines. This page highlights the most common use cases with recommended models and starter code for each.

Realtime use cases

Realtime models process live video and audio over WebRTC with sub-second latency. They run continuously as long as the connection is open.

Character transformation

Become any character on camera with Lucy 2.1. Upload a reference image and your movements map onto that identity in realtime.

Live streaming effects

Apply artistic styles to live video with Lucy Restyle Live. Transform your stream into anime, cyberpunk, oil painting, and more.

Realtime video editing

Add, modify, or remove objects in live video with Lucy 2.1. Change outfits, add accessories, or swap backgrounds with text prompts.

Virtual try-on

Let shoppers see how clothing looks on them in realtime. Send a garment image and prompt to Lucy VTON for instant outfit changes.

Character transformation with Lucy 2.1

Turn yourself into any character — live on camera. Lucy 2.1 takes a reference image and maps your facial expressions, head movements, and gestures onto that character. Best for: virtual cosplay, social filters, virtual try-on, character-driven content creation.
Lucy 2.1 also works without a reference image — pass only a prompt to set() for text-based editing.

Live streaming effects with Lucy Restyle Live

Transform the entire visual style of a live video feed. Lucy Restyle Live applies artistic styles in realtime — ideal for Twitch, YouTube Live, or TikTok. Best for: social media filters, creative livestreams, virtual events, themed video calls.

Realtime video editing with Lucy 2.1

Make targeted edits to live video using text prompts. Add objects, change clothing, swap backgrounds — all without interrupting the stream. Best for: interactive experiences, photo booths, AR-style effects, live content creation.

Virtual try-on with Lucy VTON

Let shoppers see how clothing looks on them in realtime. Lucy VTON takes a garment reference image and a descriptive prompt, then dresses the person on camera — perfect for e-commerce “Try it on” buttons, digital mirrors, and styling apps. Best for: e-commerce product pages, in-store kiosks, digital mirrors, styling and outfit planning.
Use the substitute pattern when replacing an existing garment ("Substitute the current top with...") and the add pattern for new items ("Add a hat to the person's head"). See the full e-commerce try-on example for a complete integration walkthrough.

Batch use cases

Batch models process pre-recorded video and images asynchronously. Submit a job, poll for completion, then download the result.

Video editing

Transform and edit existing videos — change styles, replace objects, or modify scenes.

Image editing

Edit existing images with precise text-driven control.

Video editing

Transform existing videos with text instructions. Change styles, replace objects, or modify entire scenes while preserving the original motion. Best for: post-production, content repurposing, brand transformations, visual effects.

Image editing

Apply edits to existing images with text instructions. Best for: product mockups, creative assets, visual prototyping, style transfers.

Choosing between realtime and batch

Realtime and batch models use the same @decartai/sdk package. The difference is how you connect — client.realtime.connect() for realtime, client.queue.submitAndPoll() for video, client.process() for images.

Next steps

Lucy 2.1 guide

Deep dive into character transformation with reference images.

E-commerce try-on

Add a “Try it on” button to product pages with realtime virtual try-on.

Realtime mobile app

Build a complete Expo app with model switching and style presets.

All models

Compare every Decart model — realtime and batch — side by side.