ãåå¿è ð°ãStable Diffusionã®inpaintã§ã髪åãã髪è²ããæè£ ããè¡šæ ããèæ¯ããªã©ãä¿®æ£ããæ¹æ³ïŒã³ãïŒããã³ãããèšå®ã解説
TLDRæ¬åç»ã§ã¯ãStable Diffusionã®inpaintæ©èœã䜿çšããŠç»åã®æ§ã ãªèŠçŽ ãä¿®æ£ããæ¹æ³ã解説ãããŠããŸããã¢ãã«æ°ãã髪åã髪è²ãæè£ ãè¡šæ ãèæ¯ãªã©ãå€æŽããã³ããããã³ããã®èšå®ã詳ãã説æããŠããŸããã€ã³ãã€ã³ãã®åºæ¬çãªäœ¿ãæ¹ããã¹ã¯ã®çš®é¡ãããã³ããã®èª¿æŽããããŠç»åã®ä¿®æ£æ¹æ³ãªã©ã詳ãã玹ä»ãããŠããŸããåå¿è åãã«ãå®è·µçãªãã¯ããã¯ãåŠã¶ããšãã§ããŸãã
Takeaways
- ð ã¹ããŒãã«ãã£ãã¥ãŒãžã§ã³ã®ã€ã³ãã€ã³ãæ©èœã䜿çšããŠãç»åã®ç¹å®éšåãä¿®æ£ããæ¹æ³ã解説ãããŠããŸãã
- ðš ã€ã³ãã€ã³ãã«ã¯ãããŒã«ãã¯ãã£ãŒããã¹ã¯ãšããªã³ãªãŒãã¹ã¯ãã®2ã€ã®ãã¿ãŒã³ããããŸããåè ã¯å šäœãšãã¹ã¯éšåãåãããŠçæããåŸè ã¯ãã¹ã¯éšåã ãã«çŠç¹ãåœãŠãä¿®æ£ãå¯èœã§ãã
- ðïž ã€ã³ãã€ã³ãã®å¡ãæ¹ã¯ãäžçæžãã§ã¯ãªãã段éçã«ãã€ã³ããå¡ããééãããæ»ããã¿ã³ãçšããŠä¿®æ£ããããšãæšå¥šãããŸãã
- ð©âð€ ããã³ããã¯ã€ã³ãã€ã³ãæã®éèŠãªèŠçŽ ã§ãä¿®æ£ãããéšåãæ確ã«æå®ããããšã§ãããè¯ãçµæãåŸãããšãã§ããŸãã
- ð ç¹å®ã®æè£ ã«å€æŽããå Žåãããã³ããã«ãã®æè£ ãæå®ããããã€ãžãŒã¹ãã¬ã³ã°ã¹ã調æŽããããšã§å®çŸã§ããŸãã
- ð ã€ã³ãã€ã³ãã§èæ¯ãå€æŽããéã¯ã人ç©ããã¹ã¯ããŠã€ã³ãã€ã³ãããããã¹ã¯ã䜿çšããããã€ãžãŒã¹ãã¬ã³ã°ã¹ãäžãããšèæ¯ã倧ããå€ãããŸãã
- ð ã«ã©ãŒããã«ãŒãã¹ãã€ãããŒã«ã䜿çšããŠããã€ã³ãã®è²ãå€æŽããç»åã®ç¹å®éšåã«é©çšããããšãã§ããŸãã
- ð ããã€ãžãŒã¹ãã¬ã³ã°ã¹ã®ã¬ãã«ã¯ç»åã®å€åéã«å€§ãã圱é¿ããäœãå€ã§ã¯åŸ®èª¿æŽãã§ããé«ãå€ã§ã¯å€§ããå€ããå€æŽãå¯èœã§ãã
- ð ã·ãŒãå€ã¯ç»åçæã®ã©ã³ãã æ§ãå¶åŸ¡ããåãã·ãŒãå€ãçšããããšã§æŽåæ§ã®ããç»åãåŸãããšãã§ããŸãã
- ð æåŸã«ãã€ã³ãã€ã³ãæ©èœã¯ç»åç·šéã«ãããŠéåžžã«åŒ·åãªããŒã«ã§ããã现ãã調æŽãã倧èãªå€æŽãŸã§å¹ åºãå¿çšå¯èœã§ãã
Q & A
Stable Diffusionã®inpaintæ©èœãšã¯äœã§ããïŒ
-Stable Diffusionã®inpaintæ©èœã¯ãç»åã®ç¹å®éšåãä¿®æ£ãŸãã¯å€æŽããæ©èœã§ããäŸãã°ã髪åã髪è²ãæè£ ãè¡šæ ãèæ¯ãªã©ã調æŽããããšãã§ããŸãã
ã€ã³ãã€ã³ãã§äœ¿çšããããã¹ã¯ã®2ã€ã®ãã¿ãŒã³ãšã¯äœã§ããïŒ
-ã€ã³ãã€ã³ãã§äœ¿çšããããã¹ã¯ã¯å€§ããåããŠãããŒã«ãã¯ãã£ãŒããšããªã³ãªãŒãã¹ã¯ãã®2ã€ã®ãã¿ãŒã³ããããŸããããŒã«ãã¯ãã£ãŒã¯ãã¹ã¯ããéšåãšå šäœç»åãäžç·ã«çæãããããæŽåæ§ãé«ãäžæ¹ã§ããªã³ãªãŒãã¹ã¯ã¯ãã¹ã¯ããéšåã ããçæãããããç»çŽ æ°ãå€ããæŽåæ§ã¯äœãã§ãã
ããã€ãžãŒã¹ãã¬ã³ã°ã¹ã®èšå®ã¯ã©ã®ããã«ç»åã«åœ±é¿ããŸããïŒ
-ããã€ãžãŒã¹ãã¬ã³ã°ã¹ã¯ç»åã®å€æŽã®åºŠåãã調æŽãããã©ã¡ãŒã¿ãŒã§ããå€ãäžãããšç»åã倧ããå€åããå ç»åããé ãããåŸåããããŸããäœãå€ã§ã¯åŸ®åŠãªèª¿æŽãã§ããé«ãå€ã§ã¯æ¿ããå€åãå ããããŸãã
ããã³ãããå€æŽããããšã®å©ç¹ã¯äœã§ããïŒ
-ããã³ãããå€æŽããããšã§ãå ç»åãšã¯ç°ãªãèŠçŽ ãå ããããç»åã®ç¹å®ã®éšåã匷調ãããããããšãã§ããŸããããã«ãããããå€æ§ãªä¿®æ£ãåµé çãªè¡šçŸãå¯èœã«ãªããŸãã
ã€ã³ãã€ã³ããã¹ã¯ã®å¡ãæ¹ã«ã¯ã©ã®ãããªã³ãããããŸããïŒ
-ã€ã³ãã€ã³ããã¹ã¯ãå¡ãéã¯ãäžçæžãã§å¡ããã«ã段éçã«ãã€ã³ããé¢ãããšã§ä¿®æ£ãäžå¯§ã«è¡ãããšãéèŠã§ãããŸããå¡ãééããå Žåã¯ããã«æ»ãæ©èœãå©çšããŠä¿®æ£ããããšãã§ããŸãã
ç»åã®èæ¯ãå€æŽããéã«ã¯ã©ã®ãããªã¢ãããŒãããšããŸããïŒ
-èæ¯ãå€æŽããéã«ã¯ããŸã人ç©éšåããã¹ã¯ããã€ã³ãã€ã³ãããããã¹ã¯ã䜿çšããŠå転ãããŠãããããã€ãžãŒã¹ãã¬ã³ã°ã¹ã調æŽããŸããããã«ãããå ç»åã®èæ¯ãå€åããæ°ããèæ¯ãçæãããŸãã
è¡šæ ãå€æŽããéã®æ³šæç¹ã¯äœã§ããïŒ
-è¡šæ ãå€æŽããéã¯ãé¡å šäœãå¡ãã®ã§ã¯ãªããç¹ã«å£ãç®ãªã©ã®è¡šæ ã®å€åã«å¯äžããéšåã«çŠç¹ãåœãŠãŠãã¹ã¯ãé©çšããããšã倧åã§ãããŸããããã€ãžãŒã¹ãã¬ã³ã°ã¹ã®èª¿æŽã¯åŸ®èª¿æŽãè¡ã£ãåŸã«è¡ããšããã§ãããã
ããã³ããã«ãããŒã¹æããå ¥ããå Žåãã©ã®ãããªå€æŽãå ããããŸããïŒ
-ããã³ããã«ãããŒã¹æããå ¥ããå Žåãã¡ã€ãããã®æè£ ãããŒã¹æã«å€æŽãããŸããããã¯ããã€ãžãŒã¹ãã¬ã³ã°ã¹ã®èª¿æŽãç»åã®å ¥ãæ¿ããã·ãŒãã®ã©ã³ãã åãªã©ã«ãã£ãŠåŸ®èª¿æŽãè¡ãããŸãã
ã€ã³ãã€ã³ãã§ç»åã®ç¹å®éšåã®ã¿ãä¿®æ£ããå Žåãã©ã®ãããªã¢ãããŒãããšããŸããïŒ
-ç¹å®éšåã®ã¿ãä¿®æ£ããå ŽåããŸããã®éšåããã¹ã¯ããŠãããããã³ããã調æŽããããã€ãžãŒã¹ãã¬ã³ã°ã¹ãé©åãªå€ã«èšå®ããŸããå¿ èŠã«å¿ããŠç»åã®å ¥ãæ¿ããã·ãŒãã®å€æŽãè¡ãããšã§ãèªç¶ãªä¿®æ£ãè¡ããŸãã
Stable Diffusionã䜿ãããªãããã«ã¯ãã©ã®ãããªç·Žç¿ãå¿ èŠã§ããïŒ
-Stable Diffusionã䜿ãããªãããã«ã¯ãããã³ããã®æžãæ¹ãããã€ãžãŒã¹ãã¬ã³ã°ã¹ã®èª¿æŽããã¹ã¯ã®é©åãªé©çšæ¹æ³ãªã©ã®ç·Žç¿ãå¿ èŠã§ãããŸããç»åç·šéãœãããšã®çµã¿åãã䜿çšãæå¹ã§ãã
Outlines
ðš Introduction to AI Image Editing
The speaker, Ahiru, returns after a long time and introduces the theme of the video, which is to challenge AI image editing of varying difficulty levels. The assistant, Pegi-kun, is asked to present problems, and they decide to start with a task similar to a first-level magic user exam. The video then delves into the basics of 'painting' in AI image editing, explaining the concept of image-to-image transformation and the potential to create almost perfect images by combining this feature with control nets and image editing software. Two main correction patterns in AI painting are introduced: 'whole picture' and 'only mask,' each with its own use cases and characteristics.
ðïž Techniques and Tips for AI Image Painting
The video provides practical tips on how to use AI image painting tools effectively. It covers the use of different brushes, the importance of painting in one continuous stroke, and the use of rotation arrows to undo mistakes. The segment also explains how to change brush colors, use the eraser tool, and the significance of prompts in guiding the AI's image creation. Settings such as resize mode, mask blur, mask mode, and mask content are discussed, along with their optimal values for different editing scenarios. The video emphasizes the importance of starting with a lower denoising strength and adjusting it according to the desired level of image transformation.
ð©ââïž Transforming a Maid Outfit into a Nurse Outfit
The speaker takes on the challenge of transforming a character's outfit from a maid uniform to a nurse uniform using only AI image painting techniques. They discuss the use of prompts such as 'nurse uniform' and the adjustment of denoising strength to achieve the desired transformation. The video demonstrates the process of iteratively applying paint, generating images, and making fine-tuning adjustments to achieve a convincing nurse outfit. It also touches on the use of the 'fill' tool to help with color adjustments and the importance of seed values in maintaining consistency with the original image.
ð Adding a Smile and a Wink to a Character
In this segment, the focus is on adding a smile and a wink to a character's face using AI image editing. The video explains the use of specific prompts like 'smile' and the adjustment of denoising strength to achieve a natural-looking smile. It also covers the challenges of adding a wink to the character's face and how to overcome them by using different painting techniques and seed values. The segment demonstrates the iterative process of generating images, making adjustments, and fine-tuning to achieve the desired facial expressions.
ð² Changing the Background and Final Touches
The final part of the video involves changing the background of the character while maintaining the original image's integrity. The speaker explains how to use 'Inpaint Not Mask' to reverse the painting and apply denoising strength to blend the new background with the character. The video concludes with a humorous narrative where the character, Pegi-kun, is surprised by the changes, and the speaker reflects on the capabilities of AI image editing when combined with control nets. The video ends with a playful dialogue between the speaker and the character, emphasizing the creative potential of AI in image editing.
Mindmap
Keywords
ð¡Stable Diffusion
ð¡inpaint
ð¡ããã³ãã
ð¡èšå®
ð¡é«ªå
ð¡é«ªè²
ð¡æè£
ð¡è¡šæ
ð¡èæ¯
ð¡ããã€ãžãŒã¹ãã¬ã³ã°ã¹
Highlights
åå¿è åãã«Stable Diffusionã®inpaintæ©èœã䜿çšããŠç»åã®ä¿®æ£æ¹æ³ã解説
ç¹å®ã®éšåãä¿®æ£ããããã³ããã®å ¥åæ¹æ³ãšç»åã®ãã¹ã¯èšå®
ç»åç·šéãœãããšã³ã³ãããŒã«ããããçµã¿åãããŠè©³çŽ°ãªä¿®æ£ãå¯èœã«ãªã
ããŒã«ãã¯ãã£ãŒãã¹ã¯ãšãªã³ãªãŒãã¹ã¯ã®äœ¿ãåããšããããã®ç¹åŸŽ
äœç»è³ªç»åã®ç·šéã«ãããããŒã«ãã¯ãã£ãŒãã¹ã¯ã®å©ç¹
é«ç»è³ªç»åã®ä¿®æ£ã«é©ãããªã³ãªãŒãã¹ã¯ã®äœ¿çšæ¹æ³
ç»åã®ç¹å®éšåã匷調ããããã«ç»çŽ æ°ãèœãšããã¯ããã¯
ç»åã«é¢ä¿ã®ãªãèŠçŽ ãè¿œå ããéã®ãªã³ãªãŒãã¹ã¯ã®æŽ»çšæ¹æ³
ã€ã³ãã€ã³ãæ©èœã®åºæ¬çãªäœ¿ãæ¹ãšãã€ã³ãããŒã«ã®æäœ
ããã³ããã®èª¿æŽæ¹æ³ãšç»åä¿®æ£æã®å質åäžã®ã³ã
èšå®é ç®ã®èª¿æŽã«ããç»åä¿®æ£ã®ç²ŸåºŠåäž
ããã€ãžã³ã°ã¹ãã¬ã³ã°ã¹ã®å€æŽã«ããç»åå€åã®åŸ®èª¿æŽ
ã·ãŒãã®å€æŽã«ãããã¶ã€ã³ã®ã©ã³ãã å€åã®æŽ»çš
ç¹å®ã®è¡šæ ãè¿œå ããããã³ããã®å ¥åãšä¿®æ£æ¹æ³
èæ¯ã®å€æŽæ¹æ³ãšã€ã³ãã€ã³ãããããã¹ã¯ã®äœ¿çš
æçµçãªç»åã®å®æãšä¿®æ£ããã»ã¹ã®å šäœå