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

# Lucy Clip

`POST /v1/jobs/lucy-clip`

## Request

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

Edit video using Lucy Clip with prompt enhancement.

## Headers

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

## Request body `multipart/form-data`

- BodyCreateJobLucyClipV1JobsLucyClipPost
  - `prompt` string, required: Text prompt for the video editing
  - `data` string, binary, required: Video file to process
  - `reference_image` string, binary, nullable: Reference image file (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)
