tl;dr - I want scratchpad variables input by users to work across multiple input boxes, can I do that?

Hey all, I was hoping someone might have already solved the puzzle I am working on. I am working on my T2I generator, and would like to split the positive prompt into multiple inputs. I can do this and make it work, but variables used in the Sratchpad will only work in the primary "description" input field. I assume this is hard-coded into the t2i plugin, but cant find a reference somewhere to how the scratchpad is coded. Any help is appreciated!

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 11 months ago (1 child)

Assuming the scratchpad has parseVariables = true, then I think you can just put useVariables = true on any input that you want to be able to use variables? You can Ctrl+F for that in https://perchance.org/ai-text-to-image-generator to see example usage.

  • source
  • hideshow 1 child comment