Veo 3.1 Fast First/Last Frame Video Generation
Video
Veo 3.1 Fast First/Last Frame Video Generation
POST
Veo 3.1 Fast First/Last Frame Video Generation
Generate a video by specifying first-frame and last-frame images together with a text prompt. The model interpolates between the two frames to generate coherent motion content. Uses the Google Veo 3.1 Fast model (
veo-3.1-fast-generate-001) for faster generation.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API key}}.
Request Body
Random seed for deterministic generation. The same seed and parameters will produce the same result.Value range: [0, 4294967295]
First-frame image, supporting image URLs or Base64 encoding. Supports JPEG and PNG formats, up to 20MB.
Text prompt describing the video content and the motion process between the first and last frames.
Last-frame image, supporting image URLs or Base64 encoding. Supports JPEG and PNG formats, up to 20MB.
Output video resolution.Allowed values:
720p, 1080pVideo aspect ratio. 16:9 is landscape, and 9:16 is portrait.Allowed values:
16:9, 9:16Number of videos to generate, ranging from 1 to 4.Value range: [1, 4]
Whether to enhance the input prompt to improve generation quality.
Whether to generate an audio track.
Negative prompt describing content you do not want to appear in the video.
Video duration in seconds. Options: 4, 6, or 8 seconds.Allowed values:
4, 6, 8Person generation control. allow_adult: allow generating adults; disallow: prohibit generating people.Allowed values:
allow_adult, disallowResponse Information
Use task_id to request the Get Task Result API to retrieve the generated output.