Hello all! I’ve been using the AI Character Chat : https://perchance.org/ai-character-chat and I really like it, kudos to the creator(s).
Recently I’ve been trying to generate photos of the character I’m interacting with. I have a few question regarding the ai character chat and how to utilize text-to-image to it’s fullest. I’ve looked over as many posts and questions as I could find but couldn’t find much of anything regarding this. If there are any resources you think I may have missed please feel free to send them over.
1: Is there any way to have the ai remember the description of the character you’re talking to so that I can generate an image with them in it. For example lets say I’ve created a character named Bob and I say that he is a man, brown hair and eyes, wears a cowboy hat, in anime art style. Is there any way to do a
/image [Bob] riding a tractor, looking happy and have it pull in the descriptors I have of Bob on top of whatever additional things I include? /image man, brown hair and eyes, wears a cowboy hat, in anime art style, riding a tractor, looking happy The main reason I want to be able to do this or something similar is just so that I have an easy way of generating images with a recurring character I’ll want to see to go with whatever story I’m currently playing through. Maybe seeding is somehow usable here?
2: If the above would be rather time consuming then my next question is, is it possible to include negative prompts in the /image command or <image> </image> tags?
I won’t mind having to copy paste the original description of the character each time and just adding whatever scenario. Unfortunately I’ve been unable to set negative prompts. If I try /image man riding tractor, brown hair, in the rain (negativePrompt:::sun, bright, blurry) it will ignore the negativePrompt, it all just goes into the main prompt. Same with <image> man riding tractor, brown hair, in the rain (negativePrompt:::sun, bright, blurry) </image>
If anyone has any suggestions on how I can easily generate what will be fairly specific images in the text prompt for this generator that would be amazing. All I want is to RP alone and gen images of wholesome adventures with my companions.
Oh also if anyone has any idea how to stop the AI / Character from responding to the images I generate that would be great (I wouldn’t want to have to toggle on/off auto-reply every time)
Thanks in advance!


@Overhorde@lemmy.world @VioneT@lemmy.world As mentioned earlier the negativePrompt stuff is fixed now, but just now I’ve also added an extra few options to the character editor. I’ve added the ability to define a default prefix for all image prompts (i.e. automatically gets added at the start of all image prompts), a default suffix (i.e. added to end), and also an unlimited number of “trigger phrases” which trigger some extra custom text to get added to the prompt. So, for example, you can write:
So, as you can see, this allows you to pull in descriptors during image generation automatically based on character names, etc. Current image gen models kind of see the prompt as a “word soup” so it won’t work awesomely, but upgrade to next-gen is not too far away, so the text-to-image model will be able to interpret complex prompts better - which is important for a feature like this.
Check the character editor (click “show more settings” at the bottom) to see the input boxes for these. Let me know if you run into any problems! It’s possible I introduced bugs while adding this feature, as always.
(Also, Vionet, I’m running behind on notifications, but I’ve got some fun stuff in the works, so it’s worth it [though it could take a while]. But if there is anything critical feel free to keep pinging me in case I missed it on my skims of this forum, which I’ve been trying to do ~daily.)
You’re back again! I’ve just noticed this post and your comment recently after having fun and struggle playing and tweaking with the DIY Perchance API and some other Glitch projects. (Yes, I do have a Glitch account now.)
I would mention that having parenthesis as emphasis on the negative prompts still seems to mess it up. Probably a different grouping syntax? E.g. ###negativePrompt::: … ###, and the like that doesn’t use any parenthesis, brackets, or curly brackets.
Ohhh, I didn’t think of that! Sorry if I missed that point in an earlier comment. I’ve fixed that now by adding a bracket-depth-counting function. Seems to work well in my tests - let me know if you spot any issues. Thanks!