Typescript (SDK)
Run
OpenAI-compatible chat completions
x402-gated with dynamic pricing. If X402_ENABLED=true, requests without
a valid X-Payment-Proof header receive HTTP 402 with payment instructions.
Pricing is resolved per-model from the asset_pricing table.
POST
Typescript (SDK)
Authorizations
Lucid API key (lk_live_... or lk_test_...)
Headers
Transaction hash proving USDC payment (x402 protocol)
Body
application/json
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=8b4c7e6431e9a6af1ef23b77bb4ff5fd)
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=d5651a45e4bfbabc33f74e146af3f94a)