ãStable-Diffusionãð°äžçºã§ãã¬ã€ïŒComfyUIã®äœ¿ãæ¹ïŒSTEP3:åŸç·šïŒ é¡ãšæã®èªåä¿®æ£ #stablediffusion #FaceDetailer #HandRefiner
TLDRãã®åç»ã§ã¯ãStable Diffusionã䜿çšããComfyUIã®äœ¿ãæ¹ã«ã€ããŠè§£èª¬ããŠããŸããç¹ã«ãé¡ãšæã®èªåä¿®æ£æ©èœã«çŠç¹ãåœãŠãååã®ã¢ãã¹ã±ãŒã«ã®äœ¿ãæ¹ã®ç¶ããšããŠã詳现ãªæé ã説æããŠããŸããããã¹ãå ¥åã®ãã¯ããã¯ããã«ã¹ã¿ã ããŒãã䜿ã£ãé¡ãšæã®ä¿®æ£æ¹æ³ã玹ä»ããã¯ãŒã¯ãããŒãæ§ç¯ããæ¹æ³ã解説ãããŠããŸããããã«ãã¢ããã¹ã±ãŒã«ãšãã§ã€ã¹ãã£ãã€ã©ãŒã®ãã¿ãŒã³ãæ¯èŒããæçµçãªç»åçæã®ããã»ã¹ã詳述ããŸããã«ã¹ã¿ã ããŒãã®æŽ»çšæ¹æ³ããã¯ãŒã¯ãããŒã®æè»æ§ãæ倧éã«æŽ»ããããã®ã¢ããã€ã¹ãæäŸãããŠããŸãã
Takeaways
- ðš **ComfyUIã®äœ¿ãæ¹**: ä»åã¯ComfyUIã§ã®é¡ãšæã®èªåä¿®æ£ã«ã€ããŠè§£èª¬ããŸããã
- ð **ããã¹ãå ¥åã®ãã¯ããã¯**: ããã³ããã®ããã¹ãå ¥åããã䜿ããããããã«ã¹ã¿ã ããŒãã®æŽ»çšæ¹æ³ã玹ä»ããŸããã
- ð **ããã¹ãã³ã³ã±ãŒãããŒã**: è€æ°ã®ããã¹ããé£çµããŠåºåããããšã§ãããã³ããã®ç·šéãšèª¿æŽã容æã«ããŸãã
- ð± **ã¯ã€ã€ã¬ã¹ãªããŒãæ¥ç¶**: ã»ããããŒããšã²ããããŒãã䜿ã£ãŠãããŒãéãã¯ã€ã€ã¬ã¹ã§æ¥ç¶ããæ¹æ³ãåŠã³ãŸããã
- ðŒïž **é¡ãšæã®èªåä¿®æ£**: é¡ã®ä¿®æ£ã«ã¯FACE RESTORE CFãæã®ä¿®æ£ã«ã¯Hand Refinerã䜿çšããã¯ãŒã¯ãããŒã解説ããŸããã
- ð§ **ããŒãã®æŽ»çš**: ããŒãã䜿çšããŠãç»åã®ç¹å®éšåãæ€åºã»ä¿®æ£ããèªç¶ãªçµæãåŸãæ¹æ³ãåŠã³ãŸããã
- ð **ã«ã¹ã¿ã ããŒãã®ã€ã³ã¹ããŒã«**: ã¯ãŒã¯ãããŒã§å¿ èŠãªã«ã¹ã¿ã ããŒããšã¢ãã«ãäºåã«ã€ã³ã¹ããŒã«ããå¿ èŠãããããšã説æããŸããã
- ð **ããã³ããã®èª¿æŽ**: ããã³ããã調æŽããããšã§ãçæãããç»åã®è³ªãåäžãããæ¹æ³ã玹ä»ããŸããã
- ð **ã¢ããã¹ã±ãŒã«ã®æŽ»çš**: ã¢ããã¹ã±ãŒã«æ©èœã䜿ã£ãŠãç»åã®è§£å床ãåäžãããã ãã§ãªãã现éšãä¿®æ£ããæ¹æ³ãåŠã³ãŸããã
- ð ïž **ã¯ãŒã¯ãããŒã®æ§ç¯**: è€éãªã¯ãŒã¯ãããŒãæ§ç¯ããé¡ãšæã®ä¿®æ£ãèªååããæ¹æ³ãåŠã³ãŸããã
- â **çµæã®ç¢ºèª**: åã¹ãããã§çæãããç»åãæ¯èŒããæé©ãªçµæãéžã¶ããã»ã¹ãéããŠãæçµçãªå®æ床ã®é«ãç»åãåŸãæ¹æ³ãåŠã³ãŸããã
Q & A
Stable-Diffusionãšã¯äœã§ããïŒ
-Stable-Diffusionã¯ãããã¹ãããç»åãçæããããšãã§ããé«åºŠãªAIã¢ã«ãŽãªãºã ã§ããComfyUIãéããŠããŠãŒã¶ãŒã¯ç°¡åã«æäœã§ããã€ã³ã¿ãŒãã§ãŒã¹ãéããŠã詳现ãªç»åãçæããããšãã§ããŸãã
ComfyUIã®äœ¿ãæ¹ã«ã€ããŠèª¬æããŠãã ããã
-ComfyUIã¯ãStable-Diffusionã䜿çšããŠç»åãçæããããã®ã°ã©ãã£ã«ã«ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ãŒã¹ã§ãããããªã§ã¯ãããã¹ãå ¥åã®ãã¯ããã¯ãé¡ãšæã®èªåä¿®æ£æ¹æ³ããããŠåäœçã¯ãŒã¯ãããŒã®äœ¿çšæ¹æ³ãã¹ããããã€ã¹ãããã§è§£èª¬ãããŠããŸãã
FACE Restore CFãšããã«ã¹ã¿ã ããŒãã¯äœã®ããã«äœ¿çšãããŸããïŒ
-FACE Restore CFã¯ãé¡ã®ä¿®æ£çšã®ã«ã¹ã¿ã ããŒãã§ãèªåçã«é¡ã®æ€åºãšæžãçŽããè¡ããçæãããç»åã®é¡ã®å質ãåäžãããããšãã§ããŸãã
ããã¹ãå ¥åã§äœ¿ããããããã¹ãã³ã³ã±ãŒãããŒãããšã¯äœã§ããïŒ
-ããã¹ãã³ã³ã±ãŒãããŒãã¯ãå ¥åããè€æ°ã®ããã¹ããé£çµããŠäžã€ã®ããã¹ããšããŠåºåããã«ã¹ã¿ã ããŒãã§ããããã«ãããè€éãªããã³ããããã管çãããããªããæè»æ§ã®ããããã¹ãç·šéãå¯èœã«ãªããŸãã
ããªã»ããããã¹ãããŒããšã¯äœã§ããïŒ
-ããªã»ããããã¹ãããŒãã¯ãäºåã«ç»é²ãããå®åã®ããã³ãããç°¡åã«éžæããŠäœ¿çšã§ããããŒãã§ããããã«ãããé »ç¹ã«äœ¿çšãããããã³ãããçŽ æ©ãåãåºããŠäœ¿çšããããšãã§ããäœæ¥ã®å¹çãåäžãããããšãã§ããŸãã
WD14 Targetã䜿çšããããšã§äœãã§ããŸããïŒ
-WD14 Targetã䜿çšããããšã§ãç»åããããã³ãããäœæããããšãã§ããŸããããã¯ãããã¹ããæäŸãããŠããªãå Žåã«ãç»åãã®ãã®ãåºã«ããã³ãããçæããã®ã«åœ¹ç«ã¡ãŸãã
ããã€ãºãšã¹ãããæ°ã®èšå®ã¯ãªãéèŠã§ããïŒ
-ããã€ãºãšã¹ãããæ°ã¯ãçæãããç»åã®å質ã«å€§ããªåœ±é¿ãäžããŸããããã€ãºã¯ç»åã®ãã€ãºãæžãããããé©åãªå€ãéžæããããšã§ç»åã®é®®æããåäžãããããšãã§ããŸããã¹ãããæ°ã¯ãç»åã®çæããã»ã¹ãç¹°ãè¿ãåæ°ã§ãé©åãªã¹ãããæ°ãèšå®ããããšã§è©³çŽ°ãªç»åãçæããããšãã§ããŸãã
ã¢ããã¹ã±ãŒã«ãšã¯äœã§ããïŒ
-ã¢ããã¹ã±ãŒã«ã¯ãçæãããç»åã®è§£å床ãé«ããããã»ã¹ã§ããããã«ãããç»åã®è©³çŽ°ã匷åãããé«å質ãªç»åãçæããããšãã§ããŸãã
ã¯ãŒã¯ãããŒã®é çªãå€æŽããããšã§äœãå€ãããŸããïŒ
-ã¯ãŒã¯ãããŒã®é çªãå€æŽããããšã§ãçæãããç»åã®çµæã«åœ±é¿ããŸããç°ãªãé åºã§åãç»åãåŠçããããšã§ãç°ãªãçµæãåŸãããšãã§ããŸããããã«ãããæé©ãªçµæãéžã¶ããšãã§ããŸãã
ã«ã¹ã¿ã ããŒããäžè¶³ããŠããå Žåãã©ãããã°ããã§ããïŒ
-ã«ã¹ã¿ã ããŒããäžè¶³ããŠããå ŽåãComfyUIãããŒãžã£ãŒã®ãã€ã³ã¹ããŒã«ããã·ã³ã°ã«ã¹ã¿ã ããŒãºãããå¿ èŠãªã«ã¹ã¿ã ããŒããã€ã³ã¹ããŒã«ããå¿ èŠããããŸããããã«ãããã¯ãŒã¯ãããŒãæ£åžžã«å®è¡ã§ããããã«ãªããŸãã
æçµçãªç»åçæã«ãããŠãã©ãããã°é«å質ã®çµæãåŸãããšãã§ããŸããïŒ
-æçµçãªç»åçæã«ãããŠãããã³ããã®è©³çŽ°ãé©åã«èšå®ãããã€ãºã¬ãã«ãã¹ãããæ°ãcfgãã©ã¡ãŒã¿ã調æŽããããšã§ãé«å質ã®çµæãåŸãããšãã§ããŸãããŸããé¡ãšæã®ä¿®æ£ãã¢ããã¹ã±ãŒã«ã®é åºããããŠåã¹ãããã®ç¹°ãè¿ãåæ°ãæé©åããããšã§ãããèªç¶ã§é«å質ã®ç»åãçæããããšãã§ããŸãã
Outlines
ð Introduction to UI Workflow and Text Input Techniques
The video begins with a greeting and an introduction to the topic, which is the continuation of the UI workflow, specifically focusing on the automatic correction of faces and hands in the UI. The presenter mentions that the workflow has become quite complex and advises new viewers to check out the previous videos for a better understanding. The video is structured into three main parts: text input techniques, methods for automatic face and hand correction, and the use of an advanced workflow. Before diving into the face and hand correction, the presenter introduces a convenient custom node for text input to make editing easier and more manageable.
ð Exploring Text Input Techniques and Custom Nodes
The paragraph delves into various techniques for text input, emphasizing the convenience of using custom nodes. It discusses how to connect text nodes for easier editing and management, the use of preset text for quick input of predefined prompts, and the ability to adjust and combine different text inputs. The presenter also explains how to use the 'WD14 Target' to create prompts from images when no text is available. Techniques for wireless node connections and the use of 'Set Nodes' and 'Get Nodes' for efficient workflow are also covered.
ðŒïž Face and Hand Correction Workflow Using Custom Nodes
This section introduces the workflow for automatically correcting faces and hands using custom nodes, primarily the 'Face Restore CF' node. The presenter outlines the process of using the 'Face Detailer' and 'Hand Refiner' nodes, along with the 'Impact Pack' for object detection and partial regeneration. The importance of downloading a specific model and adjusting parameters such as denoising, CFG, and the number of steps for optimal results is highlighted. The video also demonstrates how to connect and use 'Set Nodes' and 'Get Nodes' to manage the flow of images and data throughout the workflow.
ð Combining Face and Hand Correction with Upscaling
The paragraph describes an advanced workflow that integrates face and hand correction with image upscaling. It details the process of inputting model and prompt information, generating an initial image, and then passing it through the 'Face Retainer' for facial enhancements. The resulting image is then sent to the 'Hand Refiner' for hand correction. The presenter also discusses the creation of depth maps and masks for precise editing and the use of 'Set Nodes' to direct the flow of images through different stages of the workflow.
ðš Final Touches and Comparison of Different Patterns
The presenter showcases the final results of the workflow, comparing different patterns and techniques used for face and hand correction. They discuss the use of 'Face Restore' and other methods to achieve natural-looking results. The video also includes a comparison of various patterns, such as 'Altimeter SD Upscale' and 'Ultimate SD Upscale,' highlighting the subtle differences in the final output. The presenter encourages viewers to choose the pattern that best suits their preferences.
ðïž Applying the Workflow to Illustrations and Adjusting Parameters
The paragraph demonstrates how the discussed workflow can be applied to illustrations, showing the step-by-step process of enhancing the image quality through face and hand correction, and upscaling. The presenter also addresses the issue of artifacts that can occur during the upscaling process and provides tips on adjusting parameters like CFG, steps, and noise to mitigate these effects. They emphasize the importance of experimenting with the workflow to find the best approach for a particular image.
ð Conclusion and Future Topics
The video concludes with a summary of the steps covered in the workflow for upscaling and correcting faces and hands. The presenter expresses the belief that the layered approach to the workflow is effective and encourages viewers to download the workflow from the video description for practice. They also mention that the combined upscale and face detailer workflow, along with the slides, will be distributed exclusively to members. The presenter looks forward to future videos, which will cover the use of animated differences in UI, and invites feedback and questions from viewers.
Mindmap
Keywords
ð¡Stable-Diffusion
ð¡ComfyUI
ð¡é¡ãšæã®èªåä¿®æ£
ð¡FACEãªã¹ãã¢CF
ð¡HandRefiner
ð¡ããã¹ãå ¥å
ð¡ã«ã¹ã¿ã ããŒã
ð¡ã¯ãŒã¯ãããŒ
ð¡ããã³ãã
ð¡ã¢ããã¹ã±ãŒã«
ð¡ãã¬ãã£ãããã³ãã
Highlights
AIã¿ããComfyUIã®äœ¿ãæ¹ãã¹ããããã€ã¹ãããã§è§£èª¬ã
ããã¹ãå ¥åã®å Žé¢ã§äŸ¿å©ãªã«ã¹ã¿ã ããŒãã®äœ¿ãæ¹ã玹ä»ã
ããã¹ãã³ã³ã±ãŒãããŒãã§è€æ°ã®ããã¹ããé£çµããŠåºåã
ã¯ãªããããã¹ããšã³ã³ãŒããŒã䜿çšããããã¹ãå ¥åãæè»ã«ç·šéã
ããªã»ããããã¹ãããŒãã§å®åã®ããã³ãããç°¡åã«åŒã³åºãæ¹æ³ã
WD14ã¿ã¬ãŒã䜿çšããŠç»åããããã³ãããäœæãããã¯ããã¯ã
ã¯ã€ã€ã¬ã¹ãªããŒãæ¥ç¶ã§ããŒãå士ãæ¥ç¶ããããã¹ããå€éšããå ¥åã
FACEãªã¹ãã¢CFã䜿çšããé¡ã®èªåä¿®æ£ã®ã¯ãŒã¯ãããŒã解説ã
ãã³ããªãã¡ã€ããŒã§æã®èªåä¿®æ£ãè¡ãæ¹æ³ãåŠã¶ã
ã€ã³ãã¯ãããã¯ã䜿çšããç©äœæ€åºãšãã¹ã¯äœæãè¡ãã
ããã€ãºãšã¹ãããæ°ã®èª¿æŽã§çæçµæãæé©åããã
ã»ããããŒããšã²ããããŒãã§ç»åãå¹æçã«åãåãææ³ã
åäœçã¯ãŒã¯ãããŒã§é¡ãšæã®ä¿®æ£ãäžçºã§è¡ãæ¹æ³ã
ã¢ããã¹ã±ãŒã«ãšãã§ã€ã¹ãã£ãã€ã©ãŒã®ãã¿ãŒã³åºããåæã«ã§ããå©ç¹ã
ã«ã¹ã¿ã ããŒããçšããèªç±ãªã¯ãŒã¯ãããŒã®çµæã
åŠçã®é çªãå€ããããšã§ç°ãªãçµæãåŸãå¯èœæ§ã
cfgãããã€ãºã®èª¿æŽã§ã¢ãŒãã£ãã¡ã¯ããæå¶ãããã¯ããã¯ã
ã¯ãŒã¯ãããŒã®ããŠã³ããŒããšã«ã¹ã¿ã ããŒãã®ã€ã³ã¹ããŒã«æ¹æ³ã
ä»åŸã®ã¢ãã¡ãŒããã£ãã®äœ¿ãæ¹ãšãã¹ã¯ã䜿ã£ãåç»äœãæ¹ã«ã€ããŠè§£èª¬äºå®ã