Generate video from text

Generate a video from a text prompt using AI models.

Authentication

AuthorizationBearer
API key authentication

Request

This endpoint expects an object.
promptstringRequired<=10000 characters
Text prompt describing the desired video content
modelenumRequired

Model to use for generation. See Supported Models for details.

Allowed values:
durationintegerRequired

Video duration in seconds. See Supported Models for available durations per model.

resolutionstringRequired

Output video resolution. See Supported Models for available resolutions per model.

fpsintegerOptionalDefaults to 25

Frame rate in frames per second. See Supported Models for available FPS per model and resolution.

generate_audiobooleanOptionalDefaults to trueBeta

Generate audio for the video. When true, the generated video will include AI-generated audio matching the scene. When false, only silent video is generated.

Response

Video generated successfully

Errors