Decart Logo
  • Real-time
  • Mirage LSD
    Mirage LSDRealtime Video Restyling
  • Lucy Edit Live
    Lucy Edit LiveRealtime Video Editing
  • LipSync Live
    LipSync LiveRealtime Lips movement
  • Video models
  • Lucy
    LucyText/Image to Video
  • Lucy Edit
    Lucy EditVideo to Video
  • Image models
  • Lucy Image
    Lucy ImageText to Image
  • Lucy Image Edit
    Lucy Image EditImage to Image
  • Cookbook icon
    Cookbook
  • Documentation icon
    Documentation
  1. Models
  2. Lucy Edit
Lucy Edit icon

Lucy Edit

Lucy Edit is a model that edits videos from text descriptions.

Lucy Edit is a model that edits videos from text descriptions.

Documentation
Your browser does not support the video tag.
import { readFile } from "node:fs";
import { createDecartClient, models } from "@decartai/sdk";

const client = createDecartClient({
  apiKey: "--your-api-key--"
});

const video = await readFile("/path/to/input.mp4");

const result = await client.process({
  model: models.video("lucy-pro-v2v"),
  prompt: "Change their shirt to black and shiny leather",
  data: video,
});

Available Endpoints

Request Parameters

promptRequired
Type:string

Describe the changes you want to make to the video. Be specific about what elements to modify while preserving temporal consistency and motion.

dataRequired
Type:File

The video you want to edit. Supports MP4, WebM, and QuickTime formats up to 100MB.

resolutionOptional
Type:string

Output video resolution. Higher resolutions provide more detail but take longer to process. Dev version only supports 720p. (default: 720p) (options: 480p, 720p)

Parameter
Type
Required
Description
promptstringYesDescribe the changes you want to make to the video. Be specific about what elements to modify while preserving temporal consistency and motion.
dataFileYesThe video you want to edit. Supports MP4, WebM, and QuickTime formats up to 100MB.
resolutionstringNoOutput video resolution. Higher resolutions provide more detail but take longer to process. Dev version only supports 720p. (default: 720p) (options: 480p, 720p)

Lucy Video Edit

Edit videos with text prompts for controlled results

LucyEdit enables controlled video edits. Modify specific elements - like clothing changes and character replacements - with flawless motion consistency, preserving the rest of the scene. Available in pro for even higher quality results.

Pricing

Model
pro
480p
10 Creditsper 1s
720p
15 Creditsper 1s
Model
dev
720p
6 Creditsper 1s

Video models are charged per second of generated video. Final cost depends on video duration and selected resolution.

Examples