Show HN: I built a pay-per-use AI API using Lightning payments

1作者: LightProx大约 1 个月前原帖
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>
查看原文
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>