{"uid":"cap_5SYjiTiMzCovNnDwYNmBc","slug":"quantaflow-x402-api-gateway-stability-endpoint-395bf97d","name":"QuantaFlow x402 API Gateway – Stability Endpoint","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/stability?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_jSkc8KvyVkvoNxvFhmOXL","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 a stability-related upstream service (likely Stability AI image generation) via the x402 micropayment protocol, charging $0.01 USDC per call.","exampleAgentPrompt":"Generate an image of a sunset over the ocean using Stability AI — route the request through the QuantaFlow gateway and pay the $0.01 USDC fee automatically, sending the prompt as the JSON body to the stability path.","exampleUseCases":[{"title":"Pay-per-call AI image generation","prompt":"I want to generate a photorealistic image of a futuristic city skyline at night using Stability AI — use the QuantaFlow x402 gateway at the stability endpoint, forward my prompt as the body, and handle the USDC micropayment automatically."},{"title":"Web3-native creative asset pipeline","prompt":"For my NFT project, generate a series of AI images via the QuantaFlow stability endpoint — each call should go to the /v1/generation path with my prompt JSON and pay $0.01 USDC per image using the x402 protocol."},{"title":"Agent-driven image generation with crypto billing","prompt":"My AI agent needs to call the Stability AI image API without a traditional API key — use the QuantaFlow x402 gateway at the stability endpoint, pass the generation parameters as the body, and settle the payment in USDC on-chain."}],"resultDescription":"The raw upstream response body from Stability AI (or whichever stability service is upstream), passed through transparently along with its content type, after the x402 micropayment of $0.01 USDC has been successfully processed.","failureModes":["Insufficient USDC balance causes payment failure and request rejection","Invalid or malformed JSON body string causes upstream error","Upstream Stability AI service unavailable or rate-limited returns passthrough error","Incorrect path parameter results in 404 from upstream","x402 payment protocol negotiation failure blocks request entirely","Vercel cold start may add latency on first request"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to Stability AI (or a stability-related service) without committing to a traditional subscription or API key, and when your agent operates in a web3/crypto context where USDC micropayments via the x402 protocol are preferred. Ideal for autonomous agents that need to self-fund API calls using on-chain balances.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:43:05.230Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-stability-endpoint-395bf97d"}