Veo 3.1 Lite First and Last Frame Video Generation
Video
Veo 3.1 Lite First and Last Frame Video Generation
POST
Veo 3.1 Lite First and Last Frame Video Generation
Generate videos from first-frame and last-frame images using the Google Veo 3.1 Lite model. Supports durations of 4, 6, and 8 seconds, 720p and 1080p resolutions, and 16:9 and 9:16 aspect ratios. Optional audio generation is supported. Input images can be up to 20MB.
Request Headers
string
required
Enum value:
application/jsonstring
required
Bearer authentication format: Bearer {{API Key}}.
Request Body
integer
Random seed used to reproduce generated results.Value range: [0, 4294967295]
string
required
First-frame image. Image URLs or Base64-encoded data are supported. Supported formats: JPEG, PNG. Maximum 20MB.
string
required
Text prompt describing the desired video content to generate.
integer
default:8
Duration of the generated video, in seconds.Allowed values:
4, 6, 8string
default:"720p"
Output video resolution.Allowed values:
720p, 1080pstring
default:"16:9"
Output video aspect ratio.Allowed values:
16:9, 9:16integer
default:1
Number of video samples to generate (1-4).Value range: [1, 4]
boolean
default:true
Whether to enhance the prompt through rewriting.
boolean
default:false
Whether to generate audio at the same time.
string
Describes content to avoid in the generated video.
string
required
Last-frame image. Image URLs or Base64-encoded data are supported. Supported formats: JPEG, PNG. Maximum 20MB.
string
default:"allow_adult"
Whether to allow generation of adult people. allow_adult: allow adult generation; dont_allow: do not allow generating people.Allowed values:
allow_adult, dont_allowResponse Information
string
Use the task_id to request the Get Task Result API to retrieve the generated output.