Image generation gemini 3 1 flash lite image generate API

Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite). Sold by Google AI (Gemini API), $0.044 per call.

Providers

Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.

Call it

A Joshu assistant makes the same call with its own token.

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "google-ai.image-gen.gemini-3-1-flash-lite-image",
    "params": {
      "fields": "candidates(content(parts(text,inlineData)),finishReason),usageMetadata,modelVersion,responseId,promptFeedback",
      "contents": [
        {
          "parts": [
            {
              "text": "A clean editorial illustration of a paper airplane."
            }
          ]
        }
      ],
      "generationConfig": {
        "imageConfig": {
          "imageSize": "1K",
          "aspectRatio": "1:1"
        },
        "responseModalities": [
          "IMAGE"
        ]
      }
    }
  }'