Web UI(AUTOMATIC1111ç)ã使ã£ãAIã¢ã¼ãã®ä½ãæ¹ããè¦ãæ¸ãã¨ãã¦ã¾ã¨ããã
ã¯ã³ãã¿ã³ã§çµµãä½ããã¨ã¯ãããAIã§èªåã®æå³ããçµµãä½ãã«ã¯ãããªãã®å·¥ç¨ãå¿ è¦ã§ããã
ããã
ã¤ã³ã¹ãã¼ã«
ã¤ã³ã¹ãã¼ã«æ¹æ³ãåºæ¬çãªæä½è§£èª¬ã®è¨äºã¯å¤ãããã®ã§å¤é¨ãªã³ã¯ãè¼ããã
使ãæ¹
Features · AUTOMATIC1111/stable-diffusion-webui Wiki
AUTOMATIC1111 ã®ä¾¿å©ãªæ©è½ - dskjal
NovelAI 5ch Wiki
â ã§ã¯æ示èªä¸è¦§ã ãã§ãªããæ¢åãã£ã©ã®çææ¹æ³ãçæçµæç»åãç´¹ä»ããã¦ããå ´åãããã®ã§ããããããã
UIã®æ¥æ¬èªå
- Extensions > Available > Load From:ãã¯ãªãã¯ããã
- Extension index URLãä¸è¨ã§ãããã¨ã確èª
- https://raw.githubusercontent.com/wiki/AUTOMATIC1111/stable-diffusion-webui/Extensions-index.md
- ãja_JP Localizationããæ¢ããInstallããã¤ã³ã¹ãã¼ã«ããã
- Installed > Apply and restart UIã§UIã ãåèµ·åããã
- \extensions\stable-diffusion-webui-localization-ja_JP\localizations\ja_JP.jsonãããå 容ãæå調æ´ã§ããã
ãã®ä»æåã§è¿½å
- å¥éja_JP.jsonãã¡ã¤ã«ãå ¥æãã/localizationsãã©ã«ãå ã«å ¥ããã
- WebUIãèµ·åããSetting > ãLocalization (requires restart)ãå ãããå ç¨ã®ja_JPãé¸ã¶ã
- WebUIãåèµ·åããã
- æ°ã«å ¥ããªãç®æã¯èªåã§ä¿®æ£ããã追å ãããã§ããã
ç¨éã«å¿ãã¦ã¢ãã«ã使ãåãã
åã¢ãã«ã«ã¯å¿
ãå¾æã»ä¸å¾æããããç¹å®ã®ã¢ãã«ã ãã§åºããçµµã«ã¯éçãããã
èªåã®ã»ããç»é¢¨ãå¾æãªã¢ãã«ããããã使ãåãããã¨ã
ã¾ããtxt2imgã ãã§ãªãimg2imgãã¤ã³ãã¤ã³ãã§ã®é¨åä¿®æ£ã使ãåããããããã®å©ç¹æ¬ ç¹ãæ´»ããã¨ããããã
ã¢ãã«ã®ãã¼ã¸ã«ããããããã®è¯ããåãå ¥ãããã¨ãã§ããã(ãã å°ã é£æ度ã¯é«ãã®ã§ãåå¿è ã¯é å¸ããã¦ããã¢ãã«ã使ãã®ãããã)ã
txt2imgããå§ãã
ããã³ããã¨ããæ示ããã¹ããå
ã«ç»åãçæããæ©è½ã
ç»åçæã®ã¡ã¤ã³æ©è½ã§ãããã¾ãã¯ããã§ç»åãçæãã¦ããã
è¨å®ã¯åæè¨å®ã§ãããããèªåã¯ä¸è¨ã§ãã£ã¦ããã
- ã¹ãããæ°ï¼30step
- ãµã³ãã©ã¼ï¼DPM++2M
- ãµã¤ãºï¼ç¸¦é·ã®512x768(ãã£ã©ç«ã¡çµµåã)
- ãµã¤ãºï¼ç¸¦æ¨ªã®768x512(ãã£ã©ãèæ¯ãé ããçµµåã)
- ãµã¤ãºï¼ç¸¦æ¨ªã®1024x512(大人æ°ããã¤ãããã¯ãªåºãçµµåã)
- è¯ãçµµãåºããã·ã¼ãå¤ãåºå®ããhighres. Hix ã§åãµã¤ãºã«ããControlNetã®control_v11f1e_sd15_tileãå©ç¨ãã¦åçæããã
- img2imgã«éã£ã¦åçæãã¦ãããã
ããã³ãã(åªæ)ã試è¡é¯èª¤ãã¦æ¬²ããçµµã®ãã¼ã¹ãåºã
æ示ããã¹ã(ããã³ãã)ãé¤å¤ããã¹ã(ãã¬ãã£ãããã³ãã)ã試è¡é¯èª¤ããã
試è¡é¯èª¤ããªãããä½åº¦ãçæãããã¨ã§è¯ãçµµãè¦ã¤ããã
æåã®æ®µéã§ã¯å¤§ã¾ãã«æ¬²ãããã£ã©ãæ§å³ãåºããã¨ãç®æãã
ãã®å¾ã®ã¯ãªãªãã£ä¸ãä½æ¥ã§ãçµµã®å¾®å¦ãªãã¥ã¢ã³ã¹(表æ
ã»ç»é¢¨ã»ãã¼ãºãªã©)ã¯å¤åãã¦ãã¾ãã®ã§æ³¨æã
70%ç¨åº¦ã®åºæ¥ã®çµµãåºãã¤ããã§ããã¾ãæ°å¼µããã«ããã
主ã«æ¸ãè¾¼ãè¦ç´
- ãã³ãã¬ã¯ãªãªãã£ä¸ãåªæ
- ãã¼ãºã»ã¢ã³ã°ã«
- 人ç©(人æ°ã»æ§å¥ã»é«ªåã»ä½åãªã©)
- 表æ
- æ
- èæ¯
- ã©ã¤ãã£ã³ã°
- ãã¬ãã£ãããã³ããã®ãã³ãã¬åªæ
- ä½æéä¸ã§éªéã«ãªãè¦ç´ ã¯ããã¬ã«è¿½å
ç´°ããªãã¯ããã¯ã®è©³ç´°ã¯ãã¡ãã
ã·ã¼ãå¤ã§ã好ããªçµµãããä½ãè¾¼ã
ã·ã¼ãå¤ãè¨å®ãããã¨ã§ã大ã¾ããªçµæãåºå®ãããã¨ãã§ããã
ããã³ããã試è¡é¯èª¤ãã¦å¤§ã¾ãã«æ¬²ãããã£ã©ãæ§å³ã®çµµãåºããã¨ãã§ãããããã®ã·ã¼ãå¤ã使ã£ã¦ããã«çµµãçµµãç
®è©°ãã¦ããã
ã·ã¼ãå¤ã¯AIç»åçæã§éè¦ã§ãããããã³ãããå種è¨å®ã®å½±é¿åãå®æããªãã調æ´ãããã¨ãã§ããã
ã¡ãªã¿ã«ãAIç»åã¯ãå®è¡æã®å種è¨å®ããã¹ã¦åããªãã°ãå¿
ãå
¨ãåãçµæãå¾ãããã
(ã¢ãã«ã»embeddingsã»hypernetworksã»settingã»ã¹ãããæ°ã»ã·ã¼ãå¤ã»ããã³ãããªã©)
ã·ã¼ãå¤ãã³ãã¼ãã
çæçµæã®æ å ±ããã¹ãããæåã§ã³ãã¼ãã¦ãããããå³ã®ã¢ã¤ã³ã³ã使ãã¨ç´åã®ã·ã¼ãå¤ãã³ãã¼ã§ããã
ã¡ãªã¿ã«ãåæè¨å®(-1)ã ã¨ã·ã¼ãå¤ãæ¯åå¤æ´ããããããæ¯åéãçµæãåºãããã«ãªã£ã¦ããã
å¾ããã·ã¼ãå¤ã確èªãã
ã·ã¼ãå¤ã¯ç»åãã¼ã¿ã«å«ã¾ãã¦ããã®ã§å¾ããã§ã確èªã§ããã
(çæå¾ã®ç»åãPNG Infoã¿ãå
ã«æãè¾¼ã)
txt2imgã®è¨å®
åºæ¬è¨å®ã®ã¾ã¾ã§ãåé¡ãªãããããä½ãè¾¼ã¿ããæã¯å種è¨å®ãããç解ãã¦æ±ãã¨ããã
ãµã³ãã©ã¼ã®éã
ãµã³ãã©ã¼ã®ä½¿ãæ¹ã¨ãã¦ã¯ããæåã¯DDIMãDPM++2Mãªã©ã®æ©ããµã³ãã©ã¼ãä½è§£å度ã§åããããæ§å³ãè¦ã¤ãããKarrasãããã¤ã試ãã¦ã¿ã¦å¥½ããªçµµãè¦ã¤ããâ¦â¦ãã¿ãããªæããããããã
ç¹ã«ãã ããããªããªãEulerç³»ã®çµµãå¤ãããªããµã³ãã©ã¼ã1ã¤æ±ºãã¦ä½¿ãã°ããããèªåã¯DPM++2Mã使ã£ã¦ã¿ã¦ããã
ç»åã®ç¸¦æ¨ªæ¯ã«ãã£ã¦åºãçµµãéã
ç»åã®ç¸¦æ¨ªæ¯ã«ãã£ã¦ãåºãããçµµãéãã
欲ããæ§å³ã«ãã£ã縦横æ¯ã§çæããã®ã¯æ¡å¤éè¦ãªæ¨¡æ§ã
- 縦é·ã§ã¯äººç©1人ãçæ£é¢ããè¦ãçµµãç«ã¡çµµãªã©ãçæããããã
- 横é·ã§ã¯è¤æ°äººã横ã«å¯ã¦ãã人ç©ã®çµµãèæ¯ãçæããããã
- ããã«æ¨ªé·ã«ããã¨ãããå¤ãã®äººç©ãããçµµãçæããããã
ã¯ãªãªãã£ãä¸ãã
ããã³ãã
high quality, very high resolution, large filesize, original illustration, ultra detailed illustration, resin art,
((serious)),
[[full body shot]], ((dynamic angle)), [[jumping]],
music live, have a mike, singing, girl on the stage, high detailed Background, Large audience and psyllium light,
blue lighting,
[[hatsune miku]], Beautiful face, ((cool girl)),(seriously face), hair ornament, small breasts, slender,
blue hair, very long twintails, fluffy hair, messy hair, floating hair,
beautiful detailed deep eyes,
dress, white dress,very short skirt,Pannier skirt, frill, off shoulder, white sox,detailed clothes, classy and elegant clothes,
dynamic lighting, Rembrandt lighting, hdr, colorful refraction, overexposure, [lens flare], bloom, film Reflection,
((colorful Reflection)),
(beautiful detailed glow), light particles, light diffusion,
[chromatic aberration],
[[cyber effect]], light particles foreground,
Negative prompt: lowres, bad anatomy, 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, multiple legs, malformation, close up,
big breasts, photorealistic, ((loli)), ((cute)), ((red))
Steps: 20, Sampler: DPM++ 2M, CFG scale: 7, Seed: 2055406783, Size: 1024x1536, Model hash: 6569e224, Denoising strength: 0.7, Clip skip: 2, ENSD: 31337, First pass size: 0x0
çµµãããæãã«ãªã£ã¦ããããããããã¼ã¹ã«åçæãããã¨ã§ã¯ãªãªãã£ãä¸ããã
æ¹æ³ã¯ããã¤ãããããã©ã®æ¹æ³ã§ãå°è±¡ã¯è¥å¹²å¤ãã£ã¦ãã¾ãã»å¿
ãããããè¯ãçµæã«ãªãããã§ã¯ãªãã®ã§æ³¨æã
- txt2imgã§ãããã³ããç
®è©°ããã
- "Highres. fix"ãæå¹ã«ãããã¨ã
- ããããªçæçµæãå¾ãããtxt2imgã§é«ã¹ãããæ°ã»åãµã¤ãºåã§çæããã
- ååã§ãã¾ããããªãã£ãå ´åã¯ãimg2imgã«æããã
- ãµã¤ãºååã»ãã¤ãºå¼·åº¦0.5ï½0.7ç¨åº¦ã§èª¿æ´ãã¦ã¿ãã
- img2imgã¯ãä½ãå¤ãªãå çµµãä¿æãããããããã£ãã£ã¼ã«ãæ»ã«ãã¡ã»å 絵以ä¸ã®ãã£ãã£ã¼ã«ã追å ãããã¨ããã¨ãã¤ãºå¼·åº¦ãä¸ããå¿ è¦ãããããã¤ãºå¼·åº¦ãä¸ããã¨å çµµã®æ§å³ããé¢ãã¦ãã¾ãã®ãé£ããæã
ããã¤ã試ãã¦ã¿ã¦ãããè¯ãçµæãè¦ã¤ããã
img2imgã§ãµã¤ãºååãã¤ãã¤ãºå¼·åº¦0.5ç¨åº¦ãªããããªãå çµµãä¿æããã¾ã¾é«è§£å度åã§ããã
解å度ãä¸ãã
ãµã¤ãºãä¸ãã¦é«è§£å度ã§çæããã
é«ãµã¤ãºã»ã©ç´°é¨ãç´°ããæ¸ãè¾¼ãã§ãããã
æ¯åé«ç»è³ªçæããã®ã¯çæã³ã¹ããéãã®ã§ã欲ããå°è±¡ãåºã¾ã£ã¦ãã¦ãããæãã®çµµãå½ã¦ããããé«ç»è³ªçæã試ãã¦ã¿ããã¨ã
- æ¯çã¯å¤ããªããã¨ãç»åæ¯çãæ§å³ãå¤ããè¦å ã«ãªãã
- 512x768ãªããåã®1024x1536ã
- ä¸ãéããã¨å´©ããï¼
- æ大ã®2048ã«ããã¨ã"Highres. fix"ã§ããã£ãã£ã¼ã«éå¤ã§é¡ãå´©ãã¦ãã¾ãã
é«ãµã¤ãºã®çæã§ã¯ã"Highres. fix"ãæå¹ã«ãã
é«ãµã¤ãºã§çæããã¨ãè¤æ°äººã»è¤æ°ã¢ã³ã°ã«ãæ··ãã£ãçµµãã§ãã¦ãã¾ããã¨ãããã
Highres. fixãªãã·ã§ã³ã使ãã¨ã大ã¾ããªæ§å³ãåºãã¦ããçæããã®ã§ãæ§å³ãæ··ãããã¨ãåé¿ãããã¨ãã§ããã
(ä½ãã¹ãããã§ä½ã£ãçµµãå
ã«img2imgããããã«çæããã)
- å¤ãä½ãããã¨ãã±ãçµµã«ãªãã
ã¹ãããæ°ãä¸ãã
ã¹ãããæ°ãä¸ãããã¨ã§ç´°é¨ãæç»ãããã
30stepç¨åº¦ã試ãã¦ã¿ãã
ã¹ãããæ°ã§ã®ãã£ãã£ã¼ã«åä¸ãèãããªããçµµãå¤ãããªãç³»ãµã³ãã©ã¼ãå©ç¨ãããã¨ãçµµãå¤ããç³»ã§ã¯ãã®æ¹æ³ã¯ä½¿ããªãã
(DDIMãDPM++2Mãªã©ãã¹ãããæ°ã®é
ç®ãåç
§)
å¿ ããããã¹ãããæ°ã¯é«ããã°é«ãã»ã©ãããã¨ããããã§ã¯ãªãã®ã§æ³¨æã
- 大ä½20stepç¨åº¦ã§æ§å³ãå®å®ãã¦ããã
- 大ä½80stepãªã©é«ãã¹ãããæ°ã«ãªãã¨ããã以éå¤åãè¦ãããªãããã«ãªãã
- (çµæãåæãã)
- ãã°ãã使ã£ã¦ã¿ãçµæãèªåã¨ãã¦ã¯30stepç¨åº¦ã§ãååãããããªãã
img2imgã§è§£å度ã»ã¹ãããæ°ãä¸ãã
Denoising Strengthãä½ãã»ã©å
çµµã®å°è±¡ãä¿ã£ãã¾ã¾åçæã§ããã
ãã ãåã«ããã ãã§ã¯ãã£ãã£ã¼ã«ãæ½°ããã
ä¸è¨ã®ControlNetãå©ç¨ãããã¨ã§ãå°è±¡ãã®ã¾ã¾ã«è§£å度ä¸ãã§ããã
ControlNetã§æ§å³ãåºå®ãã
æ¡å¼µæ©è½ã®ãControlNetããå©ç¨ãããã¨ã§ãçæããçµµãå¥ã®ç»åã§å¶å¾¡ã§ããã
ããã«é«è§£å度åãããå ç»åããã®ã¾ã¾è¨å®ãããã¨ã§ããã¤ãºå¼·åº¦ãé«ãããã¨èµ·ããå¤å½¢ããã¼ãºå¤æ´ã»å¥å¦ãªæç»ã®è¿½å ããªããªã£ã¦ãå çµµéãã®æ§å³ã®ã¾ã¾é«è§£å度åãããã¨ãã§ããã
- ControlNetãã¤ã³ã¹ãã¼ã«ããã
- control_canny-fp16ããã¦ã³ãã¼ããã¦ããã
- WebUIã®UIãåèµ·åããã
- txt2imgãimg2imgã®ç»é¢å·¦ä¸ã«ControlNet v1.1.150ãªã©ã¨ããé ç®ã追å ãããã®ã§ãéãã
- ä¸è¨ã®è¨å®ãã¦å®è¡ããã
- Enableã§ãå½±é¿ãæå¹åããã
- Preprocessor(å©ç¨ããå¶å¾¡ã¿ã¤ã)ã«ããcannyããè¨å®ããã
- ã¢ãã«ã«ãcontrol_canny-fp16ãé¸æããã
- Control Weightã«ãå½±é¿åº¦ãè¨å®ããã
(0.5ï½0.7ãããããããï¼ãªãã¹ããã®ã¾ã¾ãããã®ãªã1.0)
*ControlNet1.1 Tile ãåããã¦èªå½åï½BDï½pixivFANBOX
img2imgã§ãè¯ãæ§å³ããå¥ã®çµµãåçæãã
txt2imgã§ã¼ãããä½ãããããimg2imgãå©ç¨ãã¦ããç¨åº¦æ§å³ã決ã¾ã£ãç¶æ
ããçæãããã¨æå³ãããã®ãä½ããããã
ç¹ã«è¤éãªæ§å³ãä½ãã¨ãã¯ãææ¸ãã®ä¸çµµã®æ¹ããã¾ãããã
ä¾ãçµµãä¸æã§ãä½ãããçµµãæ¢ã«æ±ºã¾ã£ã¦ãããªãã大éæãªã©ãçµµãèªåã§ç¨æãã¦img2imgã§çæãã¦ãã£ãæ¹ããã¾ããããããã
ã¾ããtxt2imgã§çæããè¯ãæãã®ãã®ãããã¡ãã§ããã«å度çæããã¨ããããæ¹ãããã
Denoising Strengthã®å¤ã«ã¤ãã¦
img2imgã§ã¯ãå
çµµã«ãã¤ãºãå ãã¦ãAIãããããã¼ã¹ã«ãã¤ãºãé¤å»ããããã«ãã¦å¥ã®çµµãåºãã
ãã®ãããDenoising Strengthã§å ãããã¤ãºãä½ãã»ã©å
çµµã«è¿ããå¼·ãã»ã©å¥ã®çµµãåºãããã
0.1ï½0.4ç¨åº¦ã ã¨ãããããã¤ãºãé¤å»ãããã¦ããªããããæ½°ããçµµã«ãªãã
0.5ç¨åº¦ã ã¨ãå
çµµãããã¾ãå¤åããªãé«è§£å度絵ã«ãªãã
0.7ç¨åº¦ã ã¨ã大ã¾ããªæ§å³ãä¼¼ãå¥ã®çµµã«ãªãã
1.0ç¨åº¦ã ã¨ãå¥ã®æ§å³ã®çµµã«ãªãã
ç°¡æãã¤ã³ããã¼ã«ã使ãã
ããã©ã«ãã§ã¯ãªãã®ã§ãèªåã§æå¹åãããã¨ã§ä½¿ç¨ã§ããã
ããªãç°¡æçãªãã¤ã³ããã¼ã«ã ããããã«å¤§éæã«ä¿®æ£ãããæã¯ããããã
ãã ãã·ã§ã¼ãã«ãããã¼ããªãã®ã§ãå¤é¨ãã¤ã³ããã¼ã«ã«æ
£ãã¦ãããªãå¤é¨ã使ã£ãæ¹ã楽ã ããã£ããä¿®æ£ã§ããã
- webui-user.batãããã¹ãã¨ãã£ã¿ã¼ã§éãã
- call webui.batããä¸ã«ãä¸è¨ã®ã³ãã³ãã追å ããã
- å¤ã§ãset COMMANDLINE_ARGS=ã使ã£ã¦ãããªããããã«ç¶ãã¦ãset COMMANDLINE_ARGS=--a --b --cãã®ããã«æ¸ãã
- WebUIãåèµ·åããã
set COMMANDLINE_ARGS=--gradio-img2img-tool=color-sketch
ã¤ã³ãã¤ã³ãã§ãé¨åçã«ä¿®æ£ãã
ç®ãæã»é£¾ããªã©ãé¨åçã«æ°ã«é£ããªãç®æãä¿®æ£ãããã¨ãã§ããã
å¨ãã®çµµãèæ
®ããªããèªåã§ç¹å®ã®ç®æãè£å®ãã¦ãããã
ãã¡ããçµæã«æ¯ãå¹ ãããã®ã§ãè¯ãçµæãåºãã¾ã§ããã¤ãºå¤ã調æ´ããããç¹°ãè¿ãçæãããã¨ã
- img2img > Inpaint ã¿ãã«åãæ¿ããã
- ç»åçæã«å©ç¨ããããã³ããã»ãã¬ãã£ãããã³ãããè²¼ãä»ããã
- ãã©ã·ã¢ã¼ãã«ãªãã®ã§ãä¿®æ£ãããç®æãå¡ãã
- 大éæã§ãå²ã¨åé¡ãªãè¡ããã
æåã§ä¿®æ£ãã¦ããimg2imgãè¡ã
æ¸ãè¾¼ã¿ããããã¿ãã¼ã«ã§ã®æ¡å¤§ç¸®å°ã»é¸æç¯å²ãã¼ã«ã§ã®åãè²¼ããªã©ã§ãæ°ã«é£ããªãé¨åãä¿®æ£ããã
img2imgã§åçæãããªãå¤å°éã§ãåé¡ãªãã
ç»åç·¨éãã¼ã«(Affinity Photo)
é«æ©è½ãªç»åç·¨éãã¼ã«ã¯ãã¯ãPhotoshopã§ããããå®ãã¦è²·ãåããè¯ããã°Affinity Photoãããã
Photoshop以å¤ã®ç»åç·¨éã½ããã§ã¯ä¸è¶³ãã¦ããæ©è½ãä¸éãæã£ã¦ããã
ç¹ã«ã¯ãªã¹ã¿ã§ã¯ã§ããªãããããªé¸æãã¼ã«ããã¡ãã£ã¨ããã´ãã®èªåé¤å»ãªã©ãã§ããç¹ã便å©ã
è¯ãçµæãé¨åçã«æåã§åæãã
微調æ´ä¸ã«è¯ãçµæãåºããç´°é¨ã®å°è±¡ã¯åã®æ¹ãããã£ããã¨ãããã¨ãããããã
ãã®å ´åã¯ãä»ã®çµæã®ããé¨åã ããæåã§åæããã°ããã
åãã·ã¼ãã§ä¼¼ãããã³ããã®çµæå士ãªã大ããã¬ã¤ã¢ã¦ããè²å³ãå¤ãããªãã®ã§ããã¹ã¯åæã ãã§ãèªç¶ã«åæã§ããã
ä¸ç»åã§ã¯ãé¡ãè³ãèæ¯ã®å·¦é¨åã»è¶³å ãªã©ãåæãã¦ããã
AIã®æ©è½ã¨ããããã§ã¯ãªãããæ§ã ãªãã¿ã¼ã³ãåºããAIã®è¯ããæ´»ãããã
- å¤é¨ãã¤ã³ããã¼ã«ã«ã¦ãåç´ã«ã»ããé¨åã ããææ¸ãã§ãã¹ã¯ãã¦ãè¯ãçµæãåºãå¥ã®ç»åã«éããã
- æãããªãã©ã·ã§å¡ãã ããªã®ã§ç°¡åã
- ç»åãç·¨éãããããã¢ããã¹ã±ã¼ã«ã«Highres. Fixã¯ä½¿ããªããªããã¢ããã¹ã±ã¼ã«ã«ã¯img2imgãå©ç¨ããã
- ãã¤ãºå¼·åº¦ã¯0.5ï½0.6ç¨åº¦ã«ããã¨å çµµã¨ã®å¤åãå°ãªãã
- ã¢ããã¹ã±ã¼ã«ããéã«ãé¨åçã«å
çµµã®æ¹ãè¯ããã¨ãããããã®ã§ããããåæ§ã«é¨ååæããã¨ããã
- åæã«ä½¿ã£ããã¹ã¯ãç»åæ¸ãåºããã¦ãã¤ã³ãã¤ã³ã ã¢ãããã¼ãã§ãã®ãã¹ã¯ã使ç¨ããã°ãé¨åçã«ä¿®æ£ããããã
ã¤ã©ã¹ãã®ãã£ã³ãã¹ãµã¤ãºãåºãã
ãããçµµãçæã§ãããã©ç»åã®ç¸¦æ¨ªæ¯ãæ°ã«é£ããªããã¨ãããã¨ãããã
img2imgã®ã¤ã³ãã¤ã³ãã使ã£ã¦ãåå¨ããªããã£ã³ãã¹ãµã¤ãºãåºããæ¹æ³ãç´¹ä»ããã
ãã¼ã¿ã«ãªãã¢ã¼ãã£ã¹ãã®ç»é¢¨ããã£ã©ã®ç¹å¾´ã追å ãã(embeddings/hypernetworks/LoRAãªã©)
ç»é¢¨ãã¡ã¤ã«ã追å ãããã¨ã§ãå ã®ã¢ãã«ã«ã¯ãªãç»é¢¨ãæ¦å¿µã»ãã£ã©ã®ç¹å¾´ãªã©ã追å ãããã¨ãã§ããã
hypernetwork Strengthã調æ´ããã°å ã®ã¢ãã«ã¨hypernetworkã®çµµæãããã¯ã¹ããããããå ã¨ãªã£ãã¢ã¼ãã£ã¹ãã®ç»é¢¨ã¨ãç°ãªã£ãçµµãä½ããã¨ãã§ããã
çæç»åã管çãã
大éç»åã®æ´çã¯ãPhoto Scape Xãå©ç¨ããã¨ããã
大éç»åã®é«éä¸è¦§è¡¨ç¤ºãã¬ã¼ãã£ã³ã°ãã§ããã
ç»åãã¥ã¼ã¢ã¼ã¢ããªã³ã使ãã¨ä¾¿å©
stable-diffusion-webui-images-browser
ä»ã¾ã§çæããç»åãä¸è¦§ã§è¦ããã¨ãã§ããã
PNG infoã¨åæ§ã«ä½¿ç¨ããããã³ããã®ç¢ºèªã転éããããã¾ã§ãããã¼ã¿ãæ¯ãè¿ããããã¦ä¾¿å©ã
- Extensions > Available > Load from: ãæ¼ãã
- ä¸è¦§ããImage browserãæ¢ããã¤ã³ã¹ãã¼ã«ããã
ãã®ä»ã®å°ãã¿
ååãã¼ã§è¨å®å¤æ´
è¨å®ã®ã¹ã©ã¤ãã¼ã¯ãè¨å®ãé¸æç¶æ
ãªãååãã¼ã®å·¦å³ã§ãæä½ã§ããã
å¤ãç´°ããæå®ãããå ´åã¯ããã§æä½ããã
Web UIãèµ·åãããããã
Web UI ã¹ã¿ã¼ãã¡ãã¥ã¼ã®ç»é²ãããã¨ã§ãèµ·åããããããã
ãã®ã¢ããªãä»å¾ããã使ããããªãç»é²ãã¦ããã¨ããã
ããã©ã«ãè¨å®ãå¤ãã¦ä½¿ãããããã(ui-config.json)
ããã³ããããã¬ãã£ãããã³ããã§ã»ã¼å¿
ã使ãå®åæã¯ãæåãã追å ãããããã«è¨å®ãã¦ããã¨ãããããã
ãµã³ããªã³ã°åæ°ãå¹
ã»é«ãè¨å®ããèªåã®ãã使ã好ã¿ã®è¨å®ã«ããã¨ããã
ç¹ã«ãWebUIãéãç´ããããã¿ããåèªã¿è¾¼ã¿ããã¨å ¨ã¦ã®è¨å®ãæ»ã£ã¦ãã¾ãã®ã§ãããã©ã«ãè¨å®ã¯ãªãã¹ãããã«å§ããããè¨å®ã«ãã¦ããã¨æ¥½ã
- /ui-config.jsonãããã¹ãã¨ãã£ã¿ã¼ã§éãã
- ä¸è¨ã®å ´æã®""å
ã«ã好ããªæç« ã追å ããã
- "txt2img/Prompt/value": ""
- "txt2img/Negative prompt/value": ""
- "img2img/Prompt/value": ""
- "img2img/Negative prompt/value": ""
- ã¤ãã§ã«ç¸¦ãµã¤ãºã®ããã©ã«ãå¤ã768ã«å¤ããã¨ã人ç©ã®çæããããããªã£ã¦ããã
- "txt2img/Height/value": 768,
- "img2img/Height/value": 768,
- WebUIãåèµ·åããã
NovelAIç£ããã³ãããå¤æããã¢ããªã³
ããã³ããå
ã®{}ãã()ã«å¤æãããã¿ã³ã追å ããã
ãããã§å
¬éããã¦ããNovelAIç£ããã³ãããæµç¨ããæã«å°å³ã«ä¾¿å©ã
- Extensions > Available > Load from: ãæ¼ãã
- ä¸è¦§ããnovelai-2-localãæ¢ããã¤ã³ã¹ãã¼ã«ããã
ã¡ãã¥ã¼ãã¶ã¤ã³ã¯ã¦ã¼ã¶ã¼CSSã§èª¿æ´ã§ãã
user.cssã使ã£ã¦ãå©ç¨ããªãæ©è½ã®ã¡ãã¥ã¼ãé表示ã«ããããã¬ã¤ã¢ã¦ããå¤å°èª¿æ´ãããã¨ãã§ããã
ç¹ã«ä¸é
ç®ã®æ¹æ³ã§ãããã¡ãã¥ã¼ãå¢ããã¨ç»é¢ååã«ããæã«å æçãé«ãã®ã§ããã¼ããã½ã³ã³ã®ãããªçãç»é¢ã§ã¯èª¿æ´ããã¨ããã
Extrasã§ãåç´ã«ç»è³ªãä¸ãã
Extrasã¿ããããç»åãåç´ã«é«è§£å度ã«ãããã¨ãã§ããã
åè¨å®ãã¨ã«ç»è³ªã®ä¸ãæ¹ã«éãããã模æ§ã
çæããç»åã®åªæãå度確èªãã(PNG Info)
ããæãã®çµµãçæã§ãã¦ãããã®åªæãå¿ãã¦ãã¾ããã¨ãããã
PNG Info ã¿ãã§ç»åã渡ãã°ãçæããæã®åªæã¨è¨å®ã確èªãããã¨ãã§ããã
ã·ã¼ãå¤ã調ã¹ãã®ã«ã使ããã
ããã¯ããããããDLããAIã¢ã¼ãã®ãã¡ã¤ã«ã§ã確èªã§ãããã¨ãããã
(ã¢ãããã¼ãæã«ç»åãå¤æããããµã¤ãã ã¨ãåãè¾¼ã¾ããæ
å ±ããªããªã£ã¦ãã¾ãã®ã§ç¢ºèªã§ããªã)
ãã¼ããã½ã³ã³ã§ã¯é»æºæ¥ç¶ãã¦ãããã¨
ãã¼ããã½ã³ã³ã®ããããªã¼é§åã§ã¯çæããªãæ¹ãããã
é»åãå¤ãæ¶è²»ããããä½é»åã¢ã¼ãã§ã¯çæãé
ããªãã
èªåããã¼ããã½ã³ã³ç°å¢ãªã®ã§ããã¾ã«çæãé
ãåå ãé»æºåºãå¿ãã ã£ãã¨ãããã¨ãããã
ãã¼ããã½ã³ã³ã§çæããå ´åã¯ãé»æºæ¥ç¶ããç¶æ ã§è¡ãã
çæçµæãé»ç»åã«ãªã
SDã¢ããã¹ã±ã¼ã«ãªã©ã§é«è§£å度æå®ããã¨(?)ãé¨åçã«é»ããªã£ããå
¨é¨ãé»ç»åã«ãªãåé¡ã
ãã¤ãã®ã¢ããããèµ·ããåé¡ã®æ¨¡æ§ã
ä¸è¨ã®æ¹æ³ã§è§£æ±ºããå ´åãããã
- webui-user.batãã¡ã¤ã«ããããã¹ãã¨ãã£ã¿ã¼ã§éãã
- ãset COMMANDLINE_ARGS=ãã®å¾ã«ãã --no-half-vaeãã追å ããã
ä¿®æ£å
set COMMANDLINE_ARGS=ä¿®æ£å¾
set COMMANDLINE_ARGS=--no-half-vae
Maybe hint for black image bug · Issue #2830 · AUTOMATIC1111/stable-diffusion-webui
ååãã¼ä¸ä¸ã§ã®(ããã¹ã:1.0)è¨å®æ©è½ãç¡å¹åãã
ããã¹ãé¸æããªããShift + ââãã¼ã§ãé¸æç¯å²ã®ããã¹ããå²ã£ã¦å¤è¨å®ãã§ããã
ãããããã®ãã¼ãããã¯é常ã®ããã¹ãç·¨éæä½ã§ãæ®éã«ä½¿ãæä½ãªã®ã§èª¤çãã¦ãã¾ãä¸ãããç´ãã§ããªãã
ãã®æ©è½ãç¡å¹åããã«ã¯ãä¸è¨ãã¡ã¤ã«å ã®ããã¹ããåé¤ããã// ãã§ã³ã¡ã³ãã¢ã¦ãããã
\stable-diffusion-webui\javascript\edit-attention.js
è¦åãã¦ããçµµã®ç¯å²ãæ¡å¼µãã(Outpainting mk2)
ãã¾ãçæã§ããçµµã§ããèãè¦åãã¦ããããé é ãè¦åãã¦ãã¾ã£ãå ´åãããã
ããã¯ãOutpainting mk2ã使ããã¨ã§ãç»é¢ã®å¤å´ã®é åãçæãããã¨ãã§ããã
ãã ãããã§ã¯ãã¾ããããªããã¨ãå¤ãã®ã§ãå¾è¿°ã®ããã«æåã§æ¡å¼µãã¦ã¤ã³ãã¤ã³ãããæ¹ã楽ãããããªãã
- img2img >ä¸çªä¸ã® Script > NoneãããOutpainting mk2 ã«å¤æ´ãã
- ä½ã£ãæã¨åãåªæã使ã£ã¦çæããã
ã¢ããªã®ã¢ãããã¼ã
git pull ã使ã
- ã¢ããªã®ãã©ã«ãã¼ãå³ã¯ãªã㯠> git bash here
- éããç»é¢ã«ã"git pull"ã¨å ¥åãã¦ã¨ã³ã¿ã¼ãæ¼ãã
Source Treeã使ã£ã¦ãã¼ã¸ãã
ä¸è¨æ¹æ³ã®git pull ã§ã¯ã¨ã©ã¼ãåºã¦å¤±æããå ´åã¯ãGit管çã¢ããªã使ã£ã¦ãã¼ã¸ããã¨ããã
èªåã§WebUIã®ãã¼ã¿ãå¤æ´ããæã«ããã¼ã¸ããå¿
è¦ãããã
- Source Treeãã¤ã³ã¹ãã¼ã«ããã
- WebUIã®ãã©ã«ãã¼ãSource Treeã«è¿½å ããã
- "ãã£ãã"ã§ãæ°ããæ´æ°å 容ã ããåå¾ããã
- "ãã¼ã¸"ã§ã追å ãããæ´æ°å 容ã®æãä¸ã®é ç®ãé¸æããOKãå®è¡ããã
- ããã³ã³ã¯ãªãã(競å)ãèµ·ããããé©å®å¿
è¦ãªæ¹ãåªå
ãã¦ãæ´æ°å
容ã解決ããã
- èªåãã¢ããªã®å 容ãç·¨éãã¦ããã¨ãã®ã³ã³ã¯ãªãããèµ·ããã
- åé¡ãªããã°èªåã®æ´æ°å 容ãåªå ãã¦ãããã
ãªã³ã¯
ææ³ã«ã¤ãã¦ã¯ãã¡ãã