https://arca.live/b/aiart/60182179 에서 공유해준 프롬포트 설정이 있는데
prompt
Negative prompt: nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
Steps: 28, Sampler: Euler a, CFG scale: 11, Size: 512x768
이걸 매번 붙여넣기 힘드니 이걸 기본설정 값으로 넣어보겠음
stable-diffusion-webui 폴더에 가면ui.config.json 파일이 있음
메모장이나 Visual Studio Code로 열어보면 아래와 같이 적혀있는데
txt2img / Negative prompt / value
txt2img : txt2img 모드에서
Negative prompt : 부정 프롬포트
value : 값에 넣는다는 뜻임
nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
위 값을 txt2img/Negaive prompt/value 뒤에 있는 "" 사이에 넣어주면 부정 프롬포트 설정이 완료된다
Steps: 28 값은 txt2img/sampling Steps/value다 뒤에 숫자를 28로 수정해주자
난 그냥 귀찮아서 30으로 세팅함
Sampler: Euler a
뒤에 값 바꿔주면 된다
이건 Euler a가 기본설정이었던 걸로 기억함
CFG scale: 11
마찬가지로 11.0으로 수정하자
마지막으로 Size: 512x768 인데
가로 세로 세팅이 따로 나누어져 있다
txt2img/Width/value 값이 가로 수치
txt2img/Height/value 값이 세로 수치이다
512x768이 맘에 안들면 다른 값으로 적어줘도 됨
여기까지 txt2img는 수정이 끝났고
img2img 설정도 수정해줘야 함
저런식으로 맨 앞이 txt2img에서 img2img로 바뀐 내용들이 아래쪽에 쭉 이어지는데
위에 사진들에서 txt2img만 img2img로 바꿔서 찾으면 됨
img2img/Negaive prompt/value
img2img/sampling Steps/value
등등
그리고 켜져있던 cmd 종료하고 webui-user.bat 재실행 하면 방금 수정한 값으로 초기값 설정이 되어있음