{
  "x402Version": 2,
  "id": 28942,
  "slug": "28942",
  "resource": "https://api.webbersites.com/api/generate-image",
  "description": "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.",
  "type": "http",
  "serviceName": "WebberSites x402 Data API",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783321551/bazaar-icons/9924842eb1a94ebd.png",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "70000",
      "amountUsd": 0.07,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "aspect_ratio": "16:9",
            "prompt": "A watercolor fox reading a newspaper in a rainy cafe window"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "aspect_ratio": "16:9",
            "bytes": 812344,
            "content_type": "image/png",
            "image_base64": "iVBORw0KGgo…",
            "mode": "generate",
            "model": "gemini-2.5-flash-image"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "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": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "AI Utilities",
    "bazaar"
  ],
  "sourceHost": "api.webbersites.com",
  "lastUpdated": "2026-10-09T23:39:01.944Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-09T23:39:21.137Z"
  },
  "metadata": {
    "serviceName": "WebberSites x402 Data API",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783321551/bazaar-icons/9924842eb1a94ebd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "aspect_ratio": "16:9",
              "prompt": "A watercolor fox reading a newspaper in a rainy cafe window"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "aspect_ratio": "16:9",
              "bytes": 812344,
              "content_type": "image/png",
              "image_base64": "iVBORw0KGgo…",
              "mode": "generate",
              "model": "gemini-2.5-flash-image"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "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": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.webbersites.com",
    "manifest_name": "api.webbersites.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "bytes": 0,
      "content_type": "string",
      "image_base64": "string",
      "mode": "string",
      "model": "string",
      "usage": {}
    },
    "type": "string"
  }
}