ToolAssay

Generate an AI image from a text prompt using Google Gemini 3.1 Flash Image

Generate an AI image from a text prompt using Google Gemini 3.1 Flash Image. Returns base64-encoded PNG. Optional aspectRatio (1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 4:5, 5:4, 21:9). Backed by Google's Gemini image preview model — fast, high-quality, supports text rendering inside images.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
383 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://nanobanana-x402.fly.dev/api/generate-image

CategoryImage and media
Provider hostnanobanana-x402.fly.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days236 from 3 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.01 383 ms

Example input (from the provider)

{
  "body": {
    "aspectRatio": "16:9",
    "prompt": "A product hero image for a Telegram breach monitor, neon terminal style"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "aspectRatio": {
              "description": "Output aspect ratio (default: 1:1)",
              "enum": [
                "1:1",
                "16:9",
                "9:16",
                "3:2",
                "2:3",
                "4:3",
                "3:4",
                "4:5",
                "5:4",
                "21:9"
              ],
              "type": "string"
            },
            "prompt": {
              "description": "Text prompt describing the image to generate",
              "minLength": 3,
              "type": "string"
            }
          },
          "required": [
            "prompt"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "aspectRatio": {
              "type": "string"
            },
            "error": {
              "description": "Present only on failure",
              "type": "string"
            },
            "image_b64": {
              "description": "Base64-encoded image bytes",
              "type": "string"
            },
            "mime_type": {
              "type": "string"
            },
            "model": {
              "type": "string"
            },
            "ok": {
              "type": "boolean"
            }
          },
          "required": [
            "ok"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON