Replying to Avatar PayPerQ

Hey all, I am brainstorming a big idea that involves nostr/ecash but unable to find someone who will answer my dumb questions about it and give feedback.

If you are willing, please like and RT this so it gets some attention. Here is the idea:

Currently, PPQ.AI allows users to do some basic image generation, but it is nothing compared to some of the newer developments coming to the arena soon.

I am considering creating a whole new side of the webiste, studio.ppq.ai, which will be a place where one can do all sorts more advanced media generations. image, video, 3d, song generation, all sorts of configurable settings/flows, etc. Something like this:

Where does nostr come in? Here is the idea:

All images generated on PPQ.AI could (optionally) be automatically posted to a nostr relay. How? We (PPQ.AI) will automatically generate a pub/priv key for the user on the client side and have it publish to nostr automatically in their using those keys. We can also generate an ecash wallet for them as well client side (maybe using something like npub.cash). The posts will probably go to a relay that I control (because other relays might see it as spam?), but I think other relays might pick them up as well? The media gens published to nostr will then be viewable to non-PPQ users and also eligible for likes, zaps, etc. This will both encourage my non-nostr users at PPQ to check out nostr for the first time as they get notified of the reactions on nostr to their generations, but it will also encourage nostr users to come check out PPQ when they see AI generations which leveraged it. I expect 90%+ of PPQ users may never actually get onto nostr and check out the reactions to their images, but some will, especially if they get zapped a few sats for a cool generation, and that may lead to furthering nostr.

In addition to posting to nostr, I would also create a "community browsing website" where one can all of the trending images, like them, zap them, utilize their prompts, etc. It will look like this web page (https://www.midjourney.com/showcase), except when the users click the image the nostr note metadata for that image will show up in the sidebar.

Please let me know what you think of this idea as well as the questions about relays and ecash:

- If I push user-generated media to a relay, it may reject them as spam, right? So do I need to do my own relay or perhaps I need to pay a relay to host my users' generations?

- I can create ecash wallets automatically on the client side, right? Which library might I use for that?

- If I run the mint, does that put me in any sort of legal peril as custodian? If so, are there random mints I can pawn this off on to avoid legal peril?

- How do I connect to an API that a relay provides? Where is the best guide for that? I found nostr:npub1sx9rnd03vs34lp39fvfv5krwlnxpl90f3dzuk8y3cuwutk2gdhdqjz6g8m but the endpoints it has do not provide me with the types of stuff that I'm looking for.

Thank you for reading, please give some feedback on the idea, and please like/RT for visibility.

How will people discover this generated stuff? They need to join a specific relay?

Reply to this note

Please Login to reply.

Discussion

I kinda assumed that once they were on one relay, other more popular relays would pick them up automatically. Is that not going to be the case?

Nah relays don’t sync like that

So how do I go about getting the popular relays to host my users' stuff? I should need to bribe them somehow?

Nostr login and share to nostr button

You just need to the broadcast notes to them

Okay so if I understand correctly, I should set up my own relay with my users' notes. Those notes contain the image URLs only (actual image data will be stored by me), and then my relay should broadcast these notes to other relays, who will automatically pick them up?

You could broadcast the notes to your relay and other relays all at the same time. That’s how it’s normally done. Running your own relay is to ensure the note gets stored cause other relays can reject your notes if they want.

I don’t know if this works but might be the easiest way to add sharing functionality: https://github.com/coracle-social/nub

Doesn’t seem to work :(

If you’re going to store the media, I suggest reading nip-96 or check out Blossom.

https://github.com/nostr-protocol/nips/blob/master/96.md

https://github.com/hzrd149/blossom

Only if someone shares it. But then wouldn’t a link be just good enough ?