← All endpoints
api.glianalabs.com tools code-image
https://api.glianalabs.com/x402/tools/code-image
answers 402
GlianaAI - pay-per-call AI models, live market data and identity APIs (90+ models incl. LLM chat), no signup, USDC. This resource: tools/code-image. Render a syntax-highlighted code snippet as an image. Use when an agent shares code somewhere that cannot display a code block. Inputs: code (required), title (filename shown in the window bar), language (for highlighting, e.g. ts, py). Returns url an
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.02
- Network
- base
- Pay to
- 0x7662E00f8Ab4C362166e1FF649Ff6c2A638c80AD
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 3734 ms
- Payment options
- 2 usable of 2
- Last checked
- 2026-08-15T14:34:30.346Z (2h ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.glianalabs.com%2Fx402%2Ftools%2Fcode-image"