KevinBatdorf / block-diffusion

A WordPress block to generate images from text prompts
https://wordpress.org/plugins/stable-diffusion/
24 stars 6 forks source link

Wordpress integration #60

Open protoxx91 opened 1 year ago

protoxx91 commented 1 year ago

Hello,

I would like to know if it is possible to integrate your plugin but on the frontend

Best Regards.

elihanani commented 1 year ago

Hello,

I would like to know if it is possible to integrate your plugin but on the frontend

Best Regards.

That would be awesome. Thank you in advance.

KevinBatdorf commented 1 year ago

Can you give me some examples of how you would use it? Are you going to let the world run the models using your replicate.com API key? Or are you expecting user to get their own API key first?

elihanani commented 1 year ago

Can you give me some examples of how you would use it? Are you going to let the world run the models using your replicate.com API key? Or are you expecting user to get their own API key first?

Primarily, I would like for subscribed users to access. It would be a nice option for users to also enter their API key, but that would take then out of the ecosphere. The question is keeping generated images for each user.

elihanani commented 1 year ago

Can you please advise on how to modify and call specific Replicate models?

protoxx91 commented 1 year ago

Hello ,

on our site we will make an intuitive prompt generator, we need the same kind of more to be able to insert on a page with our API replicate.

Best Regards

Le lun. 13 mars 2023 à 09:22, Kevin Batdorf @.***> a écrit :

Can you give me some examples of how you would use it? Are you going to let the world run the models using your replicate.com API key? Or are you expecting user to get their own API key first?

— Reply to this email directly, view it on GitHub https://github.com/KevinBatdorf/block-diffusion/issues/60#issuecomment-1465698949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6BCGAZMYCCSIVY73CHWJ3W33KNVANCNFSM6AAAAAAVXVJIZQ . You are receiving this because you authored the thread.Message ID: @.***>

jackandcarter commented 1 year ago

I was also interested in allowing visitors to use the AI on the front end, or home page. I have hosted AI from building from source on my Mac, but integrating it onto a wordpress page is a horse of a different color. Essentially I would like visitors to be able to play with the prompt without limitations. I am an experienced developer of 11 languages and understand the work involved, but I have never worked with WP plugin development. I have built novelAI and found that to be something I would like to add to my site. I'm more than willing to help if this is something that hasn't been accomplished yet.

I can create a new NovelAI and host it on my Mac for development purposes if needed and allow public access, I would just need help creating a WP plugin to link to it. Then move forward with training.

KevinBatdorf commented 1 year ago

I'll look into adding some features this week. I would probably keep it to using the replicate.com for now though since it abstracts all of the infrastructure stuff, and it's reasonably priced.

Development might take some time though, but I'll start planning something.

I'll look into adding a way to let users interact on the front end. Possibly with some token system that you can charge your users for (which of course can be unlimited if you want)

elihanani commented 1 year ago

Sounds exciting. Thanks @KevinBatdorf

manualsh commented 11 months ago

Following.

KevinBatdorf commented 11 months ago

I started working on something (branch is here) but there wasn't a lot of interest in this plugin at some point so I haven't focused on it much. Seems there are better solutions out there?

What do you have in mind @manualsh?