{"uid":"cap_HHngBKIIephGy8IdE2Ghb","slug":"lucid-oracle-zk-proof-generation-service-756c2dc5","name":"Lucid Oracle ZK Proof Generation Service","description":"Generate zero-knowledge proof","url":"https://lucid-oracle-production.up.railway.app/api/generate-proof","method":"POST","headers":{},"bodySchema":{"type":"object","required":["tier","inputs","circuit"],"properties":{"tier":{"enum":["basic","standard","premium"],"type":"string","description":"Pricing tier (basic: $0.02, standard: $0.05, premium: $0.10)"},"inputs":{"type":"object","description":"Circuit-specific inputs (e.g., {preimage: 'secret'})"},"circuit":{"enum":["hashPreimage","rangeProof","customArithmetic"],"type":"string","description":"Circuit type to use for proof generation"}}},"responseSchema":{"proof":{"type":"object","description":"zk-SNARK proof in Groth16 format"},"success":{"type":"boolean"},"metadata":{"type":"object","properties":{"tier":{"type":"string"},"circuit":{"type":"string"},"proofId":{"type":"string"},"executionTime":{"type":"number"}}},"publicSignals":{"type":"array","description":"Public outputs from circuit"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g6mATVqixg6fVJWBeqPi7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a zero-knowledge proof (zk-SNARK in Groth16 format) for a specified circuit and input set","exampleAgentPrompt":"Generate a zero-knowledge proof using the hash preimage circuit at the standard tier — the secret input is 'mySecretValue123'.","exampleUseCases":[{"title":"Prove age without revealing birthdate","prompt":"I need to prove I'm over 18 to access this service without revealing my actual birthdate — generate a zero-knowledge proof using the age verification circuit with my private birthdate as the secret input."},{"title":"Privacy-preserving on-chain credential","prompt":"Create a Groth16 zero-knowledge proof for my membership credential circuit so I can submit it on-chain to prove I'm a verified member without exposing any of my private identity details."},{"title":"Authenticate secret without disclosure","prompt":"Generate a zk-SNARK proof at the standard tier using the hash preimage circuit — I want to prove to a verifier that I know the secret passphrase 'alpha-phoenix-7734' without ever revealing the passphrase itself."}],"resultDescription":"Returns a zk-SNARK proof object in Groth16 format, an array of public signals from the circuit, a success boolean, and metadata including the tier, circuit name, a unique proofId, and the execution time in milliseconds.","failureModes":["Invalid or unsupported circuit name returns an error","Missing required fields (tier, inputs, circuit) results in a 400 bad request","Circuit inputs that don't match the expected schema for the given circuit cause proof generation failure","Payment insufficient for the selected tier returns a 402 payment required","Server-side proof generation timeout for complex circuits"],"whenToPreferThis":"Use this endpoint when you need to generate a fresh zk-SNARK proof (Groth16) for a given circuit and private inputs, especially when you need the public signals and a verifiable proof object. Prefer this over the sibling verification endpoint when you are the prover, not the verifier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:36:51.908Z","isFirstParty":false}