{
  "x402Version": 2,
  "id": 5126,
  "slug": "5126",
  "resource": "https://imagcon.app/routes/x402/generate-image",
  "description": "Generate one image from a text prompt: app icon, brand logo, character mascot or illustration. POST JSON {description, type?, style?, aspect_ratio?}. type is icon, logo, mascot or illustration (default icon; only icon gets app-icon framing and mask safe margins). style is flat, metallic, 2d-game, clay, 3d, gradient or glassmorphism. aspect_ratio is 1:1, 4:3 or 16:9. Returns image_key and preview_url. No account required.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1f2A484ef654d49c58c625b09e78B538501D652D",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "195000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "description": "A friendly lobster holding a starfish",
            "style": "clay",
            "type": "mascot"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "image_key": "generated_images/anonymous/<uuid>.png",
            "preview_url": "https://imagcon.app/routes/get-image/generated_images/anonymous/<uuid>.png"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "aspect_ratio": {
                    "default": "1:1",
                    "description": "Output shape. 16:9 suits OG and hero images.",
                    "enum": [
                      "1:1",
                      "4:3",
                      "16:9"
                    ],
                    "type": "string"
                  },
                  "description": {
                    "description": "Text description of the image to generate",
                    "type": "string"
                  },
                  "style": {
                    "description": "Optional visual finish.",
                    "enum": [
                      "2d-game",
                      "3d",
                      "clay",
                      "flat",
                      "glassmorphism",
                      "gradient",
                      "metallic"
                    ],
                    "type": "string"
                  },
                  "type": {
                    "default": "icon",
                    "description": "What to produce. Only 'icon' applies app-icon framing and OS-mask safe margins.",
                    "enum": [
                      "icon",
                      "illustration",
                      "logo",
                      "mascot"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "description"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "imagcon.app",
  "lastUpdated": "2026-08-29T16:35:16.283Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-29T16:35:15.643Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "imagcon.app",
    "manifest_name": "imagcon.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}