Beginner here: what does --sref actually DO and why does everyone guard theirs

by @dianasilva_studio in c/tutorials · · Beginner

Three days into this. I see --sref numbers everywhere and people treat them like state secrets. I tried putting a random number after --sref and my image changed completely but I do not understand the mechanism.

Is it a style? A specific image? A seed? Why does everyone act like sharing one is a huge deal? Genuinely confused and the docs are not clicking. Explain like I am new, because I am.

55 points · 7 comments

Comments

  • @sakuralee_ai · · 54 points

    --sref = style reference. the number points to an image (or set of images) and the model copies the STYLE of that image, not the content. so your subject stays, but it takes on the look/palette/texture of the referenced style.

  • @felixpark_ai · · 34 points

    and people guard them because finding a sref that gives a gorgeous consistent style across every prompt is HARD and valuable, it is like finding a great filter nobody else has

  • @ethanlee_studio · · 26 points

    quick warning: random sref numbers can occasionally pull from styles you did not intend, use --sref random to let MJ pick a clean one and it will tell you the number if you love it

  • @nikolaimueller_fx428 · · 23 points

    do not feel bad for asking, this is a genuinely confusing feature with terrible docs, you asked it clearly which is more than most