Veo 3.0 Text-to-Video
Video
Veo 3.0 Text-to-Video
POST
Veo 3.0 Text-to-Video
Use the Veo 3.0 video generation model to generate high-quality video content from text descriptions. This API uses asynchronous processing, and you need to query the final generation result using the task_id.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API key}}.
Request Body
A text string describing the video you want to generate.
Specifies the aspect ratio of the generated video.Enum values:
16:9, 9:16. The default value is 16:9.The length of the video file you want to generate, in seconds.Enum values:
4, 6, 8. The default value is 8.Specifies whether to use Gemini to enhance your prompt.Default value:
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 people or faces are allowed to be generated.Enum values:
allow_adult(default): Only allows adults to be generateddont_allow: Does not allow people or faces to be included in the imageallow_all: Allows people of all ages to be generated (requires the project to be on the allowlist)
The resolution of the generated video.Enum values:
720p (default) or 1080pThe number of videos to generate.Value range: 1-4
A number used to initialize the random generation process. Using the same seed, prompt, and other parameters will produce the same output video, making the generation process deterministic.Value range: 0-4,294,967,295
Response Parameters
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result