이미지 생성 AI

이승훈·2026년 2월 26일

패키지 설치

sudo apt install -y git python3 python3-venv python3-pip

ComfyUI 설치

git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

모델 선정 기준

그래픽카드, 생성 결과물

모델 받기

huggingface

pip install -U "huggingface_hub>=0.20"
hf auth login

그 후 다운받는 방법은 모델마다 검색

ComfyUI 실행

cd ~/ComfyUI/
source venv/bin/active
python main.py

노드 구성

CheckpointLoaderSimple (sd_xl_base_1.0)
→ CLIP Text Encode (positive)
→ CLIP Text Encode (negative)
→ KSampler
→ VAE Decode
→ Save Image

profile
안녕하세요!

0개의 댓글