Perchance - Create a Random Text Generator

398 readers
3 users here now

⚄︎ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 1 year ago
MODERATORS
1
 
 

Welcome to the Perchance Community!

Perchance.org is a platform for sharing and creating random text generators.

This Lemmy community is for:

  • Asking for help with problems, issues, or requests about generators in Perchance
  • Sharing and showcasing your created generators, templates, plugins, or pages in Perchance
  • Starting friendly discussions about topics related to Perchance
If it is your first time in using Lemmy, please check out this message from Lemmy.World and the Support Page from Lemmy.World to get started on using Lemmy.

Posting from Mastodon

Feel free to checkout this post to know how to post in this Lemmy Community through Mastodon.

Other Community Links

Rules

Here are some rules in this community:

  • Please follow the lemmy.world instance rules.
  • Be kind and friendly.
    • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)
  • Be thankful to those who try to help you.
    • If you ask a question and someone has made an effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)
  • Only post about stuff related to perchance.
    • Please only post about perchance related stuff like generators on it, bugs, and the site.
  • Search through the Community Before Posting
    • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

Posting

Here are some optional tags to add in your title to categorize the posts. These are merely tags, you still need to title your post effectively.

  • [Bug] - if you think you find any bug in Perchance, use this tag.
  • [Question] or [Help] - this is to denote that your post is a question or requesting for help
  • [Suggestion] - for any suggestions in Perchance
  • [Feedback] or [Appreciation] - for any feedback or appreciation to any generator or to Perchance in general.
  • [{Generator Category}] - Used to share any generator with the specified category
    • Text, Image, Template, Hub, Plugin, Preprocessor, Community/RP, Game, Experiment, Useful Generator
  • [Fluff] or [Non-Generator] - Non-generator posts but about Perchance
  • [Tutorial] or [Guide] - for any Perchance related tutorials or guides to help others

AI Plugins Posts

Here is a FAQ for the AI tools in Perchance.

We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"

There are guides, tutorials, and resources on the internet that can be applied when prompting in the AI tools in Perchance.

We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

If you need help in prompting, please post on the 'sister' forum at Casual Perchance

Getting Started with Perchance

To get started with Perchance, check out the Perchance Tutorial or the Beginner Tutorial at the Perchance Hub Learn Tab to get to know the website.

Asking for help

Feel free to ask for help but please check out these tips on searching for an answer:

  • Check the following pages, to see if your question has already been answered or talked about or a plugin has been made for it. We recommend using the browser's search function (ctrl+f) and searching for similar keywords to your question/problem.
  • If you didn't find anything about your problem there, feel free to search through the posts/articles here:
  • If you can't still find anything related to your problem, feel free to post a thread here.
    • Please title your post effectively.
    • Please provide a link to your generator with your attempts of solving the problem.
    • Try to explain what you want it to do and what example output it should be doing.
2
 
 

I made a pretty cool simple and minimal sentence generator, you can press space or enter after you clicked new the first time to generate faster. Check it out!

3
 
 

I have a two question https://perchance.org/ai-character-chat:

  1. What should I write in the character sheet as, for example, instructions or in a reminder note, so that the character behaves more naturally? What I mean is that very often characters add insertions in their dialogues that are repeated, making their statements unnatural and irritating in role playing, e.g. like that they have to focus on the mission, or if it was written earlier that they have to make a first impression at an upcoming party, the character keeps throwing in dialogues that include that they have to change or pull out clothes. Or it is written that it is afternoon and the party will be in the evening and the narrator writes as if it were already happening, leaving aside other events that might have taken place between afternoon and this evening.

  2. What instructions should I write so that a character, e.g. Bob, who is just getting to know a character, e.g. Ela, gradually learns information about Ela from her or from other characters who speak about her. So that Bob collects information about her and bulid the relationship with her and not so that a situation occurs in which I introduce a new character and Bob already speaks as if he had known her for a long time and knows everything about her.

4
 
 

I'm not an AI-chatter myself, but I am still seeing many reports of weirdness.

5
2
submitted 5 days ago* (last edited 5 days ago) by Zaringers to c/perchance
 
 

Hi~!

