{"schema_version":"1.0","name":"Steam Image Generator API","description":"AI-powered API that generates Steam store capsule images from game screenshots. Supports all Steam store capsule and library asset sizes. Pay with crypto (USDC or ETH on Ethereum mainnet). Returns 402 Payment Required when credits are depleted, with inline payment instructions.","url":"https://steamimagegenerator.com","api_base_url":"https://api.steamimagegenerator.com","documentation_url":"https://steamimagegenerator.com/agent","llms_txt_url":"https://steamimagegenerator.com/llms.txt","authentication":{"type":"api_key","header":"X-Api-Key","registration":{"endpoint":"POST https://api.steamimagegenerator.com/agent/register","body":{"name":"optional agent name"},"returns":"agent_id and api_key"}},"payment":{"protocol":"x402","x402_version":2,"probe_url":"https://api.steamimagegenerator.com/agent/x402","description":"GET or POST /agent/x402 always returns HTTP 402 with a PAYMENT-REQUIRED header (x402 v2). POST /agent/generate does the same when credits are exhausted. Pay USDC on Ethereum mainnet to payTo, then POST /agent/verify-payment with the tx_hash.","network":"eip155:1","chain_id":1,"currencies":["USDC","ETH"],"verify_endpoint":"POST https://api.steamimagegenerator.com/agent/verify-payment"},"capabilities":{"generates":"Steam store capsule and library images","input":"Game screenshots (base64 encoded) + target dimensions","output":"PNG image (base64 encoded)","supported_templates":[{"name":"Header Capsule","width":920,"height":430},{"name":"Small Capsule","width":462,"height":174},{"name":"Main Capsule","width":1232,"height":706},{"name":"Vertical Capsule","width":748,"height":896},{"name":"Library Capsule","width":600,"height":900},{"name":"Library Header","width":920,"height":430},{"name":"Library Hero","width":3840,"height":1240},{"name":"Library Logo","width":1280,"height":720}]},"endpoints":[{"path":"/agent/x402","method":"GET","auth_required":false,"description":"x402 v2 payment probe. Always returns HTTP 402 with PAYMENT-REQUIRED."},{"path":"/agent/register","method":"POST","auth_required":false,"description":"Register a new agent and get an API key. No auth required."},{"path":"/agent/generate","method":"POST","auth_required":true,"description":"Generate a capsule image. Costs 1 credit. Returns 402 if no credits.","cost":"1 credit per call"},{"path":"/agent/credits","method":"GET","auth_required":true,"description":"Check your current credit balance."},{"path":"/agent/verify-payment","method":"POST","auth_required":true,"description":"Submit a crypto tx_hash to verify payment and receive credits."}],"pricing":{"cost_per_generation":"1 credit","packages":[{"id":"credits_8","credits":8,"usdc":"4","eth":"0.0024"},{"id":"credits_40","credits":40,"usdc":"15","eth":"0.009"},{"id":"credits_400","credits":400,"usdc":"120","eth":"0.072"}]}}