AI 창작그림 게시판 | 구독자 243명 |

(번거로움 주의) 작업과정 가이드

우선, 기본적으로 포토샵 또는 이미지 편집 툴을 사용하실 줄 안다는 걸 깔고 작성하며, 제가 작업하는 방식이 정답이 아니기에 틀린 부분이 있을 수도 있어, 이 점 양해부탁드립니다.


사용 툴 : 오토매틱좌 webUI


사용 모델 :

abyssorangemix v2 hard + basilmix 0.8:0.2 믹스 모델

abyssorangemix v2 nsfw + basilmix 0.7:0.3 믹스 모델


사용 임베딩 : 

https://civitai.com/models/4629/deep-negative-v1x

손 보정 네거티브로 유명한 bad_prompt와 유사하지만, 손을 포함한 전신의 망한 이미지를 훈련시켜 인체 삐꾸가 나는 것도 어느정도 방지해주는 임베딩입니다. 전 웨이트를 1.0으로 줘서 사용하지만, 애니체를 주로 사용하시는 경우 그림체가 달라질 수 있어 실험해보시면서 강조치를 조절하시는 것을 추천드립니다.


필요 extension :

ABG_extension


img/23/01/30/18601aa81f611ac1e.png

뒷 배경을 날려주는 익스텐션입니다. 웹UI의 익스텐션 탭에서 available -> load from 클릭 후 위 익스텐션 이름으로 검색하셔서 설치하시고, 가급적이면 웹UI를 재시작하시는 것을 권장드립니다.



1. 기본 txt2txt를 통한 이미지 생성


사용 모델

abyssorangemix v2 hard + basilmix 0.8:0.2 믹스 모델


사용 프롬프트

masterpiece, (best quality:1.1), (extremely fine and beautiful:1.1), (best illumination), (semi_realistic), (illustration:1.1), (business office background:1.5), (1 beautiful lady:1.2), (solo:1.4), (white see-through blouse ornated with lace embroidery tucked in tight black miniskirt:1.5), view from front, (full body), (sit on office chair:1.5), (legs crossed:1.2), FEMININE, (beautiful face), adult, (pale white skin:1.2), (large breast:1.0), cleavage, (slender), wide hips, (detailed beautiful eyeliner eyeshadow mascara:0.8), (by Joao Ruas), by John William Waterhouse, [by Gil Elvgren], (long black hair:1.3), looking at viewer, smile, (cinematic lightings:1.5), (soft volumetric lighting:1.2), best ratio four finger and one thumb


부정 프롬프트

(제 경우 반실사체는 부정프롬이 많이 들어가야 디테일이 살아나서 이렇게 사용하지만, 애니체의 경우 짤막하게 적어도 문제 없습니다. 

(3d:1.3), anime, (loli:1.6), (teenage:1.5), nsfw, (((more than one girl))) , (worst quality:1.4), (low quality:1.4), (trembling:1.4), (cropped face:1.4), watermark

이정도도 충분합니다)


