I make generators on Perchance.org and do a bunch of other cool things.
Links:
Mention the server like this: @perchance @lemmy.world (remove the spaces in-between so it would be an actual ping).
It’s text2image since the framework was originally used to create customizable text-to-image generators I think.
Thanks! I appreciate it! 😃
I’m going to do a few more updates and release a few more things before heading to the “revival” plan and eventually the big Generator Manager update.
Nice! I didn’t know this was a problem with the engine, not just the template.
Oh, nice to know! In image contests in Casual Perchance you put your image submission like this in the comments of the contest’s post.
There isn’t much changed from the outlooks, but if you look closely there is only one “Start Learning” button below the example code section, there is no video tutorial section, there is no instruction on how to embed a generator (which I guess is still not a thing at that time) and there is even no “try this example” button that redirects to this example that was also linked in the old page somewhere nearby.
For me though, Perchance is really just a foundation for me to actually create things I like and engage with other creations since I discovered it back in 2022 when it’s just plain simple (there was no hub, very simple welcome page, fewer plugins, simpler comments plugin UI, etc.) and there wasn’t any AI image stuff or t2i generators yet. And that’s the reason why the Generator Manager (my generator hub page) is here. I started to like it so much that I published my first own creation even published here on this platform. Love to see how it evolves, though, and glad this was explained in this Lemmy community!
Did you intent to submit it into the image contest or you just wanted to post the image into the community? Overall, it’s cool 🌟
Yeah, I can feel that. 💡
That’s a great answer! I’ve never thought of these solutions in a while, maybe even add a warning for that so other newbies could know easily.
You can use the shorthand exp ? if_true : if_false
notation chained together instead of the if ... else
notations. It’s specially used for conditional inline value returns.
[s == "Wolf" ? wolf_gene : s == "Cat" ? cat_gene : s == "Fox" ? fox_gene : ""]
You can also do like this as well:
[({"Wolf": wolf_gene, "Cat": cat_gene, "Fox": fox_gene})[s]]
Since it’s freestyle, I’ve decided to go on an image that represents a state of mindful yet limitless imagination that brings into the greatest and the most wonderful sides of the world. Here’s what it’s turned out.
Generated with: txt2image-generator
Prompt: A young man ((floating with his paint kit largely spilling everywhere)), painting an abstract art on a huge canvas ((at an excellently phenomenal, fresh, vibrant orange sunset background with the large sun, mountains and lakes.)) (((Papers, pencils, brushes, (light bursts, and drops of exploding paint) broadly flying and scattering everywhere from the man))), creating a perfect scene that resonates into the doomed reality, excellent artwork, freestyle, conceptual, majestic photo, creative, 4K, ultra-clear quality, huge light leaks, phenomenal light burst, vibrant color grading, dramatic angle, perfectly aligned, ((colorful, extreme angle shot, vibrant color grading))
Negative Prompt: floating on a lake, paint cans, low quality, bad image, watermark
This is likely an error with the text-to-image-plugin
interfering with some t2i-framework stuff or similar since it’s trying to create the gallery iframe inside the generator, as I was getting the exact same error from the text2image-generator. This error normally doesn’t happen, because the plugin is always set to access that variable (which points to a span
element) under a timeout (which is right after the element was created). I don’t know exactly what causes this, so I’m going to ping @[email protected] so they can address this issue in the meantime.
That error description on the second screenshot is something that I haven’t caught before, I’ve just got one already, but a bit different. I initially thought it was a custom error from the generator, but turned out it was a new type of error from the Perchance engine.
Correction, why is it still shows the old name on the post? And maybe describe a bit what freestyle actually is so people can have some more context to it.
Pinging @[email protected] for this one.
Actually, the bottom side of the outline seems to be blocked up and a bit less thick than the other sides, so I could clearly see that this isn’t such the case. Regardless, I can say it’s pretty rare though, imagine you sought an image with an absolutely perfect red outline that you cannot distinguish it with actual blocked pictures at all (if you’re into admin mode in the gallery).
No problem, I appreciate that!
Try fully reloading the generator by clicking on the “reload” button at the bottom-right corner to temporarily fix the problem. I’ll ping @[email protected] so they can have a heads-up on this one.