BotConnector

Gemini 3.1 Flash Image

Google DeepMind PAYG — context

Nano Banana 2 PAYG image generation at 0.5K, 1K, 2K, and 4K.

API Model ID
gemini-3.1-flash-image
Developer
Google DeepMind
Context Window
— tokens
Median Latency (TTFT)
—

Capabilities & Features

Image Generation Image Editing Vision

Pricing & Access

Media Rate: $0.045 / image

API Usage Example (/v1/images/generations)

BotConnector provides an OpenAI-compatible image generations endpoint.

cURL

curl https://api.botconnector.id/v1/images/generations \
  -H "Authorization: Bearer $BOTCONNECTOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-image",
    "prompt": "Scenic Indonesian landscape at sunrise, highly detailed",
    "n": 1,
    "size": "1024x1024"
  }'

Python (OpenAI SDK)

from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.botconnector.id/v1",
    api_key=os.environ.get("BOTCONNECTOR_API_KEY")
)

response = client.images.generate(
    model="gemini-3.1-flash-image",
    prompt="Scenic Indonesian landscape at sunrise, highly detailed",
    n=1,
    size="1024x1024"
)

print(response.data[0].url)

Provider & Infrastructure Disclaimer

This model was developed by Google DeepMind. BotConnector accesses models via official developer APIs or verified large-scale cloud providers. BotConnector does not rebrand or alter original developer attributions.