Koto

joined 2 months ago
[–] [email protected] 1 points 1 day ago

You won't be losing consumable list on that created list, as you can .consumableList it again. Judging by your code, you figured it out!

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)

I just hit "randomize" several times in my generator and they all look like different people to me. Of course, you need to fill a lot of details which my generator does for you, so you don't have to type anything.

[–] [email protected] 2 points 2 days ago (2 children)

Yes, it's possible. The correct syntax would be [a = originalList.consumableList.selectMany(2)] . Then, we'll need to make a list of that slice by using createPerchanceTree() with the correct escape characters. The function works like this: [newList = createPerchanceTree("slicedList\n\ta\n\tb").slicedList] [newList]

[–] [email protected] 1 points 3 days ago

Flux Kortex is perfect for image to image. I recommend installing it locally, amazing stuff.

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago)

https://perchance.org/hm20ndlb7m Not sure if you meant like this, a dropdown to choose from the list of genres. In perchance lists, the correct syntax to choose one is [list.selectOne] to choose one. You can assign it to a variable that you can later use, for example:[selectedGenre=genre.selectOne].

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Good idea but that would be a hell of a job to track all the pieces across different lists plus specification for each piece where it goes. Since I'm lazy I just did:

Uniform
  https://user.uploads.dev/file/53321b33603b8f9f386fb870db73ad65.png
  top=batman mask
  mid=batman suit with batman logo on the chest, batman gloves, batman belt
  low=batman pants, batman boots
  rear=batman cape, mask straps on the back of the head
  noZoom=[this.top], [this.mid], [this.low], partially visible batman cape on the sides

and then just call it like [Uniform[camera]]. I can easily filter out different actor specifications now.

[–] [email protected] 1 points 1 week ago

That's what I'm doing. I'm setting those values to all html elements, as well as using them in the lists. That's why I need to declare them to avoid "undefined" errors in the list section, for the first time users or after a remember(root, forget). Right now I have a long construction with something like this, [actor==undefined?actor="Any":""], it's clunky but it works. The "optimized" version that I was trying to make and asked help for with FOR construction and window[key] =... actually worked but in the HTML part. You're right it, THIS of course, referred to the function not the document. However, while it works for the elements, somehow the lists "forget" them immediately after the first update(). So, I'm just keeping it as is for now with [if undefined then value].

[–] [email protected] 1 points 1 week ago

btw, .some is a neat method, I overlooked it before.

[–] [email protected] 1 points 1 week ago (2 children)

Thanks for your answers! You gave me some good ideas there. But dynamic odds is what I was trying to avoid because I have 200+ suits, not just batman uniform, I can't spell it out in each of them and was trying to make one line rule for them all. Index 0 - png, index 1 is top, index 2 is mid, etc.

[–] [email protected] 1 points 1 week ago (2 children)

the variables are supposed to be a global variables, just like if it wrote [charNum==undefined?chaNum=1:""]. charNum, for example, is the value of a slider. But there are all kind of html elements associated with different variables, from radio inputs to strings.

 

https://perchance.org/mytestgen#edit In this generator, I have a suit list that consists of 5 areas: mask, cape, boots etc. The other two lists are "camera" and "actor". So, camera can zoom-in on a certain body part, and I need it to output only that section of clothing, leaving everything else out-of-frame. That I solved. But there's a third dimension to it. The third list is Actor, some characters cannot wear certain clothes because of their characteristics, for example, mermaid can't wear bottom clothes. Help me add that third dimension into the output line to filter it out properly, please.

 

testing here: https://perchance.org/z7l103ul1q#edit I have quite a big list of variables, that cause errors if undefined or null. So, I wanted to run a FOR through all of them at the very beginning. But perchance functions always ask to return something. How do I do it?

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (4 children)

Try proving a few more details. You can't be vague with the new model, it'll fallback to the basics it was trained in. And it's obvious that the flex females predominantly had lip contouring.

[–] [email protected] 1 points 1 week ago (1 children)

You seem to have pretty good idea what you're looking for. So, put it into words inside a prompt, and tune it phrase by phrase. The new model is quite good at catching the detailed description. The older model had its charm, but let's be honest it was outdated.

 

Recently, text-to-image plugin has changed a lot. With respect to Perchance, I'd like to share my humble opinion about it. Take a horse in a medieval setting, for example, 2 pictures out of 5 have blurred/distorted faces. It's not a famous face or a nudity content but it's still getting heavily censored for some reason. I understand the need for censorship and such, but could we focus more on the end user not seeing what they don't want to see in the gallery section rather than messing with the t2i logic? It's a fake parts in fake parts out, at the end of the day, no real person is involved, but it's messing with normal images generation kinda defeating the whole purpose of the plugin and hindering the imagination flow.

 

https://perchance.org/tz4t341n8c#edit In this test generator, in the center, I have a select form which is just a pose list put into options. I have a lot of them in my main generator, and I want to make them a little be more user friendly and interactive, also bypassing language barrier, so I want to add pictures into the options instead( or in addition to words). That's what I did in the poseRadio list. I substituted radio label's background with pictures using CSS styles. I'm planning to have a second list of picture urls for each list, or I could create an array of URLs in the html part. Ideally, it should look like a dropdown with a picture and then the list item name next to it. And when selected, only the item name is stored in the variable without the picture. I'm not sure how to do that yet. Need your help combining select and input radio in some way, thanks!

 

Hi. I'm using a line like this [fileName="{0-9}{a-z}{A-Z}".selectMany(12).join("")] to create a set of numbers and letters at the beginning of the prompt. In the previous model I used to set the priority to 0, so the AI ignored it, but I noticed that the new model ignores :: and these numbers started to appear on objects inside the images. Could I assign a filename in any other way?

 

Hi, I'm looking for a way for the AI to understand a hex color in the format #fff000, for example, if I get it from a color html element. If you directly ask the flux plugin to show a #fff000 shirt he will use a random color instead, so ideally I need to translate it into words, if that's possible at all? Or perhaps, there's another way.

 

I have a list of clothing items and a variable [gender] that contains value for example "♂️" male. Some items on the list of clothing also contain emojis ♀️ or ♂️ in them, something like "Batman suit♂️". I'm trying to exclude all items with ♀️ if "gender==♂️" and vice versa. I've tried to use clothingTop.selectAll.filter(newlist =>newlist.tags.includes([gender])), ald also match(/♀️/i), I'm not sure how to proceed.

 

Hi, since the new model came out I struggle to create a middle-of-the-day atmosphere for my photos. "sunny", "very sunny", "the sun is in the zenith", "middle-of-the-day sunny lighting", "{bright|soft} natural day lighting" and many more produce early morning or late day close to sunset. I also tried to use Joy Caption to describe the photos from before, but the description of the lighting and the atmosphere is quite vague and it doesn't help to solve the problem. Any help, please?

 

Hello. I'm using something like this ["{red, blue, green, orange, lime}".selectMany(3).joinItems(", ")]. It works well enough, but when I try to implement uniqueSelect or consumableList it fails. These function seem to only work for lists but is there any way to select items from a string like that without repetition. Thanks!

 

Using the text-to-image plugin I generate a bunch of [output]'s in the container. How do I access the tag that the output object creates, for example if I want to get the title to get nseed from it using java script, or there's an easier way to do that? I'm trying to make a button over the image to perfect that seed easier. Also, how do I access the button with id "heartBtn" that [output] creates?

view more: next ›