Api Endpoint

WebberSites x402 Data API

AI IMAGE GENERATION — POST {prompt} and get back a PNG, base64 in JSON (?raw=1 for raw bytes). Gemini 2.5 Flash Image (nano-banana): photoreal scenes, illustrations, product shots, UI mockups — renders text in images well. Optional {aspect_ratio}: 1:1 (default), 16:9, 9:16, 4:3 + 6 more. Reference images: pass {url} or {image_base64}, or up to 3 in {reference_images}, to edit, restyle, or compose ('put this product on this beach'). The x402 payment IS the auth.

Open interactive test console

Offering

Provider
api.webbersites.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.webbersites.com/api/generate-image
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
AI Utilities

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.07 USDC
Atomic price: 70000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "70000",
    "payTo": "0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6"
  }
]

Observed health

Status
Healthy
Latest latency
90 ms
Average latency
69 ms
HTTP status
204
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "aspect_ratio": {
          "description": "1:1 (default), 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, or 21:9",
          "type": "string"
        },
        "image_base64": {
          "description": "Alternative to url: a reference image as base64 (data URI accepted)",
          "type": "string"
        },
        "prompt": {
          "description": "What to generate, up to 2,000 chars — subject, style, composition, lighting",
          "type": "string"
        },
        "reference_images": {
          "description": "Up to 3 reference images (URLs or base64 strings, 6 MB combined) to compose — product placement, style transfer, character consistency",
          "type": "array"
        },
        "url": {
          "description": "Optional public URL of a reference image to edit/restyle instead of generating from scratch (png, jpeg, gif, webp; max 5 MB)",
          "type": "string"
        }
      },
      "required": [
        "prompt"
      ]
    },
    "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 schema

{
  "properties": {
    "example": {
      "properties": {
        "bytes": {
          "type": "number"
        },
        "content_type": {
          "type": "string"
        },
        "image_base64": {
          "description": "the generated image as base64 — decode and save",
          "type": "string"
        },
        "mode": {
          "description": "generate or edit",
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "usage": {
          "type": "object"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}