Kiến thức AI lột đồ (chạy offline chứ đéo phải web câu ref nhé)

trollz0r

Yếu sinh lý
Cái này chỉ áp dụng ảnh tĩnh, muốn làm clip chúng mày tự tìm model, workflows trên civitai nhé
Tao dùng 12400f, 2060 12G, 32G RAM 1 ảnh chạy mất khoảng 3 phút.

Yêu cầu:
Máy tính có GPU ít nhất 12GB VRAM

Tải những thứ sau:
Comfyui portable: https://github.com/comfyanonymous/C...t/download/ComfyUI_windows_portable_nvidia.7z

Model:
Cho vào trong folder ComfyUI_windows_portable\ComfyUI\models\diffusion_models

CLIP:
Cho vào trong folder ComfyUI_windows_portable\ComfyUI\models\text_encoders

vae:
Cho vào trong folder ComfyUI_windows_portable\ComfyUI\models\vae



Custom node:




https://github.com/ltdrdata/ComfyUI-Inspire-Pack
Cho vào trong folder ComfyUI_windows_portable\ComfyUI\custom_nodes
(một số custom node sẽ yêu cầu cài đặt phần bổ trợ bằng câu lệnh Python, đọc hướng dẫn trong trang Github để biết thêm chi tiết)


Workflow:
tải về xong kéo thả vào cửa sổ Comfyui

Lora tìm trên civitai.red (yêu cầu đăng nhập để có model nsfw)

Bắt đầu:
1- Giải nén file Comfyui Portable đã tải về ở bước 1
2- Copy các model vào các folder tương ứng
3- Chạy run_nvidia_gpu.bat
4- Kéo thả file Workflow vào cửa sổ Comfyui
5- Tải ảnh vào node Load Image, viết prompt vào CLIP Text Encoder, thêm LORA nếu muốn, bấm RUN và chờ ma thuật xuất hiện.
1782588413931.png

1782588375537.jpeg
 
Bên trên
X
viber-icon
X
telegram-icon
Tắt Quảng Cáo