(NG_DeepNegative_V1_75T:1.0), (3d:1.3), nsfw, blurry, (loli:1.5), (teenage:1.2), (blush), 2girls, 3girls, multiple views, (mechanical hands), bad face, bad anatomy, bad proportions, bad perspective, multiple views, concept art, reference sheet, mutated hands and fingers, interlocked fingers, twisted fingers, excessively bent fingers, more than five fingers, lowres, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, low quality lowres multiple breasts, low quality lowres mutated hands and fingers, more than two arms, more than two hands, more than two legs, more than two feet, low quality lowres long body, low quality lowres mutation poorly drawn, low quality lowres black-white, low quality lowres bad anatomy, low quality lowres liquid body, low quality lowres liquid tongue, low quality lowres disfigured, low quality lowres malformed, low quality lowres mutated, low quality lowres anatomical nonsense, low quality lowres text font ui, low quality lowres error, low quality lowres malformed hands, low quality lowres long neck, low quality lowres blurred, low quality lowres lowers, low quality lowres low res, low quality lowres bad proportions, low quality lowres bad shadow, low quality lowres uncoordinated body, low quality lowres unnatural body, low quality lowres fused breasts, low quality lowres bad breasts, low quality lowres huge breasts, low quality lowres poorly drawn breasts, low quality lowres extra breasts, low quality lowres liquid breasts, low quality lowres heavy breasts, low quality lowres missing breasts, low quality lowres huge haunch, low quality lowres huge thighs, low quality lowres huge calf, low quality lowres bad hands, low quality lowres fused hand, low quality lowres missing hand, low quality lowres disappearing arms, low quality lowres disappearing thigh, low quality lowres disappearing calf, low quality lowres disappearing legs, low quality lowres fused ears, low quality lowres bad ears, low quality lowres poorly drawn ears, low quality lowres extra ears, low quality lowres liquid ears, low quality lowres heavy ears, low quality lowres missing ears, low quality lowres fused animal ears, low quality lowres bad animal ears, low quality lowres poorly drawn animal ears, low quality lowres extra animal ears, low quality lowres liquid animal ears, low quality lowres heavy animal ears, low quality lowres missing animal ears, low quality lowres text, low quality lowres ui, low quality lowres missing fingers, low quality lowres missing limb, low quality lowres fused fingers, low quality lowres one hand with more than 5 fingers, low quality lowres one hand with less than 5 fingers, low quality lowres one hand with more than 5 digit, low quality lowres one hand with less than 5 digit, low quality lowres extra digit, low quality lowres fewer digits, low quality lowres fused digit, low quality lowres missing digit, low quality lowres bad digit, low quality lowres liquid digit, low quality lowres colorful tongue, low quality lowres black tongue, low quality lowres cropped, low quality lowres watermark, low quality lowres username, low quality lowres blurry, low quality lowres JPEG artifacts, low quality lowres signature, low quality lowres 3D, low quality lowres 3D game, low quality lowres 3D game scene, low quality lowres 3D character, low quality lowres malformed feet, low quality lowres extra feet, low quality lowres bad feet, low quality lowres poorly drawn feet, low quality lowres fused feet, low quality lowres missing feet, low quality lowres extra shoes, low quality lowres bad shoes, low quality lowres fused shoes, low quality lowres more than two shoes, low quality lowres poorly drawn shoes, low quality lowres bad gloves, low quality lowres poorly drawn gloves, low quality lowres fused gloves, low quality lowres bad cum, low quality lowres poorly drawn cum, low quality lowres fused cum, low quality lowres bad hairs, low quality lowres poorly drawn hairs, low quality lowres fused hairs, low quality lowres big muscles, low quality lowres ugly, low quality lowres bad face, low quality lowres fused face, low quality lowres poorly drawn face, low quality lowres cloned face, low quality lowres big face, low quality lowres long face, low quality lowres bad eyes, low quality lowres fused eyes poorly drawn eyes, low quality lowres extra eyes, low quality lowres malformed limbs, low quality lowres more than 2 nipples, low quality lowres missing nipples, low quality lowres different nipples, low quality lowres fused nipples, low quality lowres bad nipples, low quality lowres poorly drawn nipples, low quality lowres black nipples, low quality lowres colorful nipples, low quality lowres gross proportions, short arm, low quality lowres missing arms, low quality lowres missing thighs, low quality lowres missing calf, low quality lowres mutation, low quality lowres duplicate, low quality lowres morbid, low quality lowres mutilated, low quality lowres poorly drawn hands, low quality lowres more than 1 left hand, low quality lowres more than 1 right hand, low quality lowres deformed, low quality lowres extra arms, low quality lowres extra thighs, low quality lowres more than 2 thighs, low quality lowres extra calf, low quality lowres fused calf, low quality lowres extra legs, low quality lowres bad knee, low quality lowres extra knee, low quality lowres more than 2 legs, low quality lowres bad tails, low quality lowres bad mouth, low quality lowres fused mouth, low quality lowres poorly drawn mouth, low quality lowres bad tongue, low quality lowres tongue within mouth, low quality lowres too long tongue, low quality lowres big mouth, low quality lowres cracked mouth, low quality lowres dirty face, low quality lowres dirty teeth, low quality lowres dirty pantie, low quality lowres fused pantie, low quality lowres poorly drawn pantie, low quality lowres fused cloth, low quality lowres poorly drawn cloth, low quality lowres bad pantie, low quality lowres yellow teeth, low quality lowres thick lips, low quality lowres bad asshole, low quality lowres poorly drawn asshole, low quality lowres fused asshole, low quality lowres missing asshole, low quality lowres bad anus, low quality lowres bad pussy, low quality lowres bad crotch, low quality lowres bad crotch seam, low quality lowres fused anus, low quality lowres fused pussy, low quality lowres fused crotch, low quality lowres poorly drawn crotch, low quality lowres fused seam, low quality lowres poorly drawn anus, low quality lowres poorly drawn pussy, low quality lowres poorly drawn crotch seam, low quality lowres bad thigh gap, low quality lowres missing thigh gap, low quality lowres fused thigh gap, low quality lowres liquid thigh gap, low quality lowres poorly drawn thigh gap, low quality lowres bad collarbone, low quality lowres fused collarbone, low quality lowres missing collarbone, low quality lowres liquid collarbone, low quality lowres strong girl, low quality lowres obesity, low quality lowres worst quality, low quality lowres low quality, low quality lowres normal quality, low quality lowres liquid tentacles, low quality lowres bad tentacles, low quality lowres poorly drawn tentacles, low quality lowres split tentacles, low quality lowres fused tentacles, low quality lowres missing clit, low quality lowres bad clit, low quality lowres fused clit, low quality lowres colorful clit, low quality lowres black clit, low quality lowres liquid clit, low quality lowres QR code, low quality lowres bar code, low quality lowres censored, low quality lowres safety panties, low quality lowres safety knickers, low quality lowres beard, low quality lowres furry, pony, low quality lowres pubic hair, low quality lowres mosaic, low quality lowres excrement, low quality lowres shit, low quality lowres futa, low quality lowres testis, low quality lowres lowres, low quality lowres terrible, low quality lowres dirty, low quality lowres feces, low quality lowres organs, low quality lowres fat, low quality lowres thick thighs, low quality lowres low resolution rough, low quality lowres pedophile, low quality lowres bestiality, low quality lowres parody, low quality lowres traditional media, low quality lowres koma, low quality lowres comic, low quality lowres scary, low quality lowres severe, low quality lowres insects, low quality lowres gross scars, low quality lowres twisted human body, low quality lowres irrational human body, low quality lowres sharp fingers, low quality lowres parts of the body out of common sense, low quality lowres murder, low quality lowres beheading, low quality lowres zombie, low quality lowres mummy, low quality lowres graffiti, low quality lowres unfinished picture, low quality lowres terrible quality, low quality lowres Coprophilia, low quality lowres muscular, low quality lowres bald, low quality lowres monk, low quality lowres wrinkly, low quality lowres simple background, low quality lowres realistic, low quality lowres old, low quality lowres scan, low quality lowres touhou, low quality lowres yaoi, low quality lowres gay, low quality lowres femboy, low quality lowres trap, low quality lowres pee, low quality lowres doujinshi, low quality lowres monochrome, low quality lowres meme, low quality lowres demon, low quality lowres monstrous creature, low quality lowres tentacle, low quality lowres self harm, low quality lowres vomit, low quality lowres suicide, low quality lowres death, low quality lowres corpse, low quality lowres bone, low quality lowres skeleton, low quality lowres fingers over 6, low quality lowres framed, low quality lowres historical picture, low quality lowres futanari, low quality lowres shemale, low quality lowres transgender, low quality lowres dick girl, low quality lowres flat breasts, low quality lowres degenerate ass, low quality lowres retro artstyle, low quality lowres anime screencap, low quality lowres stitched, low quality lowres pokemon, low quality lowres ryona, low quality lowres animal, low quality lowres male focus, low quality lowres nipple penetration, low quality lowres sonic \(series\), low quality lowres bondage, low quality lowres bdsm, low quality lowres 2D, low quality lowres 2D game, low quality lowres 2D game scene, low quality lowres 2D character, low quality lowres game cg, low quality lowres watercolor \(medium\), low quality lowres 2koma, low quality lowres interlocked fingers, low quality lowres gloves, low quality lowres nitroplus, low quality lowres grayscale, low quality lowres sketch, low quality lowres line drawing, low quality lowres gorilla, low quality lowres meat, low quality lowres gundam, low quality lowres multiple views, low quality lowres cut, low quality lowres concept art, low quality lowres reference sheet, low quality lowres turnaround, low quality lowres chart, low quality lowres comparison, low quality lowres artist progress, low quality lowres lineup, low quality lowres before and after, low quality lowres orc, low quality lowres tusks, low quality lowres goblin, low quality lowres kobold, low quality lowres pony, low quality lowres nsfw, low quality lowres Humpbacked, low quality lowres text error, low quality lowres extra digits, low quality lowres standard quality, low quality lowres large breasts, low quality lowres shadow, low quality lowres nude, low quality lowres artist name, low quality lowres skeleton girl, low quality lowres missing fingers, low quality lowres extra digit, low quality lowres artifacts, low quality lowres bad body, low quality lowres optical illusion, low quality lowres Glasses, low quality lowres girl, low quality lowres women, low quality lowres more than 1 moon, low quality lowres Multi foot, low quality lowres Multifold, low quality lowres Multi fingering, low quality lowres colored sclera, low quality lowres monster girl, low quality lowres Black hands, low quality lowres The background is incoherent, low quality lowres abnormal eye proportion, low quality lowres Abnormal hands, low quality lowres abnormal feet abnormal fingers, low quality lowres sharp face, low quality lowres tranny, low quality lowres mutated hands, low quality lowres extra limbs, low quality lowres too many fingers, low quality lowres unclear eyes, low quality lowres bad, low quality lowres mutated hand and finger, low quality lowres malformed mutated, low quality lowres broken limb, low quality lowres incorrect limb, low quality lowres fusion finger, low quality lowres lose finger, low quality lowres multiple finger, low quality lowres multiple digit, low quality lowres fusion hand, low quality lowres bad cameltoe, low quality lowres colorful cameltoe, low quality lowres low polygon 3D game, (over three finger\(fingers excluding thumb\):2), (fused anatomy), (bad anatomy\(body\)), (bad anatomy\(hand\)), (bad anatomy\(finger\)), (over four fingers\(finger\):2), (bad anatomy\(arms\)), (over two arms\(body\)), (bad anatomy\(arm\)), (bad detail\(finger\):1.2), (bad anatomy\(fingers\):1.2), (multiple\(fingers\):1.2), (bad anatomy\(finger\):1.2), (bad anatomy\(fingers\):1.2), (fused\(fingers\):1.2), (over four fingers\(finger\):2), (multiple\(hands\)), (multiple\(arms\)),, (over three toes\(toes excluding big toe\):2), (bad anatomy\(foot\)), (bad anatomy\(toe\)), (over four toes\(toe\):2), (bad detail\(toe\):1.2), (bad anatomy\(toes\):1.2), (multiple\(toes\):1.2), (bad anatomy\(toe\):1.2), (bad anatomy\(toes\):1.2), (fused\(toes\):1.2), (over four toes\(toe\):2), (multiple\(feet\))


