{
  "x402Version": 2,
  "id": 5884,
  "slug": "5884",
  "resource": "https://imagegen.coinopai.com/generate/clean",
  "description": "Generate an AI image from a text prompt with the background automatically removed into a transparent PNG cutout (FLUX Schnell). Use it to create product photos, sticker designs, logo marks, or transparent assets for e-commerce listings and automated design pipelines — text-to-image plus background removal in one paid API call, no API key or image-editing step required.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4C1a4FcE51Fea51f128a01ccE8BecB106d391155",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "350000",
      "maxTimeoutSeconds": 1800
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "aspect": "1:1",
            "prompt": "a product photo of a ceramic mug"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "aspect": "1:1",
            "generated_at": "2026-05-13T14:30:00.000Z",
            "image_url": "https://cdn.forgemesh.io/images/example.png",
            "prompt": "a product photo of a ceramic mug",
            "tier": "clean"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "aspect": {
                    "description": "Aspect ratio (default 1:1)",
                    "enum": [
                      "1:1",
                      "16:9",
                      "9:16",
                      "4:3"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text prompt describing the image to generate",
                    "type": "string"
                  }
                },
                "required": [
                  "prompt"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "aspect": {
                    "type": "string"
                  },
                  "generated_at": {
                    "type": "string"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "tier": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "350000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x4C1a4FcE51Fea51f128a01ccE8BecB106d391155",
              "resourceUrl": "https://imagegen.coinopai.com/generate/clean",
              "scheme": "exact",
              "validUntil": 1787352193,
              "version": 1
            },
            "signature": "0x8bdafa9bea87f943d7292982b35b50c0cbb46b3caaeee8df5bf1821678b96360559dbda2b760db93967d0faa4c560b7bfc731bc5be031069f74b4d7f165624c41b"
          }
        ]
      },
      "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",
    "offer-receipt",
    "payment-identifier"
  ],
  "sourceHost": "imagegen.coinopai.com",
  "lastUpdated": "2026-08-21T22:38:13.467Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-21T22:38:13.2Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "imagegen.coinopai.com",
    "manifest_name": "imagegen.coinopai.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}