{"id":29312,"date":"2025-02-25T09:16:21","date_gmt":"2025-02-25T01:16:21","guid":{"rendered":"https:\/\/www.1ai.net\/?p=29312"},"modified":"2025-02-21T21:18:28","modified_gmt":"2025-02-21T13:18:28","slug":"stable-diffusion%e6%80%8e%e4%b9%88%e7%94%a8%ef%bc%9fstable-diffusion%e5%90%8e%e6%9c%9f%e5%a4%84%e7%90%86%e4%b8%8epng%e5%9b%be%e7%89%87%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/29312.html","title":{"rendered":"How to use Stable Diffusion, Stable Diffusion post-processing with PNG image information"},"content":{"rendered":"<p>In this section, we will learn in-depth about image enlargement, face repair and batch generation in post-processing, as well as the acquisition and erasure of PNG image information. Through two hands-on cases, we will learn how to improve the clarity and visual effect of product images and how to fix blurry face photos.<\/p>\n<p>I. Post-processing: picture enlargement and repair<\/p>\n<p>1\u3001Picture enlargement<\/p>\n<p>exist<a href=\"https:\/\/www.1ai.net\/en\/tag\/stable-diffusion\" title=\"_Other Organiser\" target=\"_blank\" >Stable Diffusion<\/a>In the early stages of the process, the resolution of the generated images is often small and cannot fulfill the commercial use. The first function of post-processing - image enlargement - can help us enlarge the image to 2K, 4K or even 8K while maintaining clarity.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29313\" title=\"e92145bcj00ss1bko0038d000u000esm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/e92145bcj00ss1bko0038d000u000esm.jpg\" alt=\"e92145bcj00ss1bko0038d000u000esm\" width=\"1080\" height=\"532\" \/><\/p>\n<ol>\n<li><strong>zoom ratio<\/strong>: Adjust the magnification of the picture as needed, usually a maximum of four times at once to maintain the picture effect.<\/li>\n<li><strong>Amplification algorithm<\/strong>: Choose a suitable amplification algorithm such as<strong>R-ESRGAN 4x+<\/strong>(cubic) and<strong>R-ESRGAN 4x+ Anime6B<\/strong>(secondary) to fill in the colors of the new pixels to ensure that the enlarged image is clear.<\/li>\n<\/ol>\n<p>We'll go through a case study showing how to zoom in on a product image and improve its clarity to make it more suitable for business presentations.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29314\" title=\"db744cf9j00ss1bkp00ead000cw00hcm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/db744cf9j00ss1bkp00ead000cw00hcm.jpg\" alt=\"db744cf9j00ss1bkp00ead000cw00hcm\" width=\"464\" height=\"624\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29315\" title=\"233b4e6ej00ss1bkq01fkd000qf00zkm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/233b4e6ej00ss1bkq01fkd000qf00zkm.jpg\" alt=\"233b4e6ej00ss1bkq01fkd000qf00zkm\" width=\"951\" height=\"1280\" \/><\/p>\n<p>2\u3001Face Repair<\/p>\n<p>The Face Repair feature can clarify unrecognizable faces, especially for images generated when the resolution is small. We can do this by selecting different restoration algorithms such as<strong>GFPGAN<\/strong>or<strong>CodeFormer<\/strong>, to optimize the details and texture of the face.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29316\" title=\"b91992a4j00ss1bko000sd000q900ckm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/b91992a4j00ss1bko000sd000q900ckm.jpg\" alt=\"b91992a4j00ss1bko000sd000q900ckm\" width=\"945\" height=\"452\" \/><\/p>\n<p>Another case will focus on how to fix blurry face photos to restore their original detail and texture.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29317\" title=\"eaf252c2j00ss1bko00agd000u001e0m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/eaf252c2j00ss1bko00agd000u001e0m.jpg\" alt=\"eaf252c2j00ss1bko00agd000u001e0m\" width=\"1080\" height=\"1800\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29318\" title=\"efe9e96aj00ss1bkr02oyd000u001e0m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/efe9e96aj00ss1bkr02oyd000u001e0m.jpg\" alt=\"efe9e96aj00ss1bkr02oyd000u001e0m\" width=\"1080\" height=\"1800\" \/><\/p>\n<p>3. Batch processing<\/p>\n<p>In actual business, we may need to process a large number of images in a unified way. The batch processing feature allows us to process multiple images at once, either for zooming or face repair, which greatly improves work efficiency.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29319\" title=\"ca1378afj00ss1bko0073d000u000esm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/ca1378afj00ss1bko0073d000u000esm.jpg\" alt=\"ca1378afj00ss1bko0073d000u000esm\" width=\"1080\" height=\"532\" \/><\/p>\n<p>II. PNG image information: getting and erasing parameters<\/p>\n<p>1\u3001Get the parameters of other people's pictures<\/p>\n<p>With the PNG image information function, we can easily get the generation parameters of other people's images, including positive cue words, negative cue words, sampling iteration steps, and so on. This feature is very helpful for learning and reproducing good works.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29321\" title=\"1bfdaf91j00ss1bko006dd000u000esm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/1bfdaf91j00ss1bko006dd000u000esm.jpg\" alt=\"1bfdaf91j00ss1bko006dd000u000esm\" width=\"1080\" height=\"532\" \/><\/p>\n<p>2. Erase the parameters of your own picture<\/p>\n<p>To protect our trade secrets, we can erase the generation information from our images. By exporting the image using PS or Photopea, we can overwrite the original parameters generated with Stable Diffusion, thus hiding our generation practices.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29320\" title=\"86b591c9j00ss1bko006qd000u000esm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/86b591c9j00ss1bko006qd000u000esm.jpg\" alt=\"86b591c9j00ss1bko006qd000u000esm\" width=\"1080\" height=\"532\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29322\" title=\"f44ced12j00ss1bko0030d000u0007dm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/02\/f44ced12j00ss1bko0030d000u0007dm.jpg\" alt=\"f44ced12j00ss1bko0030d000u0007dm\" width=\"1080\" height=\"265\" \/><\/p>\n<p>III. Summary<\/p>\n<p>In this section we learn practical skills for Stable Diffusion post-processing, including image enlargement, face restoration and batch processing, as well as how to read and erase parameters in PNG image information. These skills will help us to improve the quality of our images and protect our creative achievements in real projects. I hope this article will help you better master the post-processing skills of Stable Diffusion.<\/p>","protected":false},"excerpt":{"rendered":"<p>In this section, we will learn in-depth about image enlargement, face repair and batch generation in post-processing, as well as the acquisition and erasure of PNG image information. Through two hands-on cases, we will learn how to improve the clarity and visual effect of the product image, and how to repair blurred face photos. First, post-processing: picture enlargement and repair 1, picture enlargement In the early days of Stable Diffusion, the resolution of the pictures generated is often small and cannot meet the commercial use. The first function of post-processing - picture enlargement - can help us enlarge the picture to 2K, 4K or even 8K, while maintaining clarity. Zoom ratio: Adjust the magnification of the picture as needed, generally the maximum one-time magnification is four times to maintain the picture effect. Zoom Algorithm: Choose the co<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149,144],"tags":[2328,197,198],"collection":[262],"class_list":{"0":"post-29312","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","9":"tag-stable-diffusion","11":"collection-stablediffusion"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/29312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=29312"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/29312\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=29312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=29312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=29312"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=29312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}