Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Veo 2 text-to-video request. Supports prompt, negativePrompt, aspectRatio, duration (5/6/8), and personGeneration.

prompt
string
required

Video description text

Minimum string length: 1
Example:

"Waves gently lapping on a tropical white sand beach, clear turquoise water"

negativePrompt
string

Text describing what to avoid in the generated video.

Example:

"blurry, low quality, distorted"

aspectRatio
enum<string>
default:16:9

Video aspect ratio

Available options:
16:9,
9:16
Example:

"16:9"

duration
enum<string>

Video duration in seconds (string type). Starts from 5 (not 4).

Available options:
5,
6,
8
Example:

"5"

personGeneration
enum<string>

Person generation policy (more options than Veo 3.x)

Available options:
allow_all,
allow_adult,
dont_allow
Example:

"dont_allow"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.