{"openapi":"3.1.0","info":{"title":"GEDX402 Image","version":"6","description":"Flux schnell text-to-image — fast generation, one x402 payment per image.","contact":{"email":"jvalamis@gmail.com","url":"https://image.gedx402.com"},"x-guidance":"Pay per request with USDC on Base via x402 v2 (Coinbase CDP facilitator). Choose any listed network in the 402 accepts[] response. 1 routes on this shard (competitive heroes default; ?full=1 for all). Full catalog: GET https://gedx402.com/v1/models Start here: POST /v1/image/flux-1-schnell","x-service":{"serviceName":"GEDX402 Image","tags":["image","diffusion","inference","usdc","multi-chain"],"iconUrl":"https://image.gedx402.com/favicon.svg"},"x-hub":"https://gedx402.com","x-payments":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"x-openapi-scope":"competitive","full_catalog":"https://image.gedx402.com/openapi.json?full=1"},"servers":[{"url":"https://image.gedx402.com"}],"paths":{"/v1/image/flux-1-schnell":{"post":{"operationId":"image_flux-1-schnell","summary":"Flux 1 Schnell Image Generation","description":"Fast text-to-image with Flux 1 Schnell (@cf/black-forest-labs/flux-1-schnell). POST prompt and optional dimensions; returns base64 image output. Hero: GET /heroes/flux-schnell. Per-generation x402 pricing per USDC per request (see npm run pricing:report). Deprecated wildcard — see GET https://gedx402.com/v1/models?bundle=winners for hero routes.","tags":["Images"],"security":[],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010000","max":"0.010000"}},"responses":{"200":{"description":"Inference result","content":{"application/json":{"schema":{"type":"object"},"example":{"image":"<base64>"}}}},"400":{"description":"Invalid or over-limit payload"},"402":{"description":"Payment required (x402 v2 USDC on Base)","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired with accepts[] per network","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{}}}}},"deprecated":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","description":"Natural-language description of the image to generate."},"num_steps":{"type":"integer","minimum":1,"maximum":20,"description":"Diffusion steps (quality vs speed)."},"width":{"type":"integer","description":"Output width in pixels when supported by the model."},"height":{"type":"integer","description":"Output height in pixels when supported by the model."}},"required":["prompt"]},"example":{"prompt":"A cat astronaut on the moon","num_steps":4}}}},"servers":[{"url":"https://image.gedx402.com"}],"x-resource-url":"https://image.gedx402.com/v1/image/flux-1-schnell"}},"/v1/models":{"get":{"operationId":"models","summary":"Shard route catalog","description":"Free catalog for this shard with pricing and descriptions.","tags":["Catalog"],"security":[],"responses":{"200":{"description":"Catalog JSON"}}}},"/v1/demo":{"get":{"operationId":"demo_index","summary":"Response shape previews","description":"Free cached JSON examples (not charged).","tags":["Catalog"],"security":[],"responses":{"200":{"description":"Demo index"}}}},"/v1/health":{"get":{"operationId":"health","summary":"Service health","tags":["Catalog"],"security":[],"responses":{"200":{"description":"Health JSON"}}}}},"x-agentcash-guidance":{"llmsTxtUrl":"https://image.gedx402.com/llms.txt"},"x-agentcash-provenance":{"ownershipProofs":["0xb3C2776cE3F99cb3366520c27b4aC5D436942Ab6","9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"]},"x-discovery":{"ownershipProofs":["0xb3C2776cE3F99cb3366520c27b4aC5D436942Ab6","9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"]}}