Veo3

veo3-text-to-video

post

Veo 3 by Google, the most advanced AI video generation model in the world. With sound on!

Header parameters
AuthorizationstringRequiredExample: sk-Qp03mnjjNqXKxpnw5qQ4IqVABNfad5YOk1axUhp7pJbokFmu
Body
modelstringRequired

model is the model name

Example: veo3-text-to-video
promptstringRequired

prompt is the prompt.

Example: A cute baby sea otter.
aspect_ratiostring · enumOptional

The aspect ratio of the generated video. If it is set to 1:1, the video will be outpainted. Default value: "16:9"

Possible enum values: 16:9, 9:16, 1:1

Default: 16:9Example: 16:9Possible values:
resolutionstring · enumOptional

The resolution of the generated video Default value: "720p"

Possible enum values: 720p, 1080p

Default: 720pExample: 720pPossible values:
durationstring · enumOptional

The duration of the generated video in seconds Default value: "8s"

Possible enum values: 4s, 6s, 8s

Default: 8sExample: 4sPossible values:
negative_promptstringOptional

A negative prompt to guide the video generation

Default: " "Example: low resolution, error, worst quality, low quality, defects
enhance_promptbooleanOptional

Whether to enhance the video generation Default value: true

Default: true
auto_fixbooleanOptional

Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them Default value: true

Default: true
seedintegerOptional

A seed to use for the video generation

generate_audiobooleanOptional

Whether to generate audio for the video. If false, %33 less credits will be used. Default value: true

Default: true
output_formatstringOptional

output_format indicate the output format, default value is url.

Default: urlExample: url
Responses
200Success
application/json
post
/v1/videos/generations
POST /v1/videos/generations HTTP/1.1
Host: video.onerouter.pro
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 292

{
  "model": "veo3-text-to-video",
  "prompt": "A cute baby sea otter.",
  "aspect_ratio": "16:9",
  "resolution": "720p",
  "duration": "4s",
  "negative_prompt": "low resolution, error, worst quality, low quality, defects",
  "enhance_prompt": true,
  "auto_fix": true,
  "seed": 1,
  "generate_audio": true,
  "output_format": "url"
}
200Success
{
  "data": [
    {
      "url": "https://resource.onerouter.pro/video/generated%2Fonerouter_2268ddb3-38cd-429b-b0ea-cf67f045aa96.mp4",
      "revised_prompt": ""
    }
  ],
  "created": 1760432841
}