Gemini

gemini-3.1-flash-lite-image

Google按量收費

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

textimagevideofilereasoningcontext:65536
起始價格
輸入 / 輸出 · 1M
上下文
65.5K
最大輸入窗口
最大輸出
4.1K
單次回應最大 token 數
模態
→
知識截止
Jan 2025

Pricing by Supplier

Google AI Studio
谷歌官方接口
輸入$0.25/ 1M
輸出$30/ 1M

能力 / 支援的模態

推理
輸入
輸出

廠商與數據私隱

供應商
Google文件
分詞器
SentencePiece (Gemini)
許可證
Proprietary (commercial)商業閉源
數據保留10 日預設不會用於上游訓練

效能

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

呼叫示例

請求POST/v1/images/generations
請求範例
參數
參數類型預設值 / 範圍說明資訊
prompt必填
string—想要生成圖像的文字描述
size
enum
=1024x1024
輸出圖像尺寸
quality
enum
=standard
生成品質預設
style
enum
=vivid
畫風
n
integer
=11 ~ 10
生成的圖像數量
response_format
enum
=url
圖像結果的返回方式

替換 <YOUR_API_KEY> 替換為令牌設定中的 API Key。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
prompt必填
string—想要生成圖像的文字描述
size
enum
=1024x1024
輸出圖像尺寸
quality
enum
=standard
生成品質預設
style
enum
=vivid
畫風
n
integer
=11 ~ 10
生成的圖像數量
response_format
enum
=url
圖像結果的返回方式

速率限制

供應商RPMTPMRPD
Google AI Studio50—800

RPM = 每分鐘請求數,TPM = 每分鐘 token 數,RPD = 每日請求數。限制按令牌分組生效。

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.