MODELS / GOOGLE

Gemini 3.1 Flash Image Preview (Nano Banana 2)

Gemini 3.1 Flash Image (Nano Banana 2) is optimized for image understanding and generation and offers a balance of price and performance.

TEXTREASONINGIMAGE-GENERATIONIMPLICIT-CACHINGREASONINGVISIONWEB-SEARCH
131.1K
CONTEXT WINDOW
32.8K
MAX OUTPUT TOKENS
$0.5 / 1M tokens
INPUT PRICE
$3 / 1M tokens
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/google/gemini-3.1-flash-image-preview",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: image, textOUTPUT: image, textRELEASED: 2026-02-26