https://huggingface.co/Lucetepolis/OctaFuzz/resolve/main/Misc/wildcards.zip


dynamic prompts를 어디까지 뽑아먹을 수 있을지 실험해봤음


위 그림들 뽑을때 사용한 태그는 다음과 같음:

masterpiece, best quality, {9::__humans__, {0.2::nsfw{0.2::, __nsfw__|}{0.2::, __nsfw__|}{0.2::, __nsfw__|}{0.2::, __nsfw__|}{0.2::, __nsfw__|}, |}{__age1__ |}__age2__, {__skin__, |}__breasts__, {__body__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.2::__ears__, |}{0.1::__animalears__, |}{0.1::__tail__, {0.1::__tail2__, |}|}{0.1::__furry__, |}{0.1::__species__, |}{__bangs__, |}__hairlength__ __hairstyle__, {9::__color__ colored hair|__haircolor__}, {0.2::__hairstyle2__, |}{0.2::__hairstyle2__, |}{0.2::__hairstyle2__, |}{9::__color__ colored eyes|__eyecolor__}, {0.2::__costume__, |}{__tops__, |}{__tops__, |}{__bottoms__, |}{__underwear__, |}{__underwear__, |}{__shoes__, |}{0.1::__accear__, |}{0.1::__accear__, |}{0.1::__accface__, |}{0.1::__accface__, |}{0.1::__acchair__, |}{0.1::__acchair__, |}{0.1::__acchand__, |}{0.1::__acchand__, |}{0.1::__accneck__, |}{0.1::__accneck__, |}{0.1::__pierce__, |}{0.1::__pierce__, |}{0.1::__wings__, |}{0.1::__wings2__, |}{0.2::__action__, |}{0.2::__action__, |}{0.2::__posture__, |}{0.2::__posture__, |}{0.2::__posture2__, |}{0.2::__posture2__, |}{__focus__, |}{__sight__, |}{0.2::__jobs__|}|no humans}, {4::{0.2::__color__ colored |}__place__|__color__ colored background}{0.2::, __theme__|}


딱 인물 한명 나오는 간단한 태그는 이거:

masterpiece, best quality, solo, 1girl, {__age1__ |}__age2__, {__skin__, |}__breasts__, {__body__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.5::__body2__, |}{0.5::__body2__, |}{__bangs__, |}__hairlength__ __hairstyle__, {9::__color__ colored hair|__haircolor__}, {0.2::__hairstyle2__, |}{0.2::__hairstyle2__, |}{0.2::__hairstyle2__, |}{9::__color__ colored eyes|__eyecolor__}




대충 설명을 하면

사용된 태그 대부분은 다음과 같은 구조를 가짐


{가중치::__와일드카드__, |}


중괄호 안에 파이프라인 기호를 하나 넣고 바로 중괄호를 닫으면, 두 기호 사이에 '가중치가 1인 완전히 빈 프롬프트'가 하나 있는 걸로 인식됨

이를 이용해 앞에 있는 와일드카드에 적당한 가중치를 줘서 해당 와일드카드가 프롬프트에 추가될 확률을 조정할 수 있음

정확한 확률은 가중치 / (가중치 + 1)이고, 가중치가 9면 90%, 0.5면 33.33%, 0.2면 16.66% 등과 같이 계산할 수 있음


대충 nsfw 유무, 체형, 헤어, 눈동자, 복장, 악세서리, 포즈 및 행동, 배경 등이 랜덤으로 추가됨

+ 10% 확률로 인물 없는 배경짤 나옴




사용법:

1. dynamic prompts 확장 기능 설치

2. wildcards.zip 받고 압축풀어서 나온 txt 파일들을 Webui폴더\extensions\sd-dynamic-prompts\wildcards에 집어넣기

3. Webui의 Wildcards Manager 탭에 들어가서 Refresh wildcards 누르기

4. 프롬 복붙하고 돌리면 됨

5. 가중치는 원하는 대로 수정해서 쓰기




단점: 긴 쪽 프롬프트는 다른 태그가 너무 많아서 얼굴이 뭉개지는 경향이 있음

태그 오탈자랑 상충되는 태그들 검수 안해서 이상한거 튀어나올 수도 있음


대충 사고안난 짤들 뽑아서 i2i 돌리는데 써먹으면 괜찮을거같음




그건 그렇고 막짤 저거 딸기빙수냐? 존나 맛있어 보이네