I think I commented on this on your Reddit post?
“Add an AI chat button for their comments”? I don’t understand what that means.
A comment in another thread on Lemmy. https://lemmy.world/comment/11554673
There’s not a multiplayer feature built in to perchance. So you’d have to do it yourself, make your own server, etc.
They’ve got plans to upgrade the Ai generator model soon. They’ve mentioned Flux.
What “export” and “import” are you referring to?
I don’t know if I’m looking at it wrong, but it looks exactly the same to me 😅
Presumably you mean AI-chat. But I would advise them against hanging out in the comments/chat sections of generators. Unfortunately there’s bad actors in there, talking about bad/illegal stuff you don’t want a child exposed to. As well as some people generating over-the-line image content and saving it to public galleries–as well as NSFW stuff in general.
At a glance, XTTS is a technology that runs on your computer. Not a service you can call from any web page. So it would have to run on the perchance server… which it does not.
https://perchance.org/ai-text-plugin explains how to use the plugin. If you want to make things work your own way, you’ll need to learn to code at least to some degree.
Are you trying to make a new generator? How is this related to the character you have on the character AI chat?
The onclick takes JS code. The JS function called “update” updates the perchance stuff across the whole page. If you pass an element to the update function, it will only update that element.
So in my test, I have an element with the id “output.” So just passing output to the update() function means I’m passing a reference to that element with the id “output.” And then only that element is updated.
Well done! If you let me know where to look, I’ll check it out :D
I’ve made a separate example. While yours may have been simplified there was still a lot of complexity and redirection throughout the perchance code which made it hard to really know what’s what.
This example does what you want (I think), and is also very simple. I hope it helps. https://perchance.org/hw714l9a98#edit
Like the ai character chat?
You know anyone can make their own AI text generator, right?
Ah okay. I just posted as I came across the ideas. I’ll settle down I’m sure; I only just got in so they all came out at once 😅
I’m never sure on a forum like this whether the runners prefer separate issues/requests in separate posts so that they can be independently discussed/tracked… or if they prefer it to be grouped up as you suggested. I can do that from now on, if the runners prefer it.
That button essentially feeds the AI what it’s already written and then continues to display what it sends back. So… you could do that.