ToolAssay

Image generation

Image generation: a prompt in, one image back in the same response. 7 models including Google Nano Banana and Nano Banana Pro, OpenAI GPT Image 2, Seedream 5.0 Pro and FLUX.2 Pro, square to 21:9, up to 4K, from $0.02. GET this URL for every model and price. No account or API key: the payment is the only credential.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
604 msmedian answer time
$0.06listed price per call
$0.06price 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://www.trezalabs.com/api/x402/image

CategoryImage and media
Provider hostwww.trezalabs.com
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.06 604 ms

Example input (from the provider)

{
  "body": {
    "aspectRatio": "1:1",
    "model": "nano-banana",
    "prompt": "a lighthouse on a sea cliff at golden hour, soft mist, cinematic wide shot"
  },
  "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": {
              "default": "1:1",
              "description": "Each model sells its own; GET this URL.",
              "enum": [
                "1:1",
                "16:9",
                "9:16",
                "4:3",
                "3:4",
                "3:2",
                "2:3",
                "4:5",
                "5:4",
                "21:9"
              ],
              "type": "string"
            },
            "async": {
              "default": false,
              "description": "true: answer 202 with a statusUrl at once.",
              "type": "boolean"
            },
            "model": {
              "default": "nano-banana",
              "description": "Prices: nano-banana $0.06; nano-banana-2 1K $0.10, 512 $0.07, 2K $0.15, 4K $0.22; nano-banana-pro 1K $0.20, 2K $0.20, 4K $0.35; gpt-image-2 medium $0.10, low $0.02, high $0.36; seedream-5-pro 2K $0.13, 1K $0.07; flux-2-pro $0.05 (1:1) to $0.09; recraft-v4.1 $0.05.",
              "enum": [
                "nano-banana",
                "nano-banana-2",
                "nano-banana-pro",
                "gpt-image-2",
                "seedream-5-pro",
                "flux-2-pro",
                "recraft-v4.1"
              ],
              "type": "string"
            },
            "prompt": {
              "description": "What the image should show.",
              "maxLength": 2000,
              "type": "string"
            },
            "quality": {
              "description": "gpt-image-2.",
              "enum": [
                "low",
                "medium",
                "high"
              ],
              "type": "string"
            },
            "resolution": {
              "description": "nano-banana-2, nano-banana-pro, seedream-5-pro.",
              "enum": [
                "512",
                "1K",
                "2K",
                "4K"
              ],
              "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": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON