Generate a video from text or an optional source image

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Video generation prompt

string

Optional single source image URL or base64 data URL. Multiple images are rejected. When provided, performs image-to-video; otherwise text-to-video.

string

Optional output size. Accepts auto, 1:1, 3:4, 4:3, 16:9, 9:16, or custom WIDTHxHEIGHT. Custom dimensions map to the nearest supported aspect ratio; omitted, blank, or invalid values use auto.

string
enum
Defaults to url

Return the generated video as a URL or base64-encoded MP4 data. b64_json is a proxy extension for this synchronous endpoint.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json