Skip to main content
POST
/
v1
/
jobs
/
lucy-2-v2v
Create Job Lucy 2 V2V
const form = new FormData();
form.append('data', '<string>');
form.append('prompt', '<string>');

const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};

options.body = form;

fetch('https://api.decart.ai/v1/jobs/lucy-2-v2v', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string
required

API key for authentication

User-Agent
string | null

Body

multipart/form-data
data
string
required

Video file to process

prompt
string
required

Text prompt. Send an empty string if you want no text prompt.

reference_image
string | null

Reference image (optional)

seed
integer

Seed for the video generation

Required range: 0 <= x <= 4294967295
resolution
string
default:720p

Resolution of the video

Allowed value: "720p"
enhance_prompt
boolean
default:true

Whether to enhance the prompt

Response

Successful Response