Hey all, new to this and pretty amazed at the quaity of the text to photos I’m getting. Working to create players on a baseball team. What is way to add grass stains or dirt from sliding to a uniform?Only a little dust shows up no matter what I prompt, and usually there’s nothing. Doesn’t seem to want to put a stain on white pants, lol. Any ideas? thx

  • alloM
    link
    English
    26 months ago

    just started trying like 2 minutes ago but seems highly doable.

    prompt = (((grass-stained pants))), ((dirt stains)), (baseball player)

    things in () are focused more, and things that occur earlier in prompts are what ‘are first created’ or something like that (i have no actual idea the real terminology but it effectively is true).

    So that prompt makes it first do grass stained pants with high focus, then some dirt stains, then the baseball player aspects less.

    I often, when i really want something in my picture, just put it first and wrap () around it more than everything else. Then work backwards and reduce the () or place it somewhere beside first gradually until where it should be.

    • @AdComfortable1514M
      link
      English
      2
      edit-2
      6 months ago

      Respect. Your theory is 100% correct , OP.

      Parenthesis increse weight by 10% , so (example) is equivalent to writing (example:1.1) , ((example)) is equivalent to (example:1.21) etc.

      I haven’t checked but I have always assumed weight is the increase/decrease in the cost function to the SD optimization problem.

      You know least-square minimization from math? Where you draw a straight line that is as close to a number of (x,y) points on a graph? It’s kind-of like that.

      (Except the line isn’t straight , and the graph has 768 dimensions instead if 2. And it’s not done one time but between every sampling step , which depending on the settings is around 20-30 times , usually. )

      Weight () in the prompt rewards proximity to a given (x,y) coordinate “more” than the other points, tilting the straight line towards that point. Thats kind of how it works.

      Consider this rule:

      “Stable diffusion reads your token from left to right , one token at a time , finding association between the current token and the next token”

      Then read the sequence “grass stained pants dirt stains baseball player” one word at a time from left to right.

      Do you see the good vs. bad “left to right pairings” in that sequence :) ?

    • alloM
      link
      English
      16 months ago

      aka put the dirtstains or grass stains part first with (), get it so it is reliably generating that way, then work from there

      • alloM
        link
        English
        16 months ago

        woah nelly look at these guys. dirt central

        prompt was: ((((dirt stains)))), (((grass-stained pants))), (baseball player), handsome face, high quality, masterpiece, action scene, HDR, High Resolution, 8k