Skip to main content
POST
/
v1
/
jobs
/
lucy-pro-i2v
Lucy Pro I2V
const form = new FormData();
form.append('prompt', '<string>');
form.append('data', '<string>');

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

options.body = form;

fetch('https://api.decart.ai/v1/jobs/lucy-pro-i2v', 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
prompt
string
required

Text prompt for the video generation

data
file
required

Image file to process

seed
integer

Seed for the video generation

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

Resolution of the video

Available options:
720p,
480p
enhance_prompt
boolean
default:true

Whether to enhance the prompt

Response

Successful Response