hello people… I have a bit of a weird question. Say I have two dropdown lists named “Btype” and another named “Environment” Is there a way to implement the [Environment] input into a [Btype] input. I’m wondering if and how this can be achieved. I tried the following, yet it doesn’t work:

Btype label = building type type = select options Default = , House = Generate a house with garden in the style of [input.Environment], House with 2 floors and slanted roof,

All help is much appreciated, thanks.

  • VioneT@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    It seems to me you are accessing the other inputs with :? It should be [input.Lighting] not [input:Lighting] if you have an input with:

    Lighting
      label = Lighting
      type = select
      options 
        ...
    

    Also, you can have the lists in the prompt like so:

    Line-Art style
      prompt
        [input.description], (line drawing:1.8), (no gradients:1.8), clean lines, no color, black and white, visible hatching, high contrast, high resolution, high detail, intricate details, 4k, wallpaper, concept art, pen on paper, [input.Lighting != ""] ^[input.Lighting]
        [input.description], (line drawing:1.8), (no gradients:1.8), clean lines, no color, black and white, visible hatching, high contrast, high resolution, high detail, intricate details, 4k, wallpaper, concept art, pen on paper,  ^[input.Lighting == ""]
      negative = [input.negative], low-quality, deformed, text, poorly drawn, 3D, color, gradients, greyscale, shading
    

    So that you can use Dynamic Odds in selecting which prompt to use if input.Lighting was added/selected.

    You could also link the generator so we can directly see any problems.