{"id":356,"date":"2023-05-19T19:58:01","date_gmt":"2023-05-19T23:58:01","guid":{"rendered":"https:\/\/kryptech.name\/site\/?p=356"},"modified":"2023-05-19T19:58:03","modified_gmt":"2023-05-19T23:58:03","slug":"stable-diffusion-generation-stormy-castle","status":"publish","type":"post","link":"https:\/\/kryptech.name\/site\/index.php\/stable-diffusion-generation-stormy-castle\/","title":{"rendered":"Stable Diffusion Generation: Stormy Castle"},"content":{"rendered":"\n<p>I was experimenting with a more flat, animated style in <a href=\"https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui\">Stable Diffusion<\/a> using various models. Clouds are fascinating and storm clouds are even better. Add in some rugged mountains and a white castle, all at sunset, and that sounds like fun!<\/p>\n\n\n\n<p>After some tinkering with models and prompts I founds a generation batch that looked promising, with the general style I wanted. I chose this picture because of the bright colours, beautiful contrast, warm inviting castle, and the cute path. Here&#8217;s the prompt:<\/p>\n\n\n\n<p><em>(anime), (illustration), cartoon, detailed, a white castle on the top of a rugged mountain, dark storm clouds in a huge sky above, sunset at dusk, fantasy, intricate<\/em><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/00829-DPM-SDE-Karras-512x512-x40-108925501-Custom.png\"><img loading=\"lazy\" width=\"512\" height=\"512\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/00829-DPM-SDE-Karras-512x512-x40-108925501-Custom.png\" alt=\"\" class=\"wp-image-359\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/00829-DPM-SDE-Karras-512x512-x40-108925501-Custom.png 512w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/00829-DPM-SDE-Karras-512x512-x40-108925501-Custom-300x300.png 300w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/00829-DPM-SDE-Karras-512x512-x40-108925501-Custom-150x150.png 150w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>I wanted this picture to be wider so I used outpainting to extend it horizontally in both directions. The left side was pretty good but the right bottom was giving results that I didn&#8217;t like. I wanted more of an abyss. So I opened <a href=\"https:\/\/gimp.org\">GIMP<\/a> and crudely painted in the colour I wanted there.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01811-Euler-a-768x512-x100-3885348003-Custom.png\"><img loading=\"lazy\" width=\"768\" height=\"512\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01811-Euler-a-768x512-x100-3885348003-Custom.png\" alt=\"\" class=\"wp-image-361\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01811-Euler-a-768x512-x100-3885348003-Custom.png 768w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01811-Euler-a-768x512-x100-3885348003-Custom-300x200.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>I inpainted the bottom right and also the top left, to clean it up and make it more consistent with the rest of the picture.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01816-DDIM-768x512-x30-1982780954-Custom.png\"><img loading=\"lazy\" width=\"768\" height=\"512\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01816-DDIM-768x512-x30-1982780954-Custom.png\" alt=\"\" class=\"wp-image-362\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01816-DDIM-768x512-x30-1982780954-Custom.png 768w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01816-DDIM-768x512-x30-1982780954-Custom-300x200.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>I outpainted more on the left and got some lighting. Makes sense since I did ask for storm clouds in the prompt:<\/p>\n\n\n\n<p><em>(anime), (illustration), cartoon, detailed, trees with rugged mountains in the distance, <strong>dark storm clouds<\/strong> in a wide sky, sunset at dusk, fantasy, intricate<\/em><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040-Custom.png\"><img loading=\"lazy\" width=\"960\" height=\"512\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040-Custom.png\" alt=\"\" class=\"wp-image-363\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040-Custom.png 960w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040-Custom-300x160.png 300w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040-Custom-768x410.png 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>I didn&#8217;t like how the clouds seem to end on the left, though, nor how the lightning was occluded by the clouds. I used GIMP to draw in thicker clouds and added a jagged lightning bolt. I lightened the clouds some by the lightening to encourage a glow in the clouds there, for more realism.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040_EDIT-Custom.png\"><img loading=\"lazy\" width=\"910\" height=\"512\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040_EDIT-Custom.png\" alt=\"\" class=\"wp-image-364\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040_EDIT-Custom.png 910w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040_EDIT-Custom-300x169.png 300w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01818-Euler-a-960x512-x100-3596130040_EDIT-Custom-768x432.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>And inpainted to clean that up. Splendid lightning!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01823-DDIM-910x512-x40-1595443049-Custom.png\"><img loading=\"lazy\" width=\"910\" height=\"512\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01823-DDIM-910x512-x40-1595443049-Custom.png\" alt=\"\" class=\"wp-image-365\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01823-DDIM-910x512-x40-1595443049-Custom.png 910w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01823-DDIM-910x512-x40-1595443049-Custom-300x169.png 300w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01823-DDIM-910x512-x40-1595443049-Custom-768x432.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The scenery is really nice now. Time to upscale and then focus on cleaning up the castle (mansion?) and other oddities.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559.jpg\"><img loading=\"lazy\" width=\"1024\" height=\"576\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559-1024x576.jpg\" alt=\"\" class=\"wp-image-366\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559-1024x576.jpg 1024w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559-300x169.jpg 300w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559-768x432.jpg 768w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559-1536x864.jpg 1536w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01827-DPM-SDE-Karras-1820x1024-x30-683800559.jpg 1820w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>OK, those balconies look wonky, the windows in the roof are duplicated, and the top piece is lopsided. Also, there&#8217;s an extra post in the pathway fence. I had done four upscales and used GIMP to edit together three of them, piecing the best bits together. Then I did more inpainting in various parts of the castle to fix issues or make it more the way I wanted. I&#8217;m quite tickled with the final result! It feels like it&#8217;s got a thrilling story to tell.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067.jpg\"><img loading=\"lazy\" width=\"1024\" height=\"576\" src=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067-1024x576.jpg\" alt=\"\" class=\"wp-image-367\" srcset=\"https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067-1024x576.jpg 1024w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067-300x169.jpg 300w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067-768x432.jpg 768w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067-1536x864.jpg 1536w, https:\/\/kryptech.name\/site\/wp-content\/uploads\/2023\/05\/01874-DDIM-1820x1024-x40-3719063067.jpg 1820w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I was experimenting with a more flat, animated style in Stable Diffusion using various models. Clouds are fascinating and storm clouds are even better. Add in some rugged mountains and a white castle, all at sunset, and that sounds like fun! After some tinkering with models and prompts I founds a generation batch that looked &#8230;<a class=\"post-readmore\" href=\"https:\/\/kryptech.name\/site\/index.php\/stable-diffusion-generation-stormy-castle\/\">read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":360,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[24,30,29],"_links":{"self":[{"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":3,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":369,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/posts\/356\/revisions\/369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/media\/360"}],"wp:attachment":[{"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kryptech.name\/site\/index.php\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}