{"uid":"cap_KSnvE7SCGoPKuOeMGHDgt","slug":"glianaai-face-compare-facd0b42","name":"GlianaAI Face Compare","description":"tools/face-compare: utility API on GlianaAI - pay-per-call, no signup, USDC. Input: { a:{image_url|image_base64}, b:{image_url|image_base64} }. Upload each image to /v1/media first for URLs; base64 only for small images. https://ai.glianalabs.com","url":"https://gliana-ai.glianalabs.workers.dev/x402/tools/face-compare","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KQI0fdT9ij1K0DGlJE0uN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two face images and returns a similarity score indicating whether they belong to the same person","exampleAgentPrompt":"Can you compare these two face photos and tell me if they're the same person? Here's the first image: https://example.com/photo1.jpg and the second: https://example.com/photo2.jpg","exampleUseCases":[{"title":"Verify user selfie matches ID","prompt":"I need you to check if the selfie a user just uploaded matches the profile photo we have on file for them. Here's their new selfie: https://example.com/selfie.jpg and their existing profile photo: https://example.com/profile.jpg — can you tell me if they're the same person and how confident you are?"},{"title":"Deduplicate duplicate account photos","prompt":"We think two accounts on our platform might belong to the same person. Can you compare their profile pictures and give me a similarity score? First account photo: https://example.com/user123.jpg and second account photo: https://example.com/user456.jpg"},{"title":"Confirm event attendee identity","prompt":"Someone just checked in at our event and I want to make sure they match the registered attendee. Can you compare this photo I just took of them — https://example.com/checkin.jpg — with the registration headshot we have on file at https://example.com/registration.jpg and tell me if it's the same person?"}],"resultDescription":"Returns a similarity score (likely 0–1 or percentage) indicating how closely the two faces match, along with a boolean or categorical match result and confidence level","failureModes":["No face detected in one or both images — returns error indicating face not found","Invalid or unreachable image URL — returns fetch or URL error","Base64 image too large or malformed — returns payload error","Images contain multiple faces — ambiguous match result or error","Low-quality or obscured face image — low confidence score or failure","Missing required body fields (a or b) — returns validation error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call face comparison with no signup friction, accepting both image URLs and base64 inputs. Ideal for AI agents performing quick identity checks, de-duplication of user photos, or verification workflows using USDC micropayments via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:19.476Z","isFirstParty":false}