Redeem voucher

Gemini 3.1 Flash Lite Image

google/gemini-3.1-flash-lite-image

Gemini 3.1 Flash-Lite Image(Nano Banana 2 Lite)能够实现高速图像生成,同时还能保持 Nano Banana 软件在图像编辑方面的高质量表现。Gemini 3 系列模型属于推理型模型,能够在做出反应之前通过自己的思考来解决问题,从而提升准确性和图像质量。Gemini 3.1 Flash-Lite 图像可以在 Gemini 企业代理平台上获取,也可以通过我们的 Gen AI SDK 进行访问。该 SDK 提供了一个统一的接口,使得 Google AI Studio 和 Gemini 企业代理平台能够协同工作,而这两种平台都支持 Python 和 Go 语言。

Modalities
Public starting price
Priced by multiple attributes
Added to catalog
Jul 3, 2026

Online Inference

Online Inference

This model has no verifiable input schema, so inference is disabled.

Task History

Task history

Only generation records from the last seven days are available.

Generation details

API Call

Gemini 3.1 Flash Lite Image code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

#!/usr/bin/env bash set -euo pipefail API_KEY="$SSY_API_KEY" curl --fail-with-body --silent --show-error --location \ --request POST \ "https://router.shengsuanyun.com/api/v1/tasks/generations" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer ${API_KEY}" \ --data '{ "model": "google/gemini-3.1-flash-lite-image" }'
                  
                    
                        
                        #!/usr/bin/env bash
                      
                        
                        set -euo pipefail
                      
                        
                        ​
                      
                        
                        API_KEY="$SSY_API_KEY"
                      
                        
                        ​
                      
                        
                        curl --fail-with-body --silent --show-error --location \
                      
                        
                          --request POST \
                      
                        
                          "https://router.shengsuanyun.com/api/v1/tasks/generations" \
                      
                        
                          --header "Content-Type: application/json" \
                      
                        
                          --header "Authorization: Bearer ${API_KEY}" \
                      
                        
                          --data '{
                      
                        
                          "model": "google/gemini-3.1-flash-lite-image"
                      
                        
                        }'
                      
                  
                
#!/usr/bin/env bash set -euo pipefail API_KEY="$SSY_API_KEY" REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}" curl --fail-with-body --silent --show-error --location \ --request GET \ "https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \ --header "Authorization: Bearer ${API_KEY}"
                  
                    
                        
                        #!/usr/bin/env bash
                      
                        
                        set -euo pipefail
                      
                        
                        ​
                      
                        
                        API_KEY="$SSY_API_KEY"
                      
                        
                        REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
                      
                        
                        ​
                      
                        
                        curl --fail-with-body --silent --show-error --location \
                      
                        
                          --request GET \
                      
                        
                          "https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
                      
                        
                          --header "Authorization: Bearer ${API_KEY}"
                      
                  
                

Pricing

Pricing Details

All prices shown in CNY
图片·输入
¥1.75/M token
图片·输出
¥210/M token
输入
¥1.75/M token
输出
¥10.5/M token
Text · Input
¥1.75/M token
Text · Output
¥10.5/M token