grade_card
AI-grade a trading card image using a 3-stage pipeline: (1) Qwen Vision LLM analyzes corners, edges, surface defects (2) OpenCV measures exact centering ratios programmatically (3) BGS professional capping algorithm adjusts the final grade
Returns PSA/Beckett-calibrated subgrades and an overall condition score. Also includes a free ROI verdict (should you grade this card?).
PAID: $0.10 per call via x402. THREE rails are accepted, not just Base:
USDC on Base (eip155:8453)
USDC on Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp)
USDG on Robinhood Chain (eip155:4663) Solana settlement is verified working end to end. (Audit 2026-07-30, BUG-12.)
Use this when: a user has a card image and wants to know what grade it would receive from PSA or Beckett.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Pokemon | |
| image_url | Yes |