Veo 3.1 Reference Image Video Generation
Video
Veo 3.1 Reference Image Video Generation
POST
Veo 3.1 Reference Image Video Generation
Use the Google Veo 3.1 model to generate videos guided by 1–3 reference images. Supports 720p and 1080p resolutions, as well as 16:9 and 9:16 aspect ratios. The duration is fixed at 8 seconds. The reference type only supports asset.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Random seed used to reproduce generation results.Value range: [0, 4294967295]
Text prompt describing the desired video content.
Output video resolution.Available values:
720p, 1080pOutput video aspect ratio.Available values:
16:9, 9:16Number of video samples to generate (1–4).Value range: [1, 4]
Whether to use AI to rewrite the prompt for better generation results.
Whether to generate audio at the same time.
Describes content to avoid in the generated video.
1–3 reference images used to guide video generation. Each element contains an image URL or Base64-encoded data and the reference type.Array length: 1 - 3
Whether to allow generating adult people. allow_adult: allow generating adults; dont_allow: do not allow generating people.Available values:
allow_adult, dont_allowResponse Information
Use task_id to request the Get Task Result API to retrieve the generated output.