{"id":825,"date":"2025-04-15T14:28:06","date_gmt":"2025-04-15T18:28:06","guid":{"rendered":"https:\/\/waterloobae.com\/?p=825"},"modified":"2025-08-20T13:30:12","modified_gmt":"2025-08-20T17:30:12","slug":"can-we-create-ghibli-style-image-locally","status":"publish","type":"post","link":"https:\/\/waterloobae.com\/blog\/2025\/04\/15\/can-we-create-ghibli-style-image-locally\/","title":{"rendered":"[AI] Can we create Ghibli Style image Locally?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Not Yet, I would say. At least not for me yet. It might be my skill or open-source AI limitations. I installed all of UI and AI in my Windows 11 machine WLS Ubuntu 24.04. You will need Python 3.10 and Git. If your machine configuration is new, your machine probably have higher version of Python. Then, download Python 3.10 and test to see you you are running Python 3.10<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo apt update\nsudo apt install python3.10 python3.10-venv\n\npython3.10 -m venv myenv\nsource myenv\/bin\/activate\npython3 --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You must see version 3.10 when you display Python 3 version. Also, create virtual environment for Python3.10. I wasted some time due to this.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Web Interface<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Automatic1111(A1111) is a popular, free, and open-source web interface for generating images using Stable Diffusion. It can be downloaded from GitHub, <a href=\"https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui\">https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"basic\" class=\"language-basic\">git clone https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui.git\ncd stable-diffusion-webui<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It has instructions in README.md. The screenshot below shows some interfaces. After that, we need to download models to run with this interface. I found Stable Diffusion v1-5 is included in Automatic111. If not you can download it from below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Models<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Stable Diffusion v1-5 can be downloaded from Hugging Face, <a href=\"https:\/\/huggingface.co\/stable-diffusion-v1-5\/stable-diffusion-v1-5\">https:\/\/huggingface.co\/stable-diffusion-v1-5\/stable-diffusion-v1-5<\/a>. After downloading it, copy .ckpt file under .\/models\/Stable-diffusion\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ghibli LoRA can be downloaded from CivitAI, <a href=\"https:\/\/civitai.com\/models\/6526\/studio-ghibli-style-lora\">https:\/\/civitai.com\/models\/6526\/studio-ghibli-style-lora<\/a>. After downloading it, copy .safetensors file under .\/models\/Lora\/<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Launch the Web UI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can run webui.sh script or python3.10 launch.py &#8211;xformers &#8211;listen to start web server. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">webui.sh\npython3.10 launch.py --xformers --listen<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It will start at <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">http:\/\/127.0.0.1:7860<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After setting up UI and Models, I asked to convert the left image and the result was not that close. It is somewhat creative and pretty but not I wanted.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"889\" src=\"https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/image-1024x889.png\" alt=\"\" class=\"wp-image-826\" srcset=\"https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/image-1024x889.png 1024w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/image-300x260.png 300w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/image-768x667.png 768w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/image-1536x1333.png 1536w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/image.png 1910w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the contrary, I asked ChatGPT the same task, and the blow show the result. It shows huge difference.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/ChatGPT-Image-Apr-15-2025-09_10_14-AM-1024x683.png\" alt=\"\" class=\"wp-image-829\" srcset=\"https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/ChatGPT-Image-Apr-15-2025-09_10_14-AM-1024x683.png 1024w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/ChatGPT-Image-Apr-15-2025-09_10_14-AM-300x200.png 300w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/ChatGPT-Image-Apr-15-2025-09_10_14-AM-768x512.png 768w, https:\/\/waterloobae.com\/wp-content\/uploads\/2025\/04\/ChatGPT-Image-Apr-15-2025-09_10_14-AM.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Not Yet, I would say. At least not for me yet. It might be my skill or open-source AI limitations. I installed all of UI and AI in my Windows 11 machine WLS Ubuntu 24.04. You will need Python 3.10 and Git. If your machine configuration is new, your machine probably have higher version of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":827,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,4,1],"tags":[],"class_list":["post-825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-it-tips","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/posts\/825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/comments?post=825"}],"version-history":[{"count":7,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/posts\/825\/revisions"}],"predecessor-version":[{"id":902,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/posts\/825\/revisions\/902"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/media\/827"}],"wp:attachment":[{"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/media?parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/categories?post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/waterloobae.com\/blog\/wp-json\/wp\/v2\/tags?post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}