Skip to main content
POST
/
v1
/
jobs
/
lucy-motion
Create Job Lucy Motion
curl --request POST \
  --url https://api.decart.ai/v1/jobs/lucy-motion \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form data='@example-file' \
  --form 'trajectory=<string>' \
  --form seed=2147483647 \
  --form resolution=720p
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

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
file
required

Image file to process

trajectory
string
required

Trajectory JSON string (array of {frame, x, y} objects). Coordinates (x, y) are normalized values in the 0-1 range.

seed
integer

Seed for the video generation

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

Resolution of the video

Allowed value: "720p"

Response

Successful Response