{"x402_version":1,"service":"kas402","version":"v0.9.1-5-g4d7ea7e","base_url":"https://kas402.com","endpoints":[{"path":"/api/v1/speech/speak","method":"POST","type":"async","description":"Text-to-speech via Deepgram Aura-2, OpenAI gpt-4o-mini-tts, or ElevenLabs","body":{"language":"ISO code","provider":"deepgram|openai|elevenlabs","text":"string, required","voice":"string (default: thalia)"},"pricing":"$0.05/1K chars, min $0.005","result":"MP3 URL (poll /api/v1/jobs/{id})"},{"path":"/api/v1/speech/listen","method":"POST","type":"async","description":"Speech-to-text via Deepgram Nova-3 or OpenAI gpt-4o-transcribe","body":{"language":"ISO code","provider":"deepgram|openai","url":"string, required (or binary audio)"},"pricing":"$0.03/MB, min $0.005, max 25MB","result":"JSON transcript with timestamps"},{"path":"/api/v1/image/generate","method":"POST","type":"async","description":"Image generation from text prompt","body":{"aspect_ratio":"e.g. 1:1, 16:9","prompt":"string, required","provider":"nano-banana|nano-banana-2|nano-banana-pro|stability|stability-ultra|openai","transparent":"bool, OpenAI only"},"pricing":{"nano-banana":"$0.05","nano-banana-2":"$0.10","nano-banana-pro":"$0.20","openai":"$0.05","stability":"$0.05","stability-ultra":"$0.12"},"result":"PNG URL (poll /api/v1/jobs/{id})"},{"path":"/api/v1/image/edit","method":"POST","type":"async","description":"Edit image with text prompt (multipart or JSON with image_url)","body":{"image_url":"string, required (or multipart image file)","prompt":"string, required","provider":"nano-banana|nano-banana-2|nano-banana-pro|openai"},"pricing":{"nano-banana":"$0.07","nano-banana-2":"$0.12","nano-banana-pro":"$0.22","openai":"$0.08"},"result":"PNG URL (poll /api/v1/jobs/{id}), max upload 10MB"},{"path":"/api/v1/search","method":"POST","type":"sync","description":"Web search via Perplexity Sonar","body":{"messages":"[{role,content}], required","system_prompt":"string, optional"},"pricing":"$0.03","result":"JSON with content, citations, model"},{"path":"/api/v1/search/pro","method":"POST","type":"sync","description":"Web search via Perplexity Sonar Pro","body":{"messages":"[{role,content}], required","system_prompt":"string, optional"},"pricing":"$0.08","result":"JSON with content, citations, model"},{"path":"/api/v1/search/research","method":"POST","type":"sync","description":"Deep research via Perplexity Sonar Deep Research","body":{"messages":"[{role,content}], required","system_prompt":"string, optional"},"pricing":"$0.15","result":"JSON with content, citations, model"},{"path":"/api/v1/search/reason","method":"POST","type":"sync","description":"Reasoning search via Perplexity Sonar Reasoning Pro","body":{"messages":"[{role,content}], required","system_prompt":"string, optional"},"pricing":"$0.05","result":"JSON with content, citations, model"},{"path":"/api/v1/scrape/article","method":"POST","type":"sync","description":"Extract article content via Zyte","body":{"url":"string, required (http:// or https://)"},"pricing":"$0.015","result":"JSON with extracted article data"},{"path":"/api/v1/scrape/product","method":"POST","type":"sync","description":"Extract product data via Zyte","body":{"url":"string, required (http:// or https://)"},"pricing":"$0.015","result":"JSON with extracted product data"},{"path":"/api/v1/scrape/html","method":"POST","type":"sync","description":"Extract raw HTML via Zyte","body":{"url":"string, required (http:// or https://)"},"pricing":"$0.01","result":"JSON with extracted HTML"},{"path":"/api/v1/scrape/headlines","method":"POST","type":"sync","description":"Extract headlines from a page via Zyte","body":{"url":"string, required (http:// or https://)"},"pricing":"$0.015","result":"JSON with extracted headlines"}],"networks":[{"caip2":"eip155:8453","kind":"evm","label":"Base","testnet":false,"usdc_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usdc_decimals":6,"chain_id":8453,"eip712_domain":{"chainId":8453,"name":"USD Coin","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","version":"2"}},{"caip2":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","kind":"svm","label":"Solana","testnet":false,"usdc_contract":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","usdc_decimals":6,"fee_payer":"2wKupLR9q6wXYppw8Gr2NvWxKBUqm4PPJKkQfoxHDBg4"},{"caip2":"eip155:137","kind":"evm","label":"Polygon","testnet":false,"usdc_contract":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","usdc_decimals":6,"chain_id":137,"eip712_domain":{"chainId":137,"name":"USD Coin","verifyingContract":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","version":"2"}},{"caip2":"eip155:43114","kind":"evm","label":"Avalanche","testnet":false,"usdc_contract":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","usdc_decimals":6,"chain_id":43114,"eip712_domain":{"chainId":43114,"name":"USD Coin","verifyingContract":"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","version":"2"}}],"payment":{"protocol":"x402","header":"X-PAYMENT","encoding":"base64","scheme":"exact","method":"sign-and-send"},"account_system":{"description":"Prepaid balance accounts available. See GET / for details.","topup":"/api/v1/topups"},"demo_endpoints":{"faucet":"https://kas402.com/api/v1/faucet","job_status":"https://kas402.com/api/v1/jobs/{id}","try_async":"https://kas402.com/try-async","try_sync":"https://kas402.com/try-sync"}}