샘플러 및 hires.fix 세팅


img/23/01/30/186019ba70a11ac1e.png

고해상도로 뽑을 시 작업시간이 너무 오래걸린다 싶으시면 일단 hires.fix는 체크해제하시고, 저해상도로 txt2txt를 뽑으신 이후 이후 마음에 드는 이미지를 image2image 과정에서 업스케일링하셔도 무방합니다.



img/23/01/30/186019d462511ac1e.png

위 세팅으로 이미지를 뽑았는데, 머리 위쪽이 잘렸습니다. 버리기 아까운 것 같아, 몇가지 작업을 해봅시다.


아웃페인팅을 이용한 확장


img/23/01/30/186019f47b011ac1e.png

image2image탭에서 동일 프롬 적용 후 위에서 뽑은 이미지를 넣어주고, 사진과 같이 세팅해줍니다. 전 위쪽으로만 확장할거라 direction을 up에만 체크했지만, 원하시는 확장방향을 체크해주시면 됩니다.

Denoising strength의 경우는 정답이 없습니다. 제 경우엔 0.6~0.8사이에서 결과물을 봐가면서 조절하지만, 이번엔 귀찮아서 확장만 돌리고 포토샵으로 수정해버릴 겁니다.



img/23/01/30/18601a662c511ac1e.png