I'm getting familiar with Perchance and the text to image plugin, so I modified a script from the guides to test tags blending a bit more. I'm trying to visualize task blending, but when the prompt is not fixed (contains other lists that are being evaluated than the blended tags). In that case, I would like in each row to only change the blended tags, and to keep the same seed and evaluations of the other lists the same (e.g., here I want the same animal). But I didn't manage to do that yet, as the animals are changing within the same row. I wonder if there is a way to partially evaluate the prompt a first time for each row and a second time for the blended tag.

Another way would be to do string formatting to handle the tag blending instead of using perchance lists (with a trick like this: blending_value = [blending_values.selectAll[counter]]), but I didn't see a part about that in the guides, and I'm not familiar with JavaScript at all.

Do you have some solutions for this?

Here's the generator I started: https://perchance.org/7zk7cvxzzl

I coded it to blend 2 dimensions of tags within a matrix, I use only 1 dimension here, so it should not be relevant.

Notes: The idea behind this is to visualize the tag blending on a sample of the possible prompts rather than a fixed one. Here, there are 6 animals, so we could try them all on a bunch of seed, but in practice, it's not doable, that's why I'm doing the sampling in the first place.

6
 
 

I guess the fix didn't work, mate ;/

7
 
 

Hi guys if you have any idea of which possible style of the art syle is this, i would appreciate it.

8
0
Help with AI (lemmy.world)
submitted 1 week ago* (last edited 1 week ago) by ILikeHoney to c/perchance
 
 

How can I stop the AI from talking in my place? The character talking in the image is not me, but it still does describe the situation from my pov. It also often just talks as the character I'm playing.

9
1
submitted 1 week ago by Sythja to c/perchance
 
 

I can't seem to figure out how to get that generator to work on glitch, anyone got an idea what I may be goofing up?

10
6
Screenshot Plugin! (lemmy.world)
submitted 1 week ago by 15frogs to c/perchance
 
 

take screenshots of your outputs!

11
 
 

I am trying to generate images with Text-to-Image generators (I have tried many already), and all of them came with the error message above. Does anyone else have this problem: does anyone know how to fix this?

12
3
submitted 1 week ago* (last edited 1 week ago) by taholmes160 to c/perchance
 
 

I am looking to run this generator locally -- I have the horsepower to run the ai as I am running stable diffusion 3 locally, and also have LLAMA running locally -- -I want to use locally as I like the UI and the way it controls the generation, and would like to modify it for my own use locally

Thanks Tim

@perchance@[email protected]

13
 
 

Dear Perchance Administrator(s),

I've been trying to reach you over admin(at)perchance.org, which is listed as your contact email in your privacy policy, but the mail was eventually undelivered. I couldn't find any other contact information on the site, so I'm going to post this complaint here. But yes, I have a complaint against the usage of browser fingerprinting on your website. I noticed someone (hopefully an official account) posting under the name @perchance on this "sublemmy", so I am addressing this to you directly, because I believe that you are the person responsible for this situation. If you are not that person, then please have this message forwarded to whoever is.

The complaint is against Cloudflare (or more specifically, its bot detection mechanism) that is being used by perchance.org and causing access problems on some pages. Since I like my online privacy very much, I tend to modify the browser settings to harden it for improved security, configure it against online tracking, and protect it against malware. Unfortunately, Cloudflare often has a problem with this and croaks. It's often the case that when someone tries to change or customize their browser (i.e. by messing with some security settings or by installing a security addon), then they will likely get flagged as an anomaly. It is wrongful to expect visitors to keep their web browsers in vanilla state in order to appease some online bot detection scripts. I will thus put some of the blame on Cloudflare for providing these faulty services, but that is only half of the story. I realize that Cloudflare is by itself just a service, so it cannot take the full blame here. While it does offer these functions, it does not automatically apply them to random websites. No, the websites don't automatically pop up behind Cloudflare, there is another factor present here. Someone has to decide to put their website behind Cloudflare in the first place. Someone like you. Therefore, the other half of the blame lies with you or whoever decided to use Cloudflare on perchance.org.

Up until now you may still be wondering what exactly am I talking about. Well, I did some poking around the website javascript source code to try and identify the problem, and I managed to come up with a name. Does the name "Turnstile" ring a bell? Yes, it is the main problem here. It is a script that is using a technique called Browser Fingerprinting to uniquely identify users of your image generation service. These fingerprinting scripts often use some heavy-duty and extremely invasive probing to collect sensitive information about your visitor's devices including, but not limited to: device operating system, screen resolution, color depth, timezone, language/locale, installed fonts, list of browser plugins, device CPU and memory, audio card fingerprint, canvas fingerprint, WebGL (graphics card) fingerprint, list of connected devices like cameras and microphones, etc. Browser fingerprinting is a form of tracking far worse than cookies because it does not need to store any information on the user device, and it can even work cross-website. Clearing cookies or browser history won't help at all. It's like a DNA fingerprint of your device that is extremely difficult, if not impossible to change.

