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]]
The Great Dreamscape of Serene Imagination
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.
Details
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.
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!
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!