Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.platform.decart.ai/llms.txt

Use this file to discover all available pages before exploring further.

Decart offers state-of-the-art AI models for realtime and batch video transformation, lip synchronization, and image editing. Our models are optimized for creative applications, delivering professional-quality results with minimal latency.
Lucy 2.1 supports both character reference images and text-only editing in one model. Get started →

Realtime models

Realtime models process live video and audio with low latency. They run continuously as long as the connection is open.
ModelIDResolutionUse Case
Lucy 2.1lucy-2.1720pVideo editing (latest)
Lucy 2.1 VTONlucy-2.1-vton720pVirtual try-on
Lucy Restyle 2lucy-restyle-2720pVideo restyling

Video models

Video models process pre-recorded video asynchronously. Submit a job, poll for completion, then download the result.
ModelIDResolutionUse Case
Lucy 2.1lucy-2.1720pVideo editing (latest)
Lucy 2.1 VTONlucy-2.1-vton720pVirtual try-on
Lucy Restyle 2lucy-restyle-2720pVideo restyling
ModelIDResolutionUse Case
Lucy Cliplucy-clip720pVideo editing

Image models

Image models edit and transform images.
ModelIDResolutionUse Case
Lucy Image 2lucy-image-2480p, 720pImage editing

Latest aliases

Use -latest aliases to always target the newest version of a model family. The server resolves these to the current latest version automatically, so your code stays up to date without changes.
AliasTypeCurrently resolves to
lucy-latestrealtime + videolucy-2.1
lucy-vton-latestrealtime + videolucy-vton-2
lucy-restyle-latestrealtime + videolucy-restyle-2
lucy-clip-latestvideolucy-clip
lucy-image-latestimagelucy-image-2
// Always use the latest Lucy model — no code changes needed when new versions ship
const model = models.realtime("lucy-latest");
const result = await client.queue.submitAndPoll({
  model: models.video("lucy-latest"),
  prompt: "Anime style",
  data: videoFile,
});

Technical Specifications

Video Requirements

All video models accept MP4 files with these specifications:
  • Format: MP4 (H.264 or VP8 codec)
  • Aspect Ratio: 16:9 or 9:16
  • File Size: Maximum 200MB

Choosing the Right Model

Decision Matrix

If you need to…Use this modelWhy?
Transform or edit live video on cameraLucy 2.1 (lucy-2.1)Character reference images + text editing in one realtime model (latest)
Apply artistic styles to a live streamLucy Restyle 2 (lucy-restyle-2)Full scene restyling in realtime
Transform or edit existing videoLucy 2.1 (lucy-2.1)Best quality, fastest speed, unlimited duration, supports prompt + reference image (latest)
Edit or transform an imageLucy Image 2 (lucy-image-2)Precise image editing

Quick Start Examples

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

const client = createDecartClient({ apiKey: "your-api-key-here" });
const model = models.realtime("lucy-latest");
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: (s) => { document.getElementById("output").srcObject = s; },
});

// Character transformation
const photo = document.querySelector("input[type=file]").files[0];
await realtimeClient.set({ prompt: "Transform into this character", image: photo, enhance: true });

Pricing

For detailed pricing information, see the Pricing page.

Next Steps

Lucy 2.1 Guide

Character transformation with reference images in realtime

Use Cases

Explore what you can build with realtime and batch models

Quickstart Guide

Transform your first video in minutes

API Reference

Detailed API documentation

JavaScript SDK

Build with our JavaScript SDK

Streaming Best Practices

Optimize your realtime integration