gemini-3.1-flash-image API

Call gemini-3.1-flash-image on 88API with one token: /v1/chat/completions or native Gemini generateContent, billed per image or per request, with several price groups.

Pay as you go Several price groups Free trial credit on sign-up
gemini-3.1-flash-image ¥
  • Lowest price
    Lowest-price group: 生图模型1 groups available
See all group prices

About the model

Gemini 3.1 Flash Image(Nano Banana 2)是高效率图像生成与编辑模型,适合快速创作、图片修改和高并发视觉工作流。

Family
Nano Banana (Gemini image)
Vendor
Google
Endpoint
POST /v1/chat/completions

gemini-3.1-flash-image prices by group

Group price = list price × group ratio. Group names and descriptions are shown exactly as in the console; you can choose a group when creating a token.

Prices in CNY (¥); live prices are shown in the Model Square.

gemini-3.1-flash-image prices by group
Group Discount Price Description
生图模型—¥0.15 / image支持24小时高并发 124K同价 量大联系客服优惠

Request example

Endpoint https://api.88api.ai/v1/chat/completions, with your token in the Authorization header. Add an image_url part to messages to send a reference image.

Request · POST /v1/chat/completions
curl https://api.88api.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-token" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.1-flash-image", "messages": [{"role":"user","content":"An orange cat sitting by the window, soft afternoon light, photorealistic"}]}'

Sign up and call gemini-3.1-flash-image

Trial credit is added automatically when you sign up. Create a token and call the model as in the example above.