{
  "x402Version": 2,
  "id": 5380,
  "slug": "5380",
  "resource": "https://lotusnetworkapi.com/api/v1/generate-image",
  "description": "Text-to-image generation powered by FLUX.2 [pro]. Send a prompt, get back a 1024x1024 image as base64 JSON or raw bytes, plus a durable direct URL. No API key or account needed.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3268C9434D8603957420f04510CA0ff6097A5C64",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "80000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "prompt": "a cyberpunk city skyline at dusk, neon reflections"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "absoluteUrl": "https://lotusnetworkapi.com/api/v1/image/9f2c4a1e7b3d5f8091a2b3c4d5e6f708",
            "image": "<base64-encoded image bytes>",
            "mimeType": "image/webp",
            "model": "black-forest-labs/flux-2-pro",
            "prompt": "a cyberpunk city skyline at dusk, neon reflections",
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "format": {
                    "enum": [
                      "json",
                      "binary"
                    ],
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Text description of the image to generate",
                    "type": "string"
                  }
                },
                "required": [
                  "prompt"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "absoluteUrl": {
                    "type": "string"
                  },
                  "downloadUrl": {
                    "type": "string"
                  },
                  "image": {
                    "description": "Base64-encoded image",
                    "type": "string"
                  },
                  "mimeType": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "prompt": {
                    "type": "string"
                  },
                  "retentionDays": {
                    "type": "number"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "lotusnetworkapi.com",
  "lastUpdated": "2026-08-27T03:40:22.762Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-27T03:40:22.393Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "lotusnetworkapi.com",
    "manifest_name": "lotusnetworkapi.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"
  }
}