Skip to main content
← Veo Model name: veo3.1-lite/extend-video
Generation type: video_to_video
Endpoint: POST /api/asset_generator/

Pricing

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

Quick start

The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.

Input parameters

Send these fields in input_params.
string
required
The text prompt describing how the video should be extendedMinimum characters: 1. Maximum characters: 2000.
string
required
URL of the video to extend. The video should be 720p or 1080p resolution in 16:9 or 9:16 aspect ratio.
boolean
default:false
Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them.
string
default:"7s"
The duration of the generated video.Allowed values: "7s".
string
default:"720p"
The resolution of the generated video.Allowed values: "720p", "1080p".
string
default:"16:9"
The aspect ratio of the generated video.Allowed values: "16:9", "9:16".
boolean
default:true
Whether to generate audio for the video.
string
A negative prompt to guide the video generation

Response

The request returns the task with status: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.