Lightning micropayments are a great way to help scale AI apps.

So we built WebAI - a way for developers to charge users a lightning micropayment per AI API call

Check out the demo at https://webai.deezy.io

(you must have a WebLN enabled browser extension like Alby!)

And the library: https://www.npmjs.com/package/@deezy-inc/web-ai

Reply to this note

Please Login to reply.

Discussion

If I had a use for it this would be a great idea. Micropayments vs selling of data and advertising for monetization should be the future.

That’s what I’m trying to implement flr marketing efforts

Test 123, little off this time 😄 GPT3? GPT4PT?

Nvm, found the gpt-3.5-turbo

This is nice :) I can imagine the planet wanting to use micro payments for this type of thing rather than leaving their card and details and KYC ...!

Love it!

FYI Couldn't actually use it, it failed twice (both LND and LNbits as Alby backend), but surely can be fixed.

Bookmarked it, will try again later.

FYI here is the error I got: https://paste.debian.net/plainh/0cd25a9e

Are there plans to expose this as a REST API?

Would be a banger for chat clients (special chat where you can ask the AI smth, app pays in the background)

nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg great use case for cashu because it can include the payment in the API call (vs LN which needs a few extra calls).