v4

latestOpenAPI 3.1.02026-07-31155218294.8 KB
Videos

Create Video Generation

post/v1/videos

Headers

xi-api-keystring nullable
x-api-keystring nullable

Request body

modelstring required
promptstring required
negative_promptstring nullable
aspect_ratiostring nullable
sizestring nullable
secondsinteger nullable
seedinteger nullable
stylestring nullable
image_urlstring nullable

First-frame image for image-to-video (i2v): an http(s) URL or a data: URI. Omit for text-to-video.

Response

Successful Response

idstring required
objectstring
created_atinteger required
statusstring required
modelstring required
dataobject[] nullable
errorstring nullable