본문 바로가기
노코딩AI

애니 사진 생성을 위한 Stable Diffusion WebUI를 리눅스 우분투 PC에 설치하는 방법

by 노마드랩스 2023. 3. 5.
728x90
반응형

 

오늘은 리눅스 우분투 PC에 Stable Diffusion WebUI를 설치하는 방법에 대해 알아보겠습니다.

 

첫번째로, 터미널(cmd)을 열어주시구요

728x90

그리고 다음 명령어를 쳐줍니다.

sudo apt install wget git python3 python3-venv

- 이 명령어는 python3 버전으로 가상 환경을 만드는 작업입니다.

그럼 아래와 같은 화면이 뜰거에요

다 끝나셨으면 그 다음 명령어를 쳐줍니다.

 

R

Running on local URL: http://127.0.0.1:7860이 나오면 끝난겁니다.

 

기본 설정되어 있는 모델로 사용하면 아래와 같은 그림이 나옵니다.

Prompt

(extremely detailed CG unity 8k wallpaper:1.1), (1girl:1.05), (solo:1.05), masterpiece, best quality, high quality, (beautiful detailed hands:1.1), (beautiful-detailed eyes:1.1), ultra-detailed, (disheveled hair:1.1), brush paint, sketch, monochrome, looking_at_viewer, walking, (city:1.1), long hair)

 

Negative Prompt

(worst quality, low quality:1.3), (depth of field, blurry:1.2), (greyscale, monochrome:1.1), 3D face, nose, cropped, lowres, text, jpeg artifacts, signature, watermark, username, blurry, artist name, trademark, watermark, title, (tan, muscular, loli, petite, child, infant, toddlers, chibi, sd character:1.1), multiple view, Reference sheet, (more than one person in focus:1.05), bad anatomy, (more than two arm per body:1.5), (more than two leg per body:1.5), (more than five fingers on one hand:1.5), multi arms, multi legs, bad arm anatomy, bad leg anatomy, bad hand anatomy, bad finger anatomy, bad detailed background, unclear architectural outline, non-linear background, elf-ears, hair crosses the screen border, obesity, fat, lowres, worst quality, low quality, blurry, mutated hands and fingers, disfigured, fused, cloned, duplicate, low quality lowres, low quality lowres low polygon 3D game, low quality lowres monochrome sketch rough graffiti, low quality lowres very ugly fat obesity scar, low quality lowres chibi, low quality lowres poorly drawn bad anatomy, low quality lowres graffiti unbecoming colorfully, low quality lowres incoherent background, low quality lowres long body, low quality lowres duplicate comparison, low quality lowres pedophile, low quality lowres sketch retro_artstyle doujinshi, low quality lowres sketch, low quality lowres text font ui error missing digit blurry, low quality lowres JPEG artifacts signature hazy bleary, low quality lowres monochrome parody meme, low quality lowres historical picture, low quality lowres disfigured mutated malformed twisted human body, low quality lowres futanari tranny, low quality lowres tentacle skeleton, low quality lowres vomit suicide death dirty

 

아래는 추천 설정 값입니다.

  • Sampling Method는 Euler a / Euler / DDIM 중 하나를 추천
  • Sampling Steps를 28~60으로 설정
  • Width, Height 값은 각각 512, 768 추천
  • CFG Scale 값은 11~12로 설정

https://huggingface.co/WarriorMama777/OrangeMixs/tree/main/Models/AbyssOrangeMix3

 

WarriorMama777/OrangeMixs at main

 

huggingface.co

위 모델을 다운 받으시면 아래와 같은 사진을 뽑으실 수 있습니다.

 

오늘도 고생 많으셨습니다.

2023.04.03 - [노코딩AI/Stable Diffusion] - 스테이블 디퓨전 Web UI Colab으로 5분 안에 설치하는 방법

 

스테이블 디퓨전 Web UI Colab으로 5분 안에 설치하는 방법

GPU 없는 노트북으로 WebUI를 구현하는 방법에 대해 알려드리겠습니다. 구글에 Automatic1111이라고 검색하면 스테이블 디퓨전 Web UI가 나옵니다. 접속하시면 아래와 같은 화면이 나오실 건데요. Install

nomadlabs.tistory.com

 

728x90
반응형

댓글