Veo 3.1 Fast Image-to-Video
Video
Veo 3.1 Fast Image-to-Video
POST
Veo 3.1 Fast Image-to-Video
The Veo 3.1 Preview version API has been automatically made compatible with this endpoint
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
A text string describing the video you want to generate.
Input image, supports URL or base64 encoding.
End frame image, used to fill the last frame of the video. Supports URL or base64 encoding.
Specifies the aspect ratio of the generated video.Enum:
16:9, 9:16. Default: 16:9.The length of the video file you want to generate (in seconds).Enum:
4, 6, 8. Default: 8.Specifies whether to use Gemini to enhance your prompt. Only
true is supported.Default: trueSpecifies whether to generate audio for the video.
A text string describing content you want to prevent the model from generating.
Safety setting that controls whether person or face generation is allowed.Enum:
allow_adult(default): Only allows generating adultsdont_allow: Does not allow including people or faces in the image
Resolution of the generated video.Enum:
720p (default) or 1080pNumber of video samples to generate.Range: 1-4
A number used to initialize the random generation process. Using the same seed, prompt, and other parameters produces the same output video, making the generation process deterministic.Range: 0-4,294,967,295
Response
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.