In case of Perchance, I found out that some AI generator pages like https://perchance.org/pretty-ai will attempt to load several iframe's after the "generate" button is clicked. These will then link to https://image-generation.perchance.org/embed, which then initiates the image generation process. But, before that happens, the iframe tries to contact https://challenges.cloudflare.com to fetch this javascript:

https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/orchestrate/chl_api/v1?ray=8c26a3a49b285b4e&lang=auto

This is a heavily obfuscated javascript that does some very shady things. Script obfuscation like this is often employed by malware to hide what the code is doing from reverse-engineering and anti-virus programs. Fortunatly, my browser detects this and blocks the script as potentially malicious. The result is that the iframe complains about challenges.cloudflare.com being blocked or that verification failed, and then enters an endless verification loop while never displaying the requested AI-generated content. Yes, I tried to bypass the verifiation process by modifying the page javascript code to skip the verification process and go directly to the image generation step. Unfortunately, the image generator server will not accept any requests without a proper user key, which is generated by that obfuscated turnstile script bloat. I do not condone having such scripts run in my browser, so I will not unblock the script. And since there is no obvious way to opt out of this invasive fingerprinting, I am thus reduced to begging website administrators to remove these scripts from their websites. Thus....

Please remove Cloudflare Turnstile browser fingerprinter from your website and make it accessible again to users that wish to protect their online privacy.

Thank you.

14
 
 

Do Perchance AI generated images have use restrictions?

15
 
 

Is it possible to self-host some of the generators (for security purposes) I have a computer quite capable of running many of the models, and indeed have a number available already. I have python available and can install any addons needed -- I just dont know how to utilize the plugins etc that are available here

16
 
 

Hello and thank you for that wonderful tool. I would like to now if it is possible to generate different mood for exactly the same character generated and how to do it. For example I got one boy designed, I want him happy, sad et caetera. Thank you for your feedback

17
3
submitted 1 week ago by 15frogs to c/perchance
 
 

lists:

  <span style\="color:#f21bc0;" class\="glow1" color\="#f21bc0">mythical</span> ^ 0.05
  <span style\="color:#fcd928;" class\="glow2" color\="#fcd928">legendary</span> ^ 0.1
  <span style\="color:#d7e32b;" class\="glow3" color\="#d7e32b">epic</span> ^ 0.5
  <span style\="color:#2929e6;" class\="glow4" color\="#2929e6">rare</span> ^ 1
  <span style\="color:#4cbf17;">uncommon</span> ^ 2.5
  <span style\="color:#919191;">common</span> ^ 5
prefix
  plain ^5
  <span style\="color:#CF6A32;">hale's own</span> ^ 0.2
  <span style\="color:#CF6A32;">scarcely lethal</span> ^ 0.2
  <span style\="color:#8650AC;">unusual</span> ^ 0.01
  <span style\="color:#CF6A32;">StatTrak™</span> ^ 1
  horrid ^2
  big momma's
  amazing
suffix
  ^4
  of destiny ^0.1
  of doom ^0.1
  <span class\="glow">★</span> ^0.1
  <span class\="glow">★★</span> ^0.05
  <span class\="glow">★★★</span> ^0.025
  <span class\="glow">★★★★</span> ^0.0125
rarityTier
  <span style\="color:#afafaf;">Consumer</span> ^ 2
  <span style\="color:#6496e1;">Industrial</span> ^ 0.5
  <span style\="color:#8847ff;">Mil-spec</span> ^ 0.25
  <span style\="color:#6496e1;">Restricted</span> ^ 0.125
  <span style\="color:#d32ce6;">Classified</span> ^ 0.0625
  <span style\="color:#eb4b4b;">Convert</span> ^ 0.01
  <span style\="color:#886a08;">Contraband</span> ^ 0.005

output:

output = [pre = prefix] [...] [suf = suffix]

