Videos

Create Video Generation

Changed on
post/v1/openai/videos

Request

  • Base URL: https://api.deepinfra.com
  • URL: https://api.deepinfra.com/v1/openai/videos
  • Auth: HTTP bearer

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

Changes