Show HN: 我用闪电支付搭建了一个按使用量付费的 AI API

1作者: LightProx6 个月前
我搭建了 LightningProx - 无需 API 密钥或账户即可访问 Claude/GPT-4。<p>工作原理:<p>1. 发送请求,获取 Lightning 发票(约 5 聪) 2. 使用任何 Lightning 钱包支付 3. 获取 AI 响应<p>支付 = 身份验证。无需泄露密钥。<p>Python: pip install langchain-lightningprox<p>网站:<a href="https://lightningprox.com" rel="nofollow">https://lightningprox.com</a> 文档:<a href="https://lightningprox.com/docs" rel="nofollow">https://lightningprox.com/docs</a> GitHub:<a href="https://github.com/unixlamadev-spec/langchain-lightningprox" rel="nofollow">https://github.com/unixlamadev-spec/langchain-lightningprox</a> 完整文章:<a href="https://medium.com/@unixlamadev/i-built-the-payment-layer-for-ai-agents-5fb2545c5272" rel="nofollow">https://medium.com/@unixlamadev/i-built-the-payment-layer-fo...</a>
查看原文
I built LightningProx - access Claude&#x2F;GPT-4 without API keys or accounts.<p>How it works:<p>1. Send request, get Lightning invoice (~5 sats) 2. Pay with any Lightning wallet 3. Get AI response<p>Payment = authentication. No keys to leak.<p>Python: pip install langchain-lightningprox<p>Site: <a href="https:&#x2F;&#x2F;lightningprox.com" rel="nofollow">https:&#x2F;&#x2F;lightningprox.com</a> Docs: <a href="https:&#x2F;&#x2F;lightningprox.com&#x2F;docs" rel="nofollow">https:&#x2F;&#x2F;lightningprox.com&#x2F;docs</a> GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;unixlamadev-spec&#x2F;langchain-lightningprox" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;unixlamadev-spec&#x2F;langchain-lightningprox</a> Full writeup: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@unixlamadev&#x2F;i-built-the-payment-layer-for-ai-agents-5fb2545c5272" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@unixlamadev&#x2F;i-built-the-payment-layer-fo...</a>