{"openapi":"3.1.0","info":{"title":"GEDX402 Image","version":"4","description":"Text-to-image generation on Cloudflare Workers AI — Flux, SDXL, and related models.","contact":{"email":"jvalamis@gmail.com","url":"https://image.gedx402.com"},"x-guidance":"Pay per request with USDC on Base, Polygon, Arbitrum, World, Solana via x402 v2 (Coinbase CDP facilitator). Choose any listed network in the 402 accepts[] response. 12 routes on this shard. Full catalog: GET https://gedx402.com/v1/models","x-service":{"serviceName":"GEDX402 Image","tags":["image","diffusion","workers-ai","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"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}]},"servers":[{"url":"https://image.gedx402.com"}],"paths":{"/v1/image/dreamshaper-8-lcm":{"post":{"operationId":"image_dreamshaper-8-lcm","summary":"Dreamshaper 8 LCM Image Generation","description":"Generate images from a text prompt with Dreamshaper 8 LCM (@cf/lykon/dreamshaper-8-lcm). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010000","max":"0.029500"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/flux-1-schnell":{"post":{"operationId":"image_flux-1-schnell","summary":"Flux 1 Schnell Image Generation","description":"Generate images from a text prompt with Flux 1 Schnell (@cf/black-forest-labs/flux-1-schnell). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010000","max":"0.010000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/flux-2-dev":{"post":{"operationId":"image_flux-2-dev","summary":"Flux 2 Dev Image Generation","description":"Generate images from a text prompt with Flux 2 Dev (@cf/black-forest-labs/flux-2-dev). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.020000","max":"0.020000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/flux-2-klein-4b":{"post":{"operationId":"image_flux-2-klein-4b","summary":"Flux 2 Klein 4B Image Generation","description":"Generate images from a text prompt with Flux 2 Klein 4B (@cf/black-forest-labs/flux-2-klein-4b). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010000","max":"0.010000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/flux-2-klein-9b":{"post":{"operationId":"image_flux-2-klein-9b","summary":"Flux 2 Klein 9B Image Generation","description":"Generate images from a text prompt with Flux 2 Klein 9B (@cf/black-forest-labs/flux-2-klein-9b). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.039510","max":"0.084500"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/lucid-origin":{"post":{"operationId":"image_lucid-origin","summary":"Lucid Origin Image Generation","description":"Generate images from a text prompt with Lucid Origin (@cf/leonardo/lucid-origin). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.020000","max":"0.073500"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/phoenix-1.0":{"post":{"operationId":"image_phoenix-1.0","summary":"Phoenix 1.0 Image Generation","description":"Generate images from a text prompt with Phoenix 1.0 (@cf/leonardo/phoenix-1.0). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.016850","max":"0.062500"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/stable-diffusion-v1-5":{"post":{"operationId":"image_stable-diffusion-v1-5","summary":"Stable Diffusion V1 5 Image Generation","description":"Generate images from a text prompt with Stable Diffusion V1 5 (@cf/runwayml/stable-diffusion-v1-5). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010250","max":"0.035000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/stable-diffusion-v1-5-img2img":{"post":{"operationId":"image_stable-diffusion-v1-5-img2img","summary":"Stable Diffusion V1 5 Img2img Image Generation","description":"Generate images from a text prompt with Stable Diffusion V1 5 Img2img (@cf/runwayml/stable-diffusion-v1-5-img2img). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010250","max":"0.035000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/stable-diffusion-v1-5-inpainting":{"post":{"operationId":"image_stable-diffusion-v1-5-inpainting","summary":"Stable Diffusion V1 5 Inpainting Image Generation","description":"Generate images from a text prompt with Stable Diffusion V1 5 Inpainting (@cf/runwayml/stable-diffusion-v1-5-inpainting). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010250","max":"0.035000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/stable-diffusion-xl-base-1.0":{"post":{"operationId":"image_stable-diffusion-xl-base-1.0","summary":"Stable Diffusion XL Base 1.0 Image Generation","description":"Generate images from a text prompt with Stable Diffusion XL Base 1.0 (@cf/stabilityai/stable-diffusion-xl-base-1.0). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.015000","max":"0.046000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/image/stable-diffusion-xl-lightning":{"post":{"operationId":"image_stable-diffusion-xl-lightning","summary":"Stable Diffusion XL Lightning Image Generation","description":"Generate images from a text prompt with Stable Diffusion XL Lightning (@cf/bytedance/stable-diffusion-xl-lightning). POST prompt and optional dimensions; returns base64 image output with per-generation pricing.","tags":["Images"],"x-payment-info":{"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC","label":"Base"}},{"x402":{"network":"eip155:137","asset":"USDC","label":"Polygon"}},{"x402":{"network":"eip155:42161","asset":"USDC","label":"Arbitrum"}},{"x402":{"network":"eip155:480","asset":"USDC","label":"World"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","label":"Solana"}}],"price":{"mode":"dynamic","currency":"USD","min":"0.010000","max":"0.024000"}},"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}}}},"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, Polygon, Arbitrum, World, Solana)","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":{}}}}}}},"/v1/models":{"get":{"operationId":"models","summary":"Shard route catalog","description":"Free catalog for this shard with pricing and descriptions.","tags":["Catalog"],"responses":{"200":{"description":"Catalog JSON"}}}},"/v1/demo":{"get":{"operationId":"demo_index","summary":"Response shape previews","description":"Free cached JSON examples (not charged).","tags":["Catalog"],"responses":{"200":{"description":"Demo index"}}}},"/v1/health":{"get":{"operationId":"health","summary":"Service health","tags":["Catalog"],"responses":{"200":{"description":"Health JSON"}}}}},"x-discovery":{"ownershipProofs":["0xb3C2776cE3F99cb3366520c27b4aC5D436942Ab6","6X7E1kWxiDb9KMVBWpj1vhGLngaH9nBJS31YUyrG2mwq"]}}