x402 is a protocol that turns payment into a native HTTP primitive using the 402 status code. TrappistAI uses x402 so developers can pay for AI image, music and 3D generation with native CSPR tokens on the Casper blockchain.
AI APIs are usually billed with credit cards or subscriptions. x402 lets an AI agent request a generation, pay with crypto, and receive the result in a single HTTP flow.