• Home
  • Showcase
    New
  • API Keys
  • Usage
  • Billing
  • Cookbook
  • Documentation

Real-time AIBecame Real

Decart's cutting edge infrastructure transforms video at unprecedented speed. What once took hours now takes seconds, letting you iterate faster, explore new styles, and bring ideas to life without delay.

import { createDecartClient, models } from "@decartai/sdk";

const client = createDecartClient({
  apiKey: process.env.DECART_API_KEY,
});

const model = models.realtime("lucy_2_rt");
const stream = await navigator.mediaDevices.getUserMedia({
  video: {
    frameRate: model.fps,
    width: model.width,
    height: model.height,
  }
});

const realtimeClient = await client.realtime.connect(stream, {
  model,
  onRemoteStream: (editedStream) => {
    videoElement.srcObject = editedStream;
  },
  initialState: {
    prompt: { text: "Change the person's shirt to red" }
  }
});

// Update the edit dynamically after 5 seconds
setTimeout(() => {
  realtimeClient.setPrompt("Add sunglasses to the person");
}, 5000);

Real-time

Lucy Edit Live

Realtime Video Editing

Lucy Edit Live icon

Mirage LSD

Realtime Video Restyling

Mirage LSD icon

LipSync Live

Realtime Lips movement

LipSync Live icon

Avatar Live

Realtime Avatar Generation

Avatar Live icon

Video models

Lucy

Text/Image to Video

Lucy icon

Lucy Edit

Video to Video

Lucy Edit icon

Lucy Long-Form Restyle

Video to Video

Lucy Long-Form Restyle icon

Lucy Motion

Image to Video

Lucy Motion icon

Image models

Lucy Image

Text to Image

Lucy Image icon

Lucy Image Edit

Image to Image

Lucy Image Edit icon

© 2026 Decart AI Platform. Powered by cutting-edge AI technology.

GitHubRedditTwitterHuggingFaceComfyUIDiscordOpen Source Discussion