Gemini

gemini-3.1-flash-lite-image

GoogleToken-based
Create API Key

Google 的 gemini-3.1-flash-lite-image 模型,支持文本、图像、视频、文件输入和文本、图像输出。支持推理。

textimagevideofilereasoningcontext:65536
Starting price
Input / Output · 1M
Context
65.5K
Maximum input window
Max output
4.1K
Maximum tokens per response
Modalities
→
Knowledge cutoff
Jan 2025

Pricing by Supplier

Google AI Studio
-50%
谷歌官方接口
Input$0.25$0.125/ 1M
Output$30$15/ 1M

Capabilities / Supported modalities

Reasoning
Input
Output

Provider & data privacy

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

Performance

About gemini-3.1-flash-lite-image

Google 的 gemini-3.1-flash-lite-image 模型,支持文本、图像、视频、文件输入和文本、图像输出。支持推理。

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Explore product visuals, campaign concepts and illustration drafts.
  • Compare composition and visual style across several prompt variations.

Practical tips

Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.

Example prompt

A minimalist product photograph of a ceramic cup on pale stone, soft window light, ample empty space on the right, warm neutral colors.

API access

Code samples

RequestPOST/v1/images/generations
Example request
Parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

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 image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Rate limits

SupplierRPMTPMRPD
Google AI Studio50—800

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

Frequently asked questions about gemini-3.1-flash-lite-image

What is gemini-3.1-flash-lite-image?

Google 的 gemini-3.1-flash-lite-image 模型,支持文本、图像、视频、文件输入和文本、图像输出。支持推理。

How do I call gemini-3.1-flash-lite-image?

Create an API key with access to gemini-3.1-flash-lite-image, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is gemini-3.1-flash-lite-image priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of gemini-3.1-flash-lite-image?

The model catalog lists a context window of 65536 tokens. Check the selected endpoint for request limits.

What is the maximum output of gemini-3.1-flash-lite-image?

The model catalog lists a maximum output of 4096 tokens. Your request settings may set a lower limit.

How should I evaluate gemini-3.1-flash-lite-image for my project?

Specify the subject, composition, lighting and style. Only include reference images or editing parameters when the endpoint supports them.