---
title: "Lucy 2.1"
method: POST
path: "/v1/jobs/lucy-2.1"
---

# Lucy 2.1

`POST /v1/jobs/lucy-2.1`

## Request

- The document declares no server URL.
- Auth: none required
- TypeScript: <https://skmtc.dev/decart/apis/decart-api/docs/v1/jobs/lucy-2.1/post.ts> (a function with typed inputs; its response is checked against the schema)

Edit video using Lucy 2.1 model with optional prompt and reference image.

## Headers

- `x-api-key` string, required: API key for authentication
- `User-Agent` string, nullable

## Request body `multipart/form-data`

- BodyCreateJobLucy21V1JobsLucy21Post
  - `data` string, binary, required: Video file to process
  - `prompt` string: Text prompt. Defaults to an empty string.
  - `reference_image` string, binary, nullable: Reference image (optional)
  - `seed` integer: Seed for the video generation
  - `resolution` '720p': Resolution of the video
  - `enhance_prompt` boolean: Whether to enhance the prompt

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decart/apis/decart-api.md) - [All operations](https://skmtc.dev/decart/apis/decart-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decart/apis/decart-api/revisions/3f568c124e81?raw)
