Sampling Step
: 이미지를 향상시키기 위해 샘플링을 몇 번 작동시킬건지 설정하는 탭.
: 수치를 낮게 할수록 속도는 빨라지지만 퀄리티가 떨어질 수 있고, 숫자를 올리면 속도는 느리지만 반대로 퀄리티가 올라간다.
: 숫자를 너무 올리면 이미지가 오히려 망가질수 있다.
Batch Count : 제작할 이미지 갯수를 조절
Batch Size : 한장에 몇개의 이미지를 넣을 것인지 조절
CFG Scale : Prompt 를 얼마나 충실히 적용할 것인지 조절하는 것.
Seed : 하나의 이미지는 고유의 Seed 값을 가진다. 지문과도 같다.
'-1 '를 입력하면 시드를 랜덤하게 만들어준다.
Lora (Low Rank Adaptation)
: CheckPoint(메인 모델)에 변화를 줄 수 있는 보조 모델
: 드림부스를 기반으로 학습된 파일
: 보조 모델이지만 전체 이미지에 큰 영향력을 끼친다.
: 작은 용량, 낮은 GPU 성능 요구
: 동시에 여러 Lora를 적용할 수 있고, 강약 조절도 가능하다.
Embedding
: Texture Inversion
: 메인 모델을 건드리지 않고, 추가적인 효과를 준다.
: 동시에 여러 Embedding 을 적용할 수 있다.
: 다양한 모델에 적용 가능하다.
: 용량이 매우 작다.
: 효과가 적게 나타날 수 있다.
Hyper Network
: Lora 와 Embedding 중간 정도의 영향력을 행사한다.
Vae
: 최종적인 이미지를 조금 다듬어주는 역할을 한다.
설치 방법
Civitai / Model 페이지에 접속한다.
https://civitai.com/models
Filter를 누르면 필요한 모델 타입을 체크하여 골라볼 수 있다.
다운 받은 파일들은 각각 해당하는 폴더에 넣으면 된다.
Lora를 적용하는 방법과 구문 순서는 아래와 같다.
<> 사이에 작성해야 하며, 강도는 0~1까지 원하는 만큼 지정해준다.
0 : 전혀 적용하지 않는다.
1: 완전히 적용한다.
<lora:사용할 로라:강도>
<lora:koreanDollLikeness_v10:0.2>
chilloumix 모델에 아무런 lora를 적용하지 않은 결과물입니다.
positive (RAW photo, best quality,high quality,highres), (realistic, photo-realistic), ultra-detailed,(front lighting), closed up portrait photo,physically-based rendering, 1girl,20 years old,(stand,pose,front full body),(highly detailed skin:1.3),laughing out loudly,head tilt, very very long longest hoodie,detailed hoodie,bare legs,hands in hoodie pocket, detailed eyes,air bangs, |
Negative text, animal ears, child, childish, large breasts, large boobs, text, logo, ((big hands, un-detailed skin, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime)), ((ugly mouth, ugly eyes, missing teeth, crooked teeth, close up, cropped, out of frame)), worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck,(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, artist name, giantess, odd eyes, long fingers, long neck, handrail,paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, bad eyes, asymmetric eyes, double nipples, , panty, |
![]() |
여기에 lora 두개를 추가해본다.
<lora:chilloutmixss_xss10:0.7>,
<lora:koreanDollLikeness_v10:0.2>
Positive <lora:chilloutmixss_xss10:0.7>, <lora:koreanDollLikeness_v10:0.2>, (RAW photo, best quality,high quality,highres), (realistic, photo-realistic), ultra-detailed,(front lighting), closed up portrait photo,physically-based rendering, 1girl,20 years old,(stand,pose,front full body),(highly detailed skin:1.3),laughing out loudly,head tilt, very very long longest hoodie,detailed hoodie,bare legs,hands in hoodie pocket, detailed eyes,air bangs, |
Negative text, animal ears, child, childish, large breasts, large boobs, text, logo, ((big hands, un-detailed skin, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime)), ((ugly mouth, ugly eyes, missing teeth, crooked teeth, close up, cropped, out of frame)), worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck,(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, artist name, giantess, odd eyes, long fingers, long neck, handrail,paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, bad eyes, asymmetric eyes, double nipples, , panty, |
![]() |
lora를 추가함으로써 많은 것이 바뀌었습니다. 하지만 뭔가 어색하다. 그래서 negative Prompt 를 추가한다.
easynegative
ng_deepnegative_v1_75t
Positive <lora:chilloutmixss_xss10:0.7>, <lora:koreanDollLikeness_v10:0.2>, (RAW photo, best quality,high quality,highres), (realistic, photo-realistic), ultra-detailed,(front lighting), closed up portrait photo,physically-based rendering, 1girl,20 years old,(stand,pose,front full body),(highly detailed skin:1.3),laughing out loudly,head tilt, very very long longest hoodie,detailed hoodie,bare legs,hands in hoodie pocket, detailed eyes,air bangs, |
Negative easynegative, ng_deepnegative_v1_75t, text, animal ears, child, childish, large breasts, large boobs, text, logo, ((big hands, un-detailed skin, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime)), ((ugly mouth, ugly eyes, missing teeth, crooked teeth, close up, cropped, out of frame)), worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck,(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, artist name, giantess, odd eyes, long fingers, long neck, handrail,paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, bad eyes, asymmetric eyes, double nipples, , panty, |
![]() |
이목구비나 전체적인 이미지가 훨씬 자연스러워졌다.
이제 마지막으로 VAE 를 적용하여 이미지를 개선해보자.
애니 그림체 전용 VAE를 적용했더니 이상하게 나왔다.
실제 사람과 그림을 다르게 인식하는것 같다.
그래서 이번엔 실사 전용 VAE를 적용해보았다.
toneRangeCompressor_trcvae
제대로 나오는 것을 확인할 수 있다.
댓글