{"uid":"cap_UHcIEmIY0WfPthYzbRPh1","slug":"quantaflow-x402-api-gateway-replicate-proxy-882e6374","name":"QuantaFlow x402 API Gateway – Replicate Proxy","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/replicate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AJUQGzwzq48sZZqKjBiTD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies requests to the Replicate AI model platform via the x402 micropayment protocol, charging $0.01 USDC per call","exampleAgentPrompt":"Run the stable-diffusion model on Replicate to generate an image of a sunset over the ocean — use the path /v1/predictions with the model input as the JSON body.","exampleUseCases":[{"title":"AI image generation via micropayment","prompt":"Use the Replicate gateway to run the SDXL model — send a POST to /v1/predictions with the body containing my prompt 'a futuristic city skyline at dusk' and pay the per-call fee automatically."},{"title":"Text-to-speech model inference","prompt":"Call the Replicate API through the paid gateway, routing to /v1/predictions with the bark text-to-speech model and my input text 'Hello, this is a test' as the JSON body."},{"title":"Automated pipeline calling Replicate in a DeFi agent","prompt":"My agent needs to call a Replicate upscaling model at path /v1/predictions for every image in this batch — forward each request through the x402 gateway and deduct $0.01 USDC per call."}],"resultDescription":"The raw upstream response from the Replicate API is passed through transparently, including the response body and content type, after successful x402 micropayment verification.","failureModes":["Insufficient USDC balance causes payment failure and request is rejected before forwarding","Invalid or missing x402 payment header returns 402 Payment Required","Malformed path or query causes upstream Replicate API to return 4xx error","Replicate API rate limits or model errors returned as upstream error pass-through","Invalid JSON body causes upstream request failure"],"whenToPreferThis":"Choose this endpoint when you need to access Replicate AI models using a web3/DeFi-native micropayment flow (x402 protocol with USDC), especially in agent pipelines that manage crypto wallets and want pay-per-call billing without traditional API key subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:43:41.730Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-replicate-proxy-882e6374"}