Hi, I’m very new to this so my apologies if this turns out to be somethng trivial. Basicaly what the title says. I tried to use lists in ‘t2i-styles’ generator and it seems that basicaly every time I reference them with [ ] it doesn’t work. I checked suggested causes but they don’t seem to fit, but ofcourse it might be the case that I just don’t properly understand it since, again, I’m new at this. So I turn for help here.

Here is the entire promp I used:

https://perchance.org/ai-text-to-image-generator#data=uup1:99b8a31afbea919b43bbf9bd77a902c4.gz

P.S. Also is there some way to make certain list combinations exclusive to each other? Example if I make list of backgrounds and list of accesories and I put sunglases into accesory list and beach into background. Can I make it so that sunglases are used only with the beach background? P.S.S. And can I make the AI ingore certain parts of the text temporarly so I don’t have to erase them? I’m planing to expand the promp quite a lot and it would be much les bothersome that to always having to erase and then copy it back as it was. (Sorry for the extra questions, just figured it will be quicker to ask it all in one post.)

Thank you for help.

  • AdComfortable1514@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    I’ve implemented that kind of system in my generator: https://perchance.org/fusion-ai-image-generator

    I invoke it by letting the user write , for example ,

    “photo of a #adjective# #name#”

    and then prior before sending the prompt to the generator I run

    “photo of a #adjective# #name#”.replaceText(“#adjective#”, adjectives.selectOne).replaceText(“#names#”, name.selectOne)

    to get the randomized string

    //----//

    In Stable Diffusion the “prompt” is not an “instruction” as in ai-chat.

    The Stable Diffusion model never refers to the prompt when generating the image.

    Instead, it converts the string to numbers and runs them through layers and layers of matrices.

    Like a ball tumbling down aling the pins in a pachinko machine.

    SD Prompting is very “psuedo-science” since nobody really knows what this kind of grid can and can’t do with the “ball” you throw into it.

    Since I’m building a randomizer around this , I’ve covered a lot of topics on this in the fusion discord: https://discord.gg/dbkbhf8H2E

    //—//

    Also;

    NSFW topics are better asked at https://lemmy.world/c/casual_perchance.

    Questions asked at this forum are better if written in a SFW context.

  • wthit56@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    I don’t think you can uses regular lists like that. You can do things like:

    NAME={Bob|Dave|Sarah|Gertrude}
    

    …in the scratchpad. That is parsed and anything with CAPITALS and numbers only, then an equals, will be turned into something you can [reference].