음....삐꾸가 좀 많이 난 것 같지만...포토샵으로 어떻게든 수정해봐야겠네요.

확장된 부분을 잘라내기 해서 크기를 짜맞추고, 뒷 배경은 단색으로 밀어버렸습니다. 어차피 뒷 배경을 다시 날려버릴거라, 괜찮습니다.


img/23/01/30/18601a7933911ac1e.png

하는 김에 다리쪽에 스타킹 색상을 대충 칠해서, image2image에서 스타킹을 신겨볼 수 있도록 하죠 :)



배경 날리기



img/23/01/30/18601ad9c6011ac1e.png

사진과 같이 배경을 날릴 이미지를 image2image로 불러오시고, 스크립트에서 ABG remover를 선택해줍니다. 이 때, 이미지의 해상도는 원본 이미지와 동일한 해상도를 적용하시고, 전 이 과정에서 i2i를 한번 돌려볼 계획이므로 denoising strength를 0.5로 줘봤습니다. i2i를 돌릴 생각이 없으시다면 0으로 두고 돌리면 됩니다. 샘플링 스텝은 24로 적혀있는데, 실제론 32정도로 적용했습니다.



img/23/01/30/18601b1a34c11ac1e.pngimg/23/01/30/18601b1a51911ac1e.pngimg/23/01/30/18601b1a70c11ac1e.png


