생성형
2024.03.30 23:53
Stable Diffusion webui Forge 설치하기
조회 수 2664 추천 수 0
| 원본링크 | https://youtu.be/-JKSSOmwSFw?si=k5aBDCKBDWjcKAMX |
|---|
Stable Diffusion webui 강화버전 Forge 설치하기
가. 처음설치하기( 파이썬/Git 설치 후 Git 명령용)
- 파이썬을 설치합니다.
1️⃣ Python 3.10.6 다운로드 후 설치
- Windows Installer (64-bit) 를 다운로드하여 설치
- 설치 대화상자에서 ☑ Add python.exe to PATH 를 반드시 체크하고 진행
2️⃣ git 다운로드 하여 설치
- 64-bit Git for Windows Setup
- Git 명령으로 Forge 설치
- 설치하고자 하는 폴더로 이동
예시) D:\Stable-Diffusion\stable-diffusion-webui 와 같이 설치하고자 하는 경우
D:\Stable-Diffusion 폴더에서 명령 수행
▶명령프롬프트 실행(CMD)
> CD d:\Stable-Diffusion
Stable-Diffusion> git clone https://github.com/lllyasviel/stable-diffusion-webui-forge
...
파일탐색기에서> D:\Stable-Diffusion\stable-diffusion-webui\webui-user.bat 실행하여 설치 마무리
나. 포터블 설치하기
- https://github.com/lllyasviel/stable-diffusion-webui-forge?tab=readme-ov-file 에서 아래와 같이 생긴 링크를 클릭하여 포터블 프로그램을 다운로드합니다.
>>> Click Here to Download One-Click Package<<<
- 다운로드한 7-zip 압축파일의 압축을 풀어줍니다.
- 압축해제한 프로그램을 원하는 폴더로 이동합니다.
예시) D:\Stable-Diffusion\stable-diffusion-webui-Forge
- D:\Stable-Diffusion\stable-diffusion-webui-Forge\update.bat 를 실행하여 설치를 마무리
- run.bat 로 실행
다. 용량 절약을 위하여 다른 WebUI의 모델 등을 공유하는 방법
🍸예시) D:\Stable-Diffusion 폴더에 있는 Automatic1111 버전의 체크포인트 등 모델을 Forge에서 공유해 사용하기
- Forge 설치폴더\webui\webui-user.bat 파일을 텍스트편집기로 편집하기
- @REM 으로 주석처리된 부분의 각 경로를 Stable-Diffusion의 각 경로로 변경하고 주석을 해제하여 저장합니다.
[변경전]@echo off set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= @REM Uncomment following code to reference an existing A1111 checkout. @REM set A1111_HOME=Your A1111 checkout dir @REM @REM set VENV_DIR=%A1111_HOME%/venv @REM set COMMANDLINE_ARGS=%COMMANDLINE_ARGS% ^ @REM --ckpt-dir %A1111_HOME%/models/Stable-diffusion ^ @REM --hypernetwork-dir %A1111_HOME%/models/hypernetworks ^ @REM --embeddings-dir %A1111_HOME%/embeddings ^ @REM --lora-dir %A1111_HOME%/models/Lora call webui.bat
[변경후]@echo off set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= @REM Uncomment following code to reference an existing A1111 checkout. set A1111_HOME=D:/Stable-Diffusion/webui @REM @REM set VENV_DIR=%A1111_HOME%/venv set COMMANDLINE_ARGS=%COMMANDLINE_ARGS% ^ --ckpt-dir %A1111_HOME%/models/Stable-diffusion ^ --hypernetwork-dir %A1111_HOME%/models/hypernetworks ^ --embeddings-dir %A1111_HOME%/embeddings ^ --lora-dir %A1111_HOME%/models/Lora ^ --vae-dir %A1111_HOME%/models/VAE call webui.bat
9번줄 : model을 가지고 있는 StableDiffusion 의 Webui 경로 지정, 윈도우 경로명 \ 를 / 로 수정하여 등록
17번줄 : VAE 경로지정을 위해 추가
-
└
-
└
[심볼릭링크로 ControlNet 공유(재활용) 하기]
※ 예시) D:\Stable-Diffusion\webui\models\ControlNet 를 D:\Stable-Diffusion-Forge\webui\models\ControlNet 에서 사용하고자 하는 경우
1️⃣ Stable-Diffusion-Forge 설치폴더\webui\models\ControlNet 폴더를 삭제함(현재 비어 있음)
2️⃣ Stable-Diffusion-Forge 설치폴더\webui\models 에서 명령프롬프트 실행(CMD - 관리자권한으로 실행)
3️⃣ > mklink /D ControlNet D:\Stable-Diffusion\webui\models\ControlNet
-
06Apr 202400:06Read More
파도치는 바닷가 작은 마을
바닷가의 작은 마을을 그려달랬더니 과하게 파도가 치고 있네. 용감한 뱃사람들이 사는 마을인듯. 파도치는데 배를 띄웠어. -
04Apr 202422:07Read More
유리꽃 - ZavyChromaXL, l_more_art-full, Midjourney mimic
ZavyChromaXL xl_more_art-full / xl_real / Enhancer Midjourney mimic
-
04Apr 202421:09Read More
glowing crystals in the cave
glowing crystals in the cave -
03Apr 202422:55Read More
프롬프트 분류
https://arca.live/w/aiart/%ED%94%84%EB%A1%AC%ED%94%84%ED%8A%B8%20%ED%83%9C%EA%B7%B8%20%EC%A0%95%EB%B3%B4 스프레드시트로 정리해 봤다 (주의 - 음란단어가 포함되므로 미성년자 및 심약한 사람은 열람 금지) -
03Apr 202412:40Read More
Juggernaut XL 을 이용한 곤충 그리기
곤충을 그려볼 수 있겠습니다. 이렇게 자연을 배경으로 어우러지는 인물이나, 자연풍경을 만들어 낼 수 있도 있습니다. Prompt> A sad man standing in front of a burnt down home in a forest, stunning details, 8k Negative> CGI, Unreal, Airbrushed, Dig... -
03Apr 202400:10Read More
The Line Flower
-
02Apr 202423:57Read More
City alley scenery in bloom
-
02Apr 202412:52Read More
gmic icon_bptbv icon 아이콘 만들기
아이콘을 만들어 줍니다. Trigger Words > 93icon\(93ic1\) -
02Apr 202412:41Read More
Roman Interior 로마풍 인테리어를 생성
로마풍 건물 내부를 묘사합니다. Realistic Fantasy Roman Interior -
02Apr 202412:34Read More
Traditional slider | pony xl, 욕하는 고양이 만들어 보기
손가락으로 욕하는 고양이를 만들수 있습니다. Lora Chi Yamada | Chi's Sweet Home | [Pony XL] 와 Traditional slider | pony xl 을 같이 적용합니다. -
02Apr 202412:15Read More
The Line, 손그림
펜으로 그림을 그린듯 선으로 표현된 이미지를 그려줍니다. -
02Apr 202409:30Read More
TMND-Mix, 예쁜 애니메이션풍 배경 생성
애니메이션 풍의 예쁜 배경을 넣어줍니다. -
01Apr 202423:16Read More
epicrealismXL_v5Ultimate + jeannyxl
-
01Apr 202422:37Read More
epiCRealism XL + Jennie Blackpink SDXL 1.0 블랙핑크 제니 구현
epiCRealism XL Jennie Blackpink SDXL 1.0 블랙핑크 제니를 닮은 모습을 만들어 줍니다. -
01Apr 202400:15Read More
Copax TimeLessXL - SDXL1.0
A street portrait of a musician playing in an urban setting, focusing on the expression of passion and the energy of the performance, with the city's hustle and bustle fading into the background. Negative prompt: (worst quality, low quality,... -
31Mar 202419:22Read More
[PVC Style Model]Movable figure model XL
surreal, amazing quality, masterpiece, best quality, awesome, inspiring, cinematic composition, soft shadows, Film grain, shallow depth of field, highly detailed, high budget, cinemascope, epic, OverallDetail, color graded cinematic, atmosph... -
31Mar 202410:30Read More
MomoiroPony
score_9, score_8_up, score_7_up, source_anime, 1girl, pink hair, ponytail, blue eyes, on bed, on stomach, pillow, face focus Negative prompt: deformed anatomy, deformed fingers, realistic, source_furry, censored, @_@, heart-shaped pupils, ab... -
31Mar 202410:27Read More
ZavyChromaXL
hyperrealistic shot of a (ghostly ectoplasm:1.5), foggy, evening, light bloom, translucent, ectoplasm, masterpiece, best quality, dreamy, magnificent, ethereal, volumetric lighting, lightroom, ((cinematic)), raytracing, subsurface scattering... -
31Mar 202410:10Read More
majicMIX realistic
1girl,sweater,white background, Negative prompt: (worst quality:2),(low quality:2),(normal quality:2),lowres,watermark, Steps: 20, VAE: vae-ft-mse-840000-ema-pruned.safetensors, Size: 512x768, Seed: 3882543293, Model: majicmix7, Version: v1....
-
30Mar 202423:53Read More
Stable Diffusion webui Forge 설치하기
Stable Diffusion webui 강화버전 Forge 설치하기 가. 처음설치하기( 파이썬/Git 설치 후 Git 명령용) 파이썬을 설치합니다. 1️⃣ Python 3.10.6 다운로드 후 설치 - Windows Installer (64-bit) 를 다운로드하여 설치 - 설치 대화상자에서 ☑ Add python.exe to...
[dark 모드 강제 실행 방법]
D:\Stable-Diffusion-forge\webui\webui-user.bat 파일의
setCOMMANDLINE_ARGS=%COMMANDLINE_ARGS%^ 부분에 --theme dark ^ 추가