Gemini

veo_3_1

GooglePer Request
Create API Key

Google Veo 3.1 系列视频生成模型,支持文字与图像引导、首尾帧控制和同步音频生成。

textimagevideo
Starting price
Per Request
Context
—
Maximum input window
Modalities
→

Pricing by Supplier

Google AI Studio
-50%
谷歌官方接口
Price$0.2$0.1/ request
Google Vertex
-30%
谷歌官方接口
Price$0.2$0.14/ request
标准按次
图片音频视频等多模态按次计费
Price$0.2/ request

Capabilities / Supported modalities

Function callingToolsJSON modeStructured outputVision
Input
Output

Provider & data privacy

Provider
GoogleDocs
Tokenizer
SentencePiece (Gemini)
License
Proprietary (commercial)Proprietary
Data retention60 daysNot used for upstream training by default

Performance

API access

Code samples

RequestPOST/v1beta/models/veo_3_1:generateContent
Example request
Parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired video
duration
integer1 ~ 60Video length in seconds
aspect_ratio
enum
=16:9
Output aspect ratio
fps
integer
=248 ~ 60
Frames per second

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired video
duration
integer1 ~ 60Video length in seconds
aspect_ratio
enum
=16:9
Output aspect ratio
fps
integer
=248 ~ 60
Frames per second

Rate limits

SupplierRPMTPMRPD
Google AI Studio110—1.8K
Google Vertex50—800
标准按次90—1.5K

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.

API access questions

Everything you need to decide before creating an account.

Discover more models