위 이미지와 같이 3개의 이미지가 만들어졌을겁니다.

하나는 i2i의 결과, 다음은 배경을 날린 이미지, 마지막은 마스킹을 위한 알파채널 이미지입니다. 전 1번과 2번 이미지만 사용할 예정입니다.


배경 합성


img/23/01/30/18601b6813f11ac1e.png

사진과 같이 1번 이미지를 포토샵에 불러온 이후, 2번 이미지를 그 위에 올려줍니다.

오피스 레이디인데, 배경이 오피스가 아니라 뭔가 좀 아쉬우니, 오피스 데스크 이미지를 넣어주는게 좋을 것 같네요.



img/23/01/30/18601bacf5d11ac1e.png


이 부분은 개인의 이미지 편집 역량에 달린 문제라 자세히 적긴 어려울 것 같네요. 제가 한 작업은 아래와 같습니다.


오피스 데스크 관련 이미지를 찾아서 배경에 합성,

캐릭터의 그림자 추가,

의자의 대략적인 형상 대충 마우스로 그리기


이제 다음단계인 i2i로 넘어가봅시다.


2. i2i를 통해 디테일업


image2image


배경에 데스크가 추가되었고, 스타킹도 신었으니 아래와 같이 프롬을 조금 변경해봅니다.


masterpiece, (best quality:1.1), (extremely fine and beautiful:1.1), (best illumination), (semi_realistic), (illustration:1.1), (office desk with monitor and keyboard background:1.5), (1 beautiful lady:1.2), (white see-through blouse ornated with lace embroidery tucked in tight black miniskirt:1.5), (black pentyhose:1.2), view from front, (full body), (sit on office chair:1.5), FEMININE, (beautiful face), adult, (pale white skin:1.2), (large breast:1.0), cleavage, (slender), wide hips, (arm + hand + 1thumb + 4finger), (detailed beautiful eyeliner eyeshadow mascara:0.8), (by Joao Ruas), by John William Waterhouse, [by Gil Elvgren], (long black hair:1.3), looking at viewer, smile, (cinematic lightings:1.5), (soft volumetric lighting:1.2), best ratio four finger and one thumb



img/23/01/30/18601c08b1d11ac1e.png


i2i 세팅은 위와 같이 맞춰보겠습니다.

