Skip to main content
POST
Create Video Generation

Authorizations

Authorization
string
header
required

Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.

Body

application/json
model
string
required
prompt
string

What to generate, for models that generate from a prompt. Required for those models; a replace works from a clip instead.

video_url
string

The clip to work from, for models that replace within one. Must be reachable at a public address.

reference_image_url
string

A still to work from. Must be reachable at a public address.

duration_seconds
integer
default:5

How long a generated clip runs. Defaults to 5.

Required range: 2 <= x <= 12
size
string

The resolution for models priced by one: 720p or 1080p for video replace. Not read by models that size by model.

Response

Successful Response

created
integer
required
data
GenerationResult · object[]
required
usage
Usage · object

What the generation was billed on.