{
  "x402Version": 2,
  "id": 170,
  "slug": "170",
  "resource": "https://x402.ottoai.services/generate-meme",
  "description": "Meme generator + professional AI image generation via fal.ai. model: gpt-image-2 (default) | nano-banana-pro; anything else -> 400. Flat $0.15 per image. Supports image editing via public image URL.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "150000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "150000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "150000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "aspect_ratio": "1:1",
            "model": "gpt-image-2",
            "prompt": "A cute otter wearing sunglasses, lounging on a Base-blue skateboard"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "expiresAt": "2026-04-24T12:00:00Z",
            "imageUrl": "https://images.useotto.xyz/abc123.png",
            "model": "gpt-image-2",
            "status": "success"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "aspect_ratio": {
                    "description": "Optional: output aspect ratio (default 1:1)",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16"
                    ],
                    "type": "string"
                  },
                  "image_url": {
                    "description": "Optional: public URL of image to edit/remix",
                    "type": "string"
                  },
                  "model": {
                    "description": "model: gpt-image-2 (default) | nano-banana-pro; anything else -> 400",
                    "enum": [
                      "gpt-image-2",
                      "nano-banana-pro"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Image description (10-2000 chars, longer = better)",
                    "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": {
                  "error": {
                    "type": "string"
                  },
                  "expiresAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "imageUrl": {
                    "description": "URL of generated image",
                    "type": "string"
                  },
                  "model": {
                    "description": "Model used for generation",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "success",
                      "failed"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_hc2dhq09"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "150000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
              "resourceUrl": "https://x402.ottoai.services/generate-meme",
              "scheme": "exact",
              "validUntil": 1787718390,
              "version": 1
            },
            "signature": "0xfc6dd344220971dc1d8aaf5cb80692afbe52aa20c4037bbec431eecf25e18506648bcb83411843b3387b972c170c930d15b3e45cea28792ba12a3d205c2cae761c"
          },
          {
            "acceptIndex": 1,
            "format": "eip712",
            "payload": {
              "amount": "150000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
              "resourceUrl": "https://x402.ottoai.services/generate-meme",
              "scheme": "exact",
              "validUntil": 1787718390,
              "version": 1
            },
            "signature": "0xfc6dd344220971dc1d8aaf5cb80692afbe52aa20c4037bbec431eecf25e18506648bcb83411843b3387b972c170c930d15b3e45cea28792ba12a3d205c2cae761c"
          },
          {
            "acceptIndex": 2,
            "format": "eip712",
            "payload": {
              "amount": "150000",
              "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
              "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
              "payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
              "resourceUrl": "https://x402.ottoai.services/generate-meme",
              "scheme": "exact",
              "validUntil": 1787718390,
              "version": 1
            },
            "signature": "0x26748eafbcd297381b8bcd7866bf92e4abf7bc09a950bb20b169e93b1894dfde0c42dcb94a8d6d885a353677d77638765c77b44da7f8047469c8603eed01a9231c"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "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",
    "builder-code",
    "offer-receipt",
    "payment-identifier"
  ],
  "sourceHost": "x402.ottoai.services",
  "lastUpdated": "2026-08-26T04:21:30.907Z",
  "quality": {
    "calls30d": 14,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-08-26T04:21:30.441Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.ottoai.services",
    "manifest_name": "x402.ottoai.services",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}