Skip to main content
POST
Veo 3.1 Video Extension
Use the Google Veo 3.1 model to extend an input video by 7 seconds. Supports 720p and 1080p resolutions, and 16:9 and 9:16 aspect ratios. Input video requirements: MP4 format, 24fps, duration of 1–30 seconds.
This is an asynchronous API and only returns the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

integer
Random seed used to reproduce generation results.Value range: [0, 4294967295]
string
required
Input video. Supports a video URL or Base64-encoded data. Video requirements: MP4 format, 24fps, duration of 1–30 seconds, 720p/1080p resolution, and 16:9 or 9:16 aspect ratio.
string
required
Text prompt describing the content for the video extension.
string
default:"720p"
Output video resolution.Optional values: 720p, 1080p
string
default:"16:9"
Output video aspect ratio.Optional values: 16:9, 9:16
integer
default:1
Number of video samples to generate (1–4).Value range: [1, 4]
boolean
default:false
Whether to generate audio at the same time. Note: video extension itself does not support audio generation; this parameter is only used to distinguish SKU billing.
string
Describes content to avoid in the generated video.
string
default:"allow_adult"
Whether to allow generation of adult people. allow_adult: allow generation of adults; dont_allow: do not allow generating people.Optional values: allow_adult, dont_allow

Response Information

string
Use task_id to request the Get Task Result API to retrieve the generated output.