{"id":35030,"date":"2025-05-12T11:16:20","date_gmt":"2025-05-12T03:16:20","guid":{"rendered":"https:\/\/www.1ai.net\/?p=35030"},"modified":"2025-05-12T11:16:20","modified_gmt":"2025-05-12T03:16:20","slug":"%e5%9b%be%e7%89%87%e6%97%a0%e6%8d%9f%e6%94%be%e5%a4%a7%e5%8f%98%e6%b8%85%e6%99%b0%ef%bc%8ccomfyui%e5%9b%be%e7%89%87%e9%ab%98%e6%b8%85%e6%94%be%e5%a4%a7%e5%b7%a5%e4%bd%9c%e6%b5%81%e5%88%86%e4%ba%ab","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/35030.html","title":{"rendered":"Picture lossless enlargement becomes clear, ComfyUI picture HD enlargement workflow sharing tutorials"},"content":{"rendered":"<p>Today we use 4 methods to realize the picture HD zoom function in Comfyui, not only can we realize the wallpaper level lossless zoom of the picture, but also can automatically complement the picture details, so that the details are richer, the key is the method is very simple.<\/p>\n<p><strong>First, we need a basic Vincennes diagram<a href=\"https:\/\/www.1ai.net\/en\/tag\/%e5%b7%a5%e4%bd%9c%e6%b5%81\" title=\"_Other Organiser\" target=\"_blank\" >Workflow<\/a><\/strong><\/p>\n<p>Here we just give a simple cue word: 8K, a girl, smiling<\/p>\n<p>Sampler: euler<\/p>\n<p>Scheduler: Karras<\/p>\n<p>Image size: 512*768<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35031\" title=\"73966607j00sw4otb0058d000u000dem\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/73966607j00sw4otb0058d000u000dem.jpg\" alt=\"73966607j00sw4otb0058d000u000dem\" width=\"1080\" height=\"482\" \/><\/p>\n<p>Default workflow run out of the picture is not too clear, the following we through the 4 methods of this workflow to transform, to achieve the picture zoom function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35031\" title=\"73966607j00sw4otb0058d000u000dem\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/73966607j00sw4otb0058d000u000dem.jpg\" alt=\"73966607j00sw4otb0058d000u000dem\" width=\"1080\" height=\"482\" \/><\/p>\n<p><strong>II. Picture Enlargement<\/strong><\/p>\n<p>1. Zoom in through the model<\/p>\n<p>(1) Right-click the mouse in the blank space and add the model zoom node as shown below<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35033\" title=\"20c5077fj00sw4otb004pd000qe00knm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/20c5077fj00sw4otb004pd000qe00knm.jpg\" alt=\"20c5077fj00sw4otb004pd000qe00knm\" width=\"950\" height=\"743\" \/><\/p>\n<p>(2) Then add the \"Zoom Model Loader\" node.<\/p>\n<p>Model selection 4x-ultrasharp.pth<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35034\" title=\"d3f5e28fj00sw4otb0011d000nf00a5m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/d3f5e28fj00sw4otb0011d000nf00a5m.jpg\" alt=\"d3f5e28fj00sw4otb0011d000nf00a5m\" width=\"843\" height=\"365\" \/><\/p>\n<p>Model download link:<\/p>\n<p>https:\/\/huggingface.co\/Afizi\/4x-UltraSharp.pth\/blob\/main\/4x-UltraSharp.pth<\/p>\n<p>Model placement path: models\\upscale_models<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35032\" title=\"ece522dfj00sw4ota000dd000fb006jm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/ece522dfj00sw4ota000dd000fb006jm.jpg\" alt=\"ece522dfj00sw4ota000dd000fb006jm\" width=\"551\" height=\"235\" \/><\/p>\n<p>(3) Connecting nodes<\/p>\n<p>Then connect the \"Image\" output on the right side of the VAE node to the input on the left side of the \"Zoom in with model\" node, and then connect the right side to the \"Preview Image\" node.<\/p>\n<p>For comparison, the enlarged image is quite a bit clearer than it was before it was enlarged.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35035\" title=\"70e44d6fj00sw4otc00f7d000u000mdm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/70e44d6fj00sw4otc00f7d000u000mdm.jpg\" alt=\"70e44d6fj00sw4otc00f7d000u000mdm\" width=\"1080\" height=\"805\" \/><\/p>\n<p>(4) Add the \"Image Comparison\" node.<\/p>\n<p>Double-click in the blank space to add rgthree's Image Comparison node (this node comes with the Autumn Leaves Integration Pack)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35036\" title=\"c2e1317ej00sw4ota000td000pz006om\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/c2e1317ej00sw4ota000td000pz006om.jpg\" alt=\"c2e1317ej00sw4ota000td000pz006om\" width=\"935\" height=\"240\" \/><\/p>\n<p>Connect the image output nodes of VAE decoding and \"model zooming to the two nodes A and B of image comparison, respectively.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35037\" title=\"9e34689aj00sw4otb002bd000n900bim\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/9e34689aj00sw4otb002bd000n900bim.jpg\" alt=\"9e34689aj00sw4otb002bd000n900bim\" width=\"837\" height=\"414\" \/><\/p>\n<p>With this image comparison node, you can first clearly see the difference between the two pictures before and after the clarity of the above, after zooming in the picture even the hair strands are much clearer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35038\" title=\"ba7594aej00sw4otd00r6d000u000rom\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/ba7594aej00sw4otd00r6d000u000rom.jpg\" alt=\"ba7594aej00sw4otd00r6d000u000rom\" width=\"1080\" height=\"996\" \/><\/p>\n<p>2\u3001Latent scaling<\/p>\n<p>(1) Ignore unwanted nodes<\/p>\n<p>Start by selecting the nodes you don't need and press Ctrl+B to have the workflow ignore them when it runs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35039\" title=\"21006329j00sw4otb004od000u0008km\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/21006329j00sw4otb004od000u0008km.jpg\" alt=\"21006329j00sw4otb004od000u0008km\" width=\"1080\" height=\"308\" \/><\/p>\n<p>(2) Add Latent scaling node by factor<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35040\" title=\"230266e0j00sw4otb0033d000h400hqm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/230266e0j00sw4otb0033d000h400hqm.jpg\" alt=\"230266e0j00sw4otb0033d000h400hqm\" width=\"616\" height=\"638\" \/><\/p>\n<p>Select \"Proximity-Accurate\" for the scaling method.<\/p>\n<p>The amplification factor is chosen according to the need, here 2 times is chosen.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35041\" title=\"5119d1aaj00sw4ota000ud000je009dm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/5119d1aaj00sw4ota000ud000je009dm.jpg\" alt=\"5119d1aaj00sw4ota000ud000je009dm\" width=\"698\" height=\"337\" \/><\/p>\n<p>(3) Adding samplers and VAE decoding<\/p>\n<p>Re-copying a K-sampler and VAE decoding, placing Laten scaling between the K-sample and the empty Latent, the full screenshot of the workflow is shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35042\" title=\"9d559124j00sw4otb007bd000u000d7m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/9d559124j00sw4otb007bd000u000d7m.jpg\" alt=\"9d559124j00sw4otb007bd000u000d7m\" width=\"1080\" height=\"475\" \/><\/p>\n<p>The noise reduction factor (redraw magnitude) will change the scaled image significantly from the original if it is 1. It is usually around 0.5.<\/p>\n<p>3, UltimateSDUpscale zoom plug-in (autumn leaves have been integrated)<\/p>\n<p>(1) Adding nodes<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35043\" title=\"2b841f1fj00sw4otb0049d000qk00ixm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/2b841f1fj00sw4otb0049d000qk00ixm.jpg\" alt=\"2b841f1fj00sw4otb0049d000qk00ixm\" width=\"956\" height=\"681\" \/><\/p>\n<p>(2) Loading model<\/p>\n<p>The SD Zoom plug-in integrates a K sampler, which also needs to be loaded to zoom in on the model, and after the SD plug-in is zoomed in, the picture details are also significantly improved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35044\" title=\"4b2dd7a8j00sw4otc00cld000u000imm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/4b2dd7a8j00sw4otc00cld000u000imm.jpg\" alt=\"4b2dd7a8j00sw4otc00cld000u000imm\" width=\"1080\" height=\"670\" \/><\/p>\n<p>4\u3001Triple amplification<\/p>\n<p>We can also combine the previous three zoom methods to zoom in on the image<\/p>\n<p>Let's look at the full workflow first, by the way, I changed the cue words to get more detail in the image, so the generated image changed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35045\" title=\"9ec9b77fj00sw4otb0075d000u000arm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/9ec9b77fj00sw4otb0075d000u000arm.jpg\" alt=\"9ec9b77fj00sw4otb0075d000u000arm\" width=\"1080\" height=\"387\" \/><\/p>\n<p>Here's a closer look at what makes up this workflow<\/p>\n<p>First, we connect the Latent of the sampler to the latent variable coefficient scaling as a first level of amplification<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35046\" title=\"32d52e65j00sw4otb004md000u000b7m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/32d52e65j00sw4otb004md000u000b7m.jpg\" alt=\"32d52e65j00sw4otb004md000u000b7m\" width=\"1080\" height=\"403\" \/><\/p>\n<p>Immediately after that, the image output from latent variable zoom (primary zoom) is passed to SD zoom (secondary zoom) and then to model zoom (tertiary zoom).<\/p>\n<p>Since the image will become very large after three zooms, we also have to reduce the image, and the three-stage zoomed image is output to the image zoom node, and finally output to the image preview node.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35048\" title=\"3020b20fj00sw4otc00d2d000u000gbm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/3020b20fj00sw4otc00d2d000u000gbm.jpg\" alt=\"3020b20fj00sw4otc00d2d000u000gbm\" width=\"1080\" height=\"587\" \/><\/p>\n<p>Add image zoom node<\/p>\n<p>Double-click on the blank space and search for the \"Image Scaling\" node, select the second one.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35047\" title=\"857babcfj00sw4otb0038d000rs00hhm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/857babcfj00sw4otb0038d000rs00hhm.jpg\" alt=\"857babcfj00sw4otb0038d000rs00hhm\" width=\"1000\" height=\"629\" \/><\/p>\n<p>Set the width to 0 and the height to 4096, meaning that the height of the image is fixed to 4096 and the width will be generated in proportion to the original image.<\/p>\n<p>The Method parameter is set to keep proportion, and the other parameters remain unchanged.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35049\" title=\"b120e224j00sw4otb0023d000go00hrm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/b120e224j00sw4otb0023d000go00hrm.jpg\" alt=\"b120e224j00sw4otb0023d000go00hrm\" width=\"600\" height=\"639\" \/><\/p>\n<p>Take a look at the resulting image<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35050\" title=\"5c678325j00sw4ota002sd000u00190m\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/5c678325j00sw4ota002sd000u00190m.jpg\" alt=\"5c678325j00sw4ota002sd000u00190m\" width=\"1080\" height=\"1620\" \/><\/p>\n<p>Finally, zoom in locally to see the details, the picture is full of details, even so fine that even the hair strands can be seen clearly, this zoom level are you satisfied?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-35051\" title=\"78157310j00sw4otd018pd000u000orm\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2025\/05\/78157310j00sw4otd018pd000u000orm.jpg\" alt=\"78157310j00sw4otd018pd000u000orm\" width=\"1080\" height=\"891\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Today we use 4 methods to achieve Comfyui in the picture HD zoom function, not only to achieve the picture of the wallpaper level of lossless zoom, but also automatically complement the picture details, so that the details are richer, the key is the method is very simple. First of all, we need a basic Vincennes workflow Here we only give a simple cue word: 8K, a girl, smile Sampler: euler Scheduler: Karras Image size: 512 * 768 The default workflow run out of the picture is not too clear, the following we have 4 ways to transform this workflow to achieve the picture zoom function. Picture enlargement 1, through the model enlargement (1) right-click the mouse in the blank space, according to the following method to increase the model enlargement node (2) and then increase the \"Enlarge Model Plus\".<\/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":[3149,1989,4749,5145],"collection":[],"class_list":{"0":"post-35030","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-jiaocheng","7":"category-baike","8":"tag-ai","9":"tag-comfyui","11":"tag-5145"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/35030","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=35030"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/35030\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=35030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=35030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=35030"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=35030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}