level = lv{1-100} [rar = rarity] [r.level]
quality = [qua = rarityTier]
value = [1/(pre.$odds) * 1/(suf.$odds) * 1/(rar.$odds) * 1/(qua.$odds) * r.value]

Problem is, qua.$odds doesn't seem to exist! Is this a quirk with the Perchance engine, or is it just faulty programming?

18
 
 

Hi Folks:

Id like to contact the author of the AI Character Generator. Is there a way to do this?

Thanks

19
6
nuh uh (lemmy.world)
submitted 1 week ago by Alllo to c/perchance
 
 

@Perchance, looking at the TextToImage plugin page again today the wrongness of the line 'the same seed generates the exact same picture' is sort of jarring since nothing else on the page is false nor misleading (that i kno of).

for those of you who dont know, the same seed generates a variety of similar pictures.

20
2
submitted 1 week ago* (last edited 1 week ago) by Eric9082 to c/perchance
 
 

I see that there has been an update and the memories feature is back in. Nice. However, the MessageAdded event in my custom code is now not getting executed. I added a console.log as the first line in the handler:

oc.thread.on("MessageAdded", async function({ message }) {
console.log("----------message added-------------");

And it is not getting triggered any more. It was working and I haven't changed the code. Has this changed or is this maybe a bug? Thanks!

21
 
 

I'm using this generator (https://perchance.org/ai-character-chat) on Cromite. Everytime I load the page, the error below shows up. The generator actually seems to work fine, but I've got quite a few "conversations" on it that I regularly export, and I want to make sure this won't cause any problems.

" An error has occurred somewhere in your code (in lists or HTML): An unhandled promise rejection occurred: Error: no available backend found. ERR: [wasm] ReferenceError: WebAssembly is not defined "

22
2
submitted 2 weeks ago* (last edited 1 week ago) by AdComfortable1514 to c/perchance
 
 

Error disappears by updating any HTML element on the fusion gen page.

Source: https://perchance.org/fusion-ai-image-generator

Dynamic imports plugin: https://perchance.org/dynamic-import-plugin

I let name = localStorage.name , if it exists ,

when running dynamicImports(name).

I didn't have this error when I implemented the localStorage thingy.

So I suspected this to be connected to some new added feature for dynamic Imports.

Ideas on solving this?

Code when I select names for dynamic import upon start (the error only occurs upon opening/reloading the page) :

_generator
    gen_danbooru
        fusion-t2i-danbooru-1
        fusion-t2i-danbooru-2
        fusion-t2i-danbooru-3

    gen_lyrics
        fusion-t2i-lyrics-1
        fusion-t2i-lyrics-2

...

_genKeys
    gen_danbooru
    gen_lyrics

...

// Initialize
getStartingValue(type) =>
  _genKeys.selectAll.forEach(function(_key) {
    document[_key] = 'fusion-t2i-empty';
    if (localStorage.getItem(_key) && localStorage.getItem(_key) != '' && localStorage.getItem(_key) != 'fusion-t2i-empty') {
      document[_key] = localStorage.getItem(_key);
    } else {
      document[_key] = [_generator[_key].selectOne];
      localStorage.setItem(_key, document[_key]);
    };
  });

...

  dynamicImport(document.gen_danbooru, 'preload');  

...

if (type == "danbooru"): return document.gen_danbooru; 
}; 

// End of getStartingValue(type)

...

_folders
  danbooru = dynamicImport(document.gen_danbooru || getStartingValue("danbooru")) 

23
 
 

@[email protected]

The resources button is very useful. and it is very inconvenient to access right now. It doesn't really matter if there is one more button, it won't look weird and there are not too many now.

The AI button in the editor should be hideable, as it takes up space and isn't really useful.

24
 
 

I made a post on Reddit not knowing the community had moved to Lemmy, which can be found here.

I wrote a more detailed explanation with code snippets there, but to summarize I am trying to implement independent card randomizers where each card has its own description and image. Before implementing images, I was able to reroll what was just the card's description. However, the approach I took to make this compatible with specific images yielded an error when trying to reroll any of the cards. Loading the generator does not come with any errors. What can I do to resolve these errors?

25
 
 

There are 2 new preprocessors made recently, thought i'd make a post so people don't miss them..

The first one, made by @poundpound0209 in the discord, Allows you to easily import some AI and grammer plugins.

The second one, made by me, contains a bunch of different preprocessors put together so you can use multiple at once.

view more: next ›