어차피 얼굴이나 디테일은 나중에 다시 잡을테니, 대충 합성한 배경이 원래 이미지와 잘 녹아들 수 있도록 가볍게 이미지 처리를 돌린다고 생각하시면 될 것 같습니다.


img/23/01/30/18601c2555711ac1e.png

i2i를 약 스무장정도 돌려보고, 그 중 가장 마음에 드는 이미지를 선택했습니다.


업스케일링



img/23/01/30/18601de2cd111ac1e.png

extras 탭에서 이미지를 업스케일링해줍니다. 제 경우 반실사체는 SwinIR_4x 업스케일러가 가장 궁합이 잘 맞는 것 같아 해당 업스케일러를 사용하지만, 사용하시는 그림체에 따라서 결과물이 달라지니 성향에 맞는 업스케일러를 선택하셔도 무방합니다.


가로세로 두배로 업스케일링 한 이후, 이제 디테일업 작업에 들어가봅시다.


디테일업


img/23/01/30/18601df98e311ac1e.png

 우선 얼굴 부분을 포토샵에서 크롭해줍니다. 얼굴부분만 크롭했음해도 960*1024 해상도로 꽤 크기가 크네요.

이렇게 크롭해주는 이유는, 아무리 vram이 높은 그래픽카드일지라도 1920*3168정도의 고해상도 이미지작업을 하는데는 시간도 오래걸리고 작업자체가 불가능할 경우가 많기때문에, 부분별로 작업을 하기 위함입니다.


img/23/01/30/18601e32d2d11ac1e.pngimg/23/01/30/18601e33b0f11ac1e.png

크롭한 이미지를 i2i의 inpaint 탭에 넣고, 위 사진과 같이 inpaint할 영역을 지정해줍니다.


여기서 제 경우엔 모델을 abyssorangemix v2 nsfw + basilmix 0.7:0.3 믹스 모델로 교체하고, LORA에서 눈 부분 표현을 개선해주는 LORA를 사용합니다.

https://civitai.com/models/5529/eye-lora

제 경우엔, , loraeyes 이렇게 프롬프트에 추가해줘서 사용하고있습니다만, 사용하지 않으셔도 무방합니다.

모델교체의 이유는 hard모델의 경우 실사체의 느낌이 과하게 강해지는 경향이 있어서입니다. hard->nsfw->sfw로 갈수록 그림체가 좀 더 일러스트에 가까워지므로, 이 부분 참고 부탁드립니다.

종종 nsfw모델조차 실사느낌이 너무 강하다 싶으면 sfw모델과 바질믹스를 병합한 모델로 넘어가곤 합니다.


img/23/01/30/18601e66d7111ac1e.png

인페인팅 결과는 위와 같습니다. 

위와 같은 방법으로 옷 부분도 인페인팅을 진행하되, 상대적으로 심플한 하의는 그대로 두고 상의부분만 인페인팅을 진행하겠습니다.


img/23/01/30/18601e8679011ac1e.png

인페인팅한 조각그림들을 업스케일링되었던 원본 이미지에 포토샵을 통해 합성해보았습니다.


img/23/01/30/18601e8fa6f11ac1e.png

서랍장의 손잡이가 사라진 것이 아쉬워, 다른 이미지에서 손잡이를 뜯어와서 합성하고, 포토샵의 픽셀유동화등의 기능을 통해 손이나 얼굴 등 어색한 부분을 조금씩 손봐주는 것도 좋습니다.


사실 저도 이정도까지 복잡하게 작업하는 경우는 정말 아쉬운 이미지가 있을 경우에만 그렇고, 보통은 text2text->img2img->디테일업 이렇게 포토샵을 통한 배경작업 없이 바로 웹UI를 통해서만 진행하고 포토샵은 크롭 및 합성에만 사용하는 경우가 대부분입니다.


긴 글 읽어주셔서 감사하며, 제 필력이 모자라 전달력이 떨어지는 점 양해 부탁드립니다 ㅠㅠ


































로그인하고 댓글 작성하기
루리웹 오른쪽
루리웹 유머
루리웹 뉴스 베스트
PC/온라인
비디오/콘솔
모바일

루리웹 유저정보 베스트