{
  "x402Version": 2,
  "id": 8045,
  "slug": "8045",
  "resource": "https://onchainrouter.dev/v1/images/generations",
  "description": "Image generation · seven-day hosted URL · 0% service fee launch promotion",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA7660dea6AadCc87CbB5e79ccd262d391e61dE5d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "35000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "aspect_ratio": "1:1",
            "image_size": "1K",
            "model": "gemini-3.1-flash-lite-image",
            "n": 1,
            "prompt": "A small observatory beneath a clear night sky, editorial illustration",
            "response_format": "url"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "aspect_ratio": "1:1",
            "created": 0,
            "data": [
              {
                "backed_up": true,
                "url": "https://onchainrouter.dev/v1/media/images/00000000-0000-4000-8000-000000000000?access=capability"
              }
            ],
            "image_size": "1K",
            "model": "gemini-3.1-flash-lite-image",
            "price": {
              "amount": "0.035",
              "currency": "USD"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "enum": [
                      "1:1"
                    ],
                    "type": "string"
                  },
                  "image_size": {
                    "default": "1K",
                    "enum": [
                      "1K"
                    ],
                    "type": "string"
                  },
                  "model": {
                    "const": "gemini-3.1-flash-lite-image",
                    "type": "string"
                  },
                  "n": {
                    "const": 1,
                    "type": "integer"
                  },
                  "prompt": {
                    "maxLength": 4000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "response_format": {
                    "default": "url",
                    "enum": [
                      "url",
                      "b64_json"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "model",
                  "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"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "onchainrouter.dev",
  "lastUpdated": "2026-09-06T09:49:38.91Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-06T09:49:38.349Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "onchainrouter.dev",
    "manifest_name": "onchainrouter.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}