<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[The Latent Space - Medium]]></title>
        <description><![CDATA[Covering generative art — tips, tutorials, and more. - Medium]]></description>
        <link>https://medium.com/code-canvas?source=rss----6affa7c62952---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>The Latent Space - Medium</title>
            <link>https://medium.com/code-canvas?source=rss----6affa7c62952---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 02:02:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/code-canvas" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Testing Different Upscalers (Paid vs. Free Options)]]></title>
            <link>https://medium.com/code-canvas/testing-different-upscalers-paid-vs-free-options-1260ab82d403?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/1260ab82d403</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[image-upscaler]]></category>
            <category><![CDATA[image-upscaling]]></category>
            <category><![CDATA[image-generation]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 15:40:34 GMT</pubDate>
            <atom:updated>2025-06-02T15:40:34.215Z</atom:updated>
            <content:encoded><![CDATA[<p>Upscalers are versatile and can both sharpen and enlarge images. Over the past few years, the underlying technology has vastly improved, allowing you to achieve results that are often indistinguishable from high-resolution originals.</p><p>I wanted to test a variety of upscalers which include both open-source and commercial options, to see how they stack up against each other in handling upscaling tasks. Specifically, I’m looking at <a href="https://supir.xpixel.group/">SUPIR</a>, <a href="https://replicate.com/philz1337x/clarity-upscaler">Clarity Upscaler</a>, <a href="https://replicate.com/topazlabs/image-upscale">Topaz Image Upscale</a>, <a href="https://replicate.com/recraft-ai/recraft-crisp-upscale">Recraft Crisp Upscale</a>, <a href="https://huggingface.co/Kim2091/UltraSharpV2">UltraSharp v2</a>, and <a href="https://openmodeldb.info/models/4x-Remacri">Remacri</a>.</p><p><strong>I found UltraSharp v2 to be the best local model and Recraft Crisp Upscaler ($0.006 per image) to be the best paid model considering the cost savings to effectiveness ratio. SUPIR still performs better, but the cost is substantially higher ($0.10 per image) for not exactly substantially better results.</strong></p><h3>Source Images &amp; Testing</h3><p>The images used in this comparison are freely available and have both low and high resolution variations available. You can download them here: <a href="https://unsplash.com/photos/smiling-man-wearing-black-turtleneck-shirt-holding-camrea-4Yv84VgQkRM">portrait</a>, <a href="https://pixabay.com/illustrations/spiderman-superhero-hero-comic-8424632/">illustration</a>, <a href="https://unsplash.com/photos/three-brown-wooden-boat-on-blue-lake-water-taken-at-daytime-T7K4aEPoGGk">landscape</a>.</p><p>Since each of these images is available at high resolutions, for example, the landscape image is available at 5979 x 3986, I am able to see clearly how the upscaler manipulates an image by comparing not only the low resolution to upscaled image, but also the upscaled image to the true high-resolution original.</p><p>This provides a benchmark for evaluating the accuracy and fidelity of the upscaling process.</p><h3>Upscalers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wLDCoHigvP7xHb3FVrmwpg.png" /><figcaption>Check out OpenModelDB for hundreds of upscalers.</figcaption></figure><p>There are hundreds of upscalers freely available on <a href="https://openmodeldb.info/">OpenModelDB</a>. You should check and test multiple models for your own use case as you may find something better than what I am testing here.</p><p>What my goal here is to test a few free and paid options to see what I can use for everyday use across many different image types (i.e. Anime, Pixel Art, Portrait, etc.) without having to think if I’m using the right model for the task at hand.</p><h3>Portrait Comparison</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UobS6r-_DwJAfBQvpufCLA.png" /><figcaption>Be sure to click on the links below 👇 to see the interactive slider.</figcaption></figure><p>Okay, so we’ll be looking closely at all the original details, especially the fine textures of the skin, the clarity of the eyes, and the definition in the facial hair.</p><p>Here’s all the comparisons between the models testing:</p><ul><li><a href="https://compare.promptingpixels.com/a/LhJANbh">UltraSharp V2</a> (Free)</li><li><a href="https://compare.promptingpixels.com/a/DwMDv2P">UltraSharp V2 + Ultimate SD Upscale</a> (<a href="https://github.com/content-and-code/promptingpixels/blob/main/docs/comfy_workflows/Upscaling-with-Ultimate-SD-Upscale.json">ComfyUI Download Link</a>) (Free)</li><li><a href="https://compare.promptingpixels.com/a/Iig0DyG">Remacri</a> (Free)</li><li><a href="https://compare.promptingpixels.com/a/yk699SV">Recraft Crisp Upscale</a></li><li><a href="https://compare.promptingpixels.com/a/0F4O2Cq">SUPIR</a></li><li><a href="https://compare.promptingpixels.com/a/1CB1RNE">Clarity Upscaler</a></li><li><a href="https://compare.promptingpixels.com/a/B5Z00JJ">Topaz</a></li></ul><p>Many of the results from the models above are quite remarkable. For free I prefer the UltraSharp V2 model, which does a great job of preserving the details in the skin and eyes while also being performant. SUPIR has nice skin texture preservation, but Topaz generally does a bit better in keeping details from the original image along with text preservation (look at the word Minolta on the camera).</p><p>However, to truly see big comparisons, look at the original image vs. the upscaled image:</p><ul><li><a href="https://compare.promptingpixels.com/a/GBAp75m">Original vs. UltraSharp V2</a></li><li><a href="https://compare.promptingpixels.com/a/Bpn1azt">Original vs. Topaz</a></li></ul><p>Here you can see how upscale models tend to smooth out skin textures or flatten details particularly in the facial hair. This is also prevalent in the sweater the subject is wearing.</p><h3>Illustration Comparison</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*snIz364MHaRFNYGRbEOoow.png" /></figure><p>When dealing with illustrations, the upscaling challenge shifts from preserving natural textures to maintaining sharp lines and vibrant colors that are characteristic of drawn or computer-generated artwork.</p><p>Here’s a look at how each upscaler handles the illustration:</p><ul><li><a href="https://compare.promptingpixels.com/a/hSwBOrb">UltraSharp V2</a> (Free)</li><li><a href="https://compare.promptingpixels.com/a/OwOSvdM">UltraSharp V2 + Ultimate SD Upscale</a> (ComfyUI Download Link) (Free)</li><li><a href="https://compare.promptingpixels.com/a/rUU0jnI">Remacri</a> (Free)</li><li><a href="https://compare.promptingpixels.com/a/FWXp2Oe">Recraft Crisp Upscale</a></li><li><a href="https://compare.promptingpixels.com/a/EltkjVb">SUPIR</a></li><li><a href="https://compare.promptingpixels.com/a/qxnMZ4V">Clarity Upscaler</a></li><li><a href="https://compare.promptingpixels.com/a/vQ9ryRL">Topaz</a></li></ul><p>SUPIR does a very nice job here of preserving the general look and feel while adding a bit more depth to the image and colors. However, SUPIR does take quite a bit of creative liberties <a href="https://compare.promptingpixels.com/a/yaIelCk">when comparing it to the original high resolution illustration</a>.</p><p>Clarity Upscaler kind of acts like a “hires fix” alternative and adds a great deal of texture, detail, and color vibrancy — enhancing the overall look of the illustration. UltraSharp V2 again performs well in keeping true to the original while keeping lines sharp and colors vibrant, this is especially prevalent when comparing it to the original high resolution illustration: <a href="https://compare.promptingpixels.com/a/0SCndxi">UltraSharp V2 vs. Original</a>.</p><h3>Landscape Comparison</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ROzd7SzRT8uIKaUYSMpznw.png" /></figure><p>Upscalers often fail on still life or landscape images as they can look overly processed/sharpened. I like to say that they looked “fried” or “cooked”. Here’s how each upscaler handles the landscape image:</p><ul><li><a href="https://compare.promptingpixels.com/a/sxLuZ5y">UltraSharp V2</a> (Free)</li><li><a href="https://compare.promptingpixels.com/a/EQ1Iela">UltraSharp V2 + Ultimate SD Upscale</a> (ComfyUI Download Link) (Free)</li><li><a href="https://compare.promptingpixels.com/a/7nOaAfu">Remacri</a> (Free)</li><li><a href="https://compare.promptingpixels.com/a/RHZmZz2">Recraft Crisp Upscale</a></li><li><a href="https://compare.promptingpixels.com/a/6i5d6Sb">SUPIR</a></li><li><a href="https://compare.promptingpixels.com/a/ubrBNPC">Clarity Upscaler</a></li><li><a href="https://compare.promptingpixels.com/a/i50rVxV">Topaz</a></li></ul><p>SUPIR I think generally shines best in this comparison as it does a good job of keeping the background trees looking natural and not overly sharpened. However, when compared to the original high resolution landscape image, it isn’t exactly the best, nor true to the original — showing that upscale models still have a long way to go. <a href="https://compare.promptingpixels.com/a/WcPL2ET">SUPIR vs. Original</a>.</p><p>Topaz and Clarity Upscaler also do a fine job, whereas Remacri completely flattens and over-sharpens the image, making it look overly processed. <a href="https://compare.promptingpixels.com/a/m20LKjI">Remacri vs. Original</a>.</p><h3>The 3 P’s: Price, Performance, and Privacy</h3><p>UltraSharp v2 and Remacri are free and open-source models allowing you to not only use them without any cost but also are fast (with generations typically less than 10 seconds per image on an RTX 3060), but are also locally executable, which means your images don’t need to be uploaded to external servers.</p><p>SUPIR is by far the most expensive <a href="https://replicate.com/zust-ai/supir">at about $0.10 per image to run on Replicate</a> and therefore get quite expensive if you need to upscale large batches of images, videos, or animated content. Additionally, its performance can vary depending on the complexity of the image. <a href="https://replicate.com/topazlabs/image-upscale">Topaz is half the cost</a> at $0.05 per image, <a href="https://replicate.com/philz1337x/clarity-upscaler">Clarity Upscaler at $0.013</a>, and <a href="https://replicate.com/recraft-ai/recraft-crisp-upscale">Recraft Crisp Upscale at the cheapest of $0.006 per image</a>.</p><p>Worth noting is SUPIR, Topaz, and Clarity Upscaler all have several parameters where you can tweak the output to your preference, which can be beneficial for specific use cases depending on the project you are working on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1260ab82d403" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/testing-different-upscalers-paid-vs-free-options-1260ab82d403">Testing Different Upscalers (Paid vs. Free Options)</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Background Removal in ComfyUI Just Got Really Really Good]]></title>
            <link>https://medium.com/code-canvas/background-removal-in-comfyui-just-got-really-really-good-2a12717ff0db?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/2a12717ff0db</guid>
            <category><![CDATA[comfy-ui]]></category>
            <category><![CDATA[background-removal]]></category>
            <category><![CDATA[generative-art]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Fri, 14 Mar 2025 17:19:24 GMT</pubDate>
            <atom:updated>2025-03-14T17:19:24.713Z</atom:updated>
            <content:encoded><![CDATA[<p>Two new models were released over the past month that have blown my mind in terms of quality: <a href="https://huggingface.co/PramaLLC/BEN2">BEN2</a> and <a href="https://huggingface.co/ZhengPeng7/BiRefNet_HR">BiRefNet-HR</a>.</p><p>Personally, I prefer BEN2.</p><p>I’ll spare the technical details, as quite honestly, it’s above my head. But if you want the arXiv papers, you can get them <a href="https://arxiv.org/abs/2501.06230">here</a> and <a href="https://arxiv.org/pdf/2401.03407">here</a> (respectively).</p><p>Anyhow, these models are a complete game-changer. Here’s a side-by-side comparison:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*0RoRCAfMoqB7txtJ5bw1kg.jpeg" /></figure><p>Crazy, eh?</p><p>Here’s another test image of REMBG-2.0 (the old background removal tool that was commonly used) versus BEN2 and BiRefNet-HR on a much more complex scenario — hair:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*yG3vkUWEnSmBE-KvyqDIsw.jpeg" /></figure><p>BiRefNet-HR definitely appears to do much better with hair compared to other models.</p><p>I noticed that BiRefNet-HR does sometimes over-correct and causes poor results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*gQF0I2wIGn7ijo_wBwwI6w.jpeg" /></figure><p>So be sure to test the two models to make sure you have the right one for the task at hand.</p><p>Of course, if you do this for video, then it really becomes a game-changer:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*gN1Q9NiCQuAtMvyVQtpq1A.gif" /></figure><p>Here was a screencap of the original video:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*nDuH9MXs3dz4753zRir9sg.png" /><figcaption>Source: <a href="https://pixabay.com/videos/tenderness-cute-fondness-father-253998/">https://pixabay.com/videos/tenderness-cute-fondness-father-253998/</a></figcaption></figure><p>Pretty remarkable!</p><h3>How to Remove the Background in ComfyUI</h3><p>This is actually really easy and runs well on low-powered machines like my Apple laptop.</p><p><a href="https://promptingpixels.com/comfyui-workflows/"><strong>You can download the workflow from here</strong></a>.</p><p>You’ll just want to first install the <a href="https://github.com/1038lab/ComfyUI-RMBG">ComfyUI-RMBG custom node</a>. It has support for a host of models, which include the following: RMBG-2.0, INSPYRENET, BEN, BEN2, BiRefNet models, SAM, and GroundingDINO.</p><p>To get BEN2 and BiRefNet-HR, you’ll just need to pass an image through the Remove Background node once, and it’ll download automatically to the comfyui &gt; models &gt; rmbg directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*uutH7t7JlUU34U5GlBKPLQ.png" /></figure><p>The workflow just has an input and output image node and the remove background node sitting in the center:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*UdoUmET6uaiFwRQesS6I7w.png" /></figure><p>One nice feature within this specific node is the background option.</p><p>You can switch this out to various solid colors and as an alpha channel, allowing for transparent PNG images:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*tPUW79Wy8xWwR5f4n1XBzw.png" /></figure><p>The author of the <a href="https://github.com/1038lab/ComfyUI-RMBG/tree/main">plugin also has a bunch of terrific tutorials over on their repo</a> for face segmentation, clothes, and fashion segmentation if you are looking for character tweaks.</p><p>And that’s how you can remove the background of any image in a couple of steps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a12717ff0db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/background-removal-in-comfyui-just-got-really-really-good-2a12717ff0db">Background Removal in ComfyUI Just Got Really Really Good</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ComfyUI is About to Become More Popular than Midjourney]]></title>
            <link>https://medium.com/code-canvas/comfyui-is-about-to-become-more-popular-than-midjourney-e981c5e6f1ac?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/e981c5e6f1ac</guid>
            <category><![CDATA[midjourney]]></category>
            <category><![CDATA[comfy-ui]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-art-generation]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 13 Mar 2025 19:40:36 GMT</pubDate>
            <atom:updated>2025-03-13T19:40:36.697Z</atom:updated>
            <content:encoded><![CDATA[<p>Chances are that if you are keeping up with the latest AI developments, then you’ve probably heard of ComfyUI mentioned several times.</p><p>If not, here’s the short of it. ComfyUI is a versatile open source application that allows you to interact with diffusion models and produce images, short videos, etc.</p><p>But what you may not have known is that ComfyUI is likely to surpass Midjourney in search volume in the not-too-distant future:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*XR_8BHvzfRLJZ8YatxFdjg.png" /></figure><p>Was anyone aware of this?!?</p><p>What does this mean for the future of image generation?</p><h3>One word: Control</h3><p>By their design, diffusion models are messy.</p><p>Put in a prompt and click “generate” 5 times, and you get 5 different images (assuming random seed values, of course).</p><p>Generalist models, including <a href="https://www.midjourney.com/explore?tab=random">Midjourney</a>, <a href="https://replicate.com/black-forest-labs/flux-1.1-pro-ultra">Flux 1.1 Pro Ultra</a>, and <a href="https://ideogram.ai/t/explore">Ideogram</a>, are black boxes where users have little control over the input and output of their creations.</p><p>While the addition of features like — sref, — cref, mood boards, inpainting/outputting canvases, and other tools help to address the problem, they still don’t solve the fundamental issue: <strong>users want control</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FYO3icZKE2G8OoGHWC9%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftheoffice-YO3icZKE2G8OoGHWC9&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExaXN0a29kNmR4MWJubzIyZ3JqMmZ3bHVmcjRkaWN2YzhieHA4MXRvaCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FYO3icZKE2G8OoGHWC9%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="361" frameborder="0" scrolling="no"><a href="https://medium.com/media/8ef10708d11247803a0b3cfa9fda2ff8/href">https://medium.com/media/8ef10708d11247803a0b3cfa9fda2ff8/href</a></iframe><p>Control can be understood in many different ways, from the ability to fine-tune the weight of input images and prompts, set desired poses, own their outputs, maintain the privacy of their generations, and control the cost of membership, among other things.</p><p>Closed-source platforms just aren’t there yet and are incredibly slow to adapt to change — just look at how long it took Midjourney to move out of Discord if you need proof.</p><h3>Signs ComfyUI is Here to Stay</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lMRj-pntZNqIyEjaasHu2A.png" /></figure><p>Unlike <a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui">Automatic1111 Stable Diffusion WebUI</a>, <a href="https://github.com/lllyasviel/stable-diffusion-webui-forge">WebUI Forge</a>, <a href="https://github.com/vladmandic/sdnext">SD.Next</a>, and other open-source apps that allow you to generate images with diffusion models, newly released models, including <a href="https://github.com/Wan-Video/Wan2.1">Wan 2.1</a>, <a href="https://github.com/Tencent/HunyuanVideo">Hunyuan</a>, <a href="https://huggingface.co/Lightricks/LTX-Video">LTX</a>, <a href="https://huggingface.co/black-forest-labs/FLUX.1-dev">Flux.1 Dev</a>, <a href="https://huggingface.co/stabilityai/stable-diffusion-3.5-large">Stable Diffusion 3.5 Large</a>, and countless others, <strong>have day-one support</strong> in ComfyUI to allow you to test models’ capabilities immediately.</p><p>Given the flexibility, modularity, and design of ComfyUI, I don’t see this changing anytime soon, which supports the idea that this is quickly becoming the industry standard for computer vision tasks.</p><h3>The Achilles’ Heel of Open Source</h3><p>The adoption and progress of ComfyUI have been embraced by the open-source community, but it is still highly dependent on companies making new models available.</p><p>Of course, if closed-source models make tremendous breakthroughs, companies may hold off on releasing watered-down open-source models to help solidify their market dominance.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FgQdejV5BBChHi%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2F80s-ducktales-scrooge-mcduck-gQdejV5BBChHi&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExazNrYnhtazZpM2hmdmF1OGoyeXMxNXBzOHA0bDFiaHdrcjR0d3N2NSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2FgQdejV5BBChHi%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="313" frameborder="0" scrolling="no"><a href="https://medium.com/media/be0bf2787c779077dd5d0ebea0decfa5/href">https://medium.com/media/be0bf2787c779077dd5d0ebea0decfa5/href</a></iframe><p>When you couple this with the cost of training an open-source model without much in return, you won’t see progress as quickly.</p><p>If history is any indicator, the community sees a new model release about once a year on average:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8v9z1KIfaeI63ZamXttl9A.jpeg" /><figcaption>🤞 Fingers crossed the next image generation model can fit on my GPU!</figcaption></figure><p>Between these noteworthy releases, various enhancements are delivered in the form of fine-tunes, LoRAs, ControlNets, and more to keep the quality of outputs on par with commercial alternatives.</p><p>But let’s not forget two huge important factors:</p><p><strong>Learning curve and GPU Compute</strong></p><p>Setting up ComfyUI is unnecessarily complicated (although it’s getting better) and thus eliminates a large swath of people.</p><p>Not to mention workflows that look like you need to map many nodes just to generate a nice-looking image:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl0IykOsxLECVejOzm%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ffx-charlie-always-sunny-l0IykOsxLECVejOzm&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExaHBseXBucmFvMmJpcjRhazR1OHVqZ2hlbWhqMms2NjYxMW4zYzA1dCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2Fl0IykOsxLECVejOzm%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="274" frameborder="0" scrolling="no"><a href="https://medium.com/media/5450adf2e1fa9c2fc4b46e72c2c71049/href">https://medium.com/media/5450adf2e1fa9c2fc4b46e72c2c71049/href</a></iframe><p>Additionally, the number of people that have a modern GPU that costs a significant amount of money is relatively slim — making the total addressable market even smaller.</p><p>So paying $8/mo for say Ideogram is way easier than dealing with the headaches above for many.</p><h3>Does This Mean Closed-Source Image Models are Dying?</h3><p>No, definitely not — there’s too much money at stake.</p><p>The first Immutable Law of Marketing, which is Leadership, could be summarized as follows:</p><blockquote>The foundational principle of marketing is not to create a superior product, but to be the first in a new category. Being first establishes leadership in the customer’s mind, which is far more powerful than being “better.” Once a brand becomes synonymous with a category (e.g., Coca-Cola in cola, Xerox in copiers), competitors struggle to displace it, even with better products. First-mover advantage locks in perception, often making the pioneer’s name generic to the category (e.g., “FedEx” a package). Timing and relevance matter — some firsts fail due to bad ideas (e.g., dog ice cream) or poor timing (e.g., a national newspaper in the TV era).<br>Source: <a href="https://en.wikipedia.org/wiki/Al_Ries">Al Ries</a></blockquote><p>Midjourney was one of the first notable AI image generators that came onto the market.</p><p>I suspect that they will continue to assert their market dominance for the foreseeable future, pending any significant external factors.</p><p>Not to just pick on Midjourney, we are seeing more and more companies bake AI image generation into their products, including Adobe, Canva, and even Microsoft Paint.</p><p>So, no, the closed-source companies will continue to thrive for some time.</p><h3>Where it Goes From Here</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DAHSNPqcq62zEVd_OgQuxA.jpeg" /></figure><p>Not only is the gap in mindshare between both open source and proprietary models closing quickly — so too is the quality in the outputs.</p><p>So if you’ve ever been curious to try open source image generation and haven’t yet taken the plunge — now is better than ever to get into the scene.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e981c5e6f1ac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/comfyui-is-about-to-become-more-popular-than-midjourney-e981c5e6f1ac">ComfyUI is About to Become More Popular than Midjourney</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ThinkDiffusion Review]]></title>
            <link>https://medium.com/code-canvas/thinkdiffusion-review-0806ad036714?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/0806ad036714</guid>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[ai-art]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai-art-generator]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 03:53:47 GMT</pubDate>
            <atom:updated>2024-05-07T19:36:21.390Z</atom:updated>
            <content:encoded><![CDATA[<p>To run state-of-the-art diffusion models, a powerful GPU is necessary. Unfortunately, most people lack access to such resources, hindering their ability to explore the vast possibilities of AI-generated art.</p><p>This is the problem that ThinkDiffusion solves.</p><p>But are they good?</p><p>Here’s what you should know:</p><h3>What You Probably Want to Know…</h3><p>For straightforward image generation, <a href="https://www.thinkdiffusion.com/?via=promptingpixels">ThinkDiffusion</a> works exceptionally well. With a pre-loaded balance of at least $10 in your account, you can spin up an instance of Automatic1111 with several models pre-loaded in a few minutes.</p><p>The top tier plan, which has as much VRAM as an RTX 4090, which retails for roughly $1,500, will only cost you about $1.75/hr.</p><p>There, you can generate upwards of 2,000 images per hour with the best open-source diffusion models available.</p><p>Advanced users will surely have some issues when it comes to setting up a workspace, particularly with file management. However, once set up, the reliably fast render times will help to increase overall productivity.</p><h3>What is ThinkDiffusion?</h3><p>ThinkDiffusion is a cloud-based platform that provides access to powerful GPU resources, allowing users to run state-of-the-art diffusion models without the need for expensive hardware. It offers a range of pre-loaded models and interfaces, making it easy to generate high-quality images and explore the possibilities of AI-generated art.</p><h3>The Process</h3><p>Starting up an instance is super easy; all you have to do is select one of the following options:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElxavvQ3gaj6vh55G9Ya_g.png" /></figure><p>Once selected, within about 3–5 minutes, you’ll have a fully functional Automatic1111 instance with several models pre-loaded and ready to use.</p><p>Here’s a look at the interface:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bgo9-UdfTlTfFg53XMCVyQ.png" /></figure><p>And here’s a look at all the models that come pre-loaded with the instance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wo-WYme-rvlIT-G4h4Yiag.png" /></figure><p>As you can see, ThinkDiffusion offers a wide range of models, including many of the most popular available on Civitai.</p><p>Additionally, ControlNet models are also pre-loaded, so you can use those as well.</p><p>As for out-of-the-box extensions, quite a few are available, including Infinite Zoom, ADetailer, Infinite Image Browsing, Deforum, Inpaint Anything, and others. Here’s a look at everything that’s available:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzfihqjBfqyjsx3A_S-jxg.png" /></figure><p>These extensions can greatly enhance your image generation experience, and it’s nice to see ThinkDiffusion offering them out of the box, so you don’t have to spend the time and effort installing and configuring them yourself.</p><p>Lastly, all the images generated through ThinkDiffusion can be easily downloaded, and the platform also provides an option to save your favorite models and configurations for future use. The image browser, located on the right panel in the appropriate directory (i.e., a1111 &gt; outputs &gt; date):</p><blockquote><strong><em>Note</em></strong><em>: Instead of downloading each image individually, you can zip the folder and download everything at once.</em></blockquote><h3>File Management</h3><p>File management is a bit cumbersome, especially for more advanced users. The lack of renaming, drag-and-drop, and folder organization capabilities can make it difficult to upload and correctly organize files, especially when working with multiple projects or complex model configurations.</p><p>For example, while I love that you can input a URL and have ThinkDiffusion download the model rather quickly, some models, like those related to Clip Vision, which are a critical part of IP Adapter, are labeled as model.safetensors within <a href="https://huggingface.co/openai/clip-vit-large-patch14/tree/main">HuggingFace</a>.</p><p>So when you import it, <strong>you cannot rename the file</strong> to CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors. Instead, you must download the 1.7GB file, rename it locally, and then re-upload it, which is a tedious and time-consuming process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*uT8O2KClZBRnEbjFABcXJg.png" /></figure><p>Additionally, <strong>you have no way to access your files unless you are within an active instance</strong>. So, you must be charged for the instance time even when you are waiting for models to download and/or upload.</p><blockquote><strong><em>Pro Tip</em></strong><em>: Use the lowest powered machine when managing files.</em></blockquote><p>Lastly, <strong>if you step away from Think Diffusion after 48 hours, all your instances are automatically terminated:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vdqpm4G37oOCdSqhAzODTg.png" /></figure><p>So you’ll need to set up everything again from scratch, which can be frustrating, especially if you had a complex workspace established and simply enjoyed the weekend.</p><p>However, you could upgrade to the TD-Pro plan, which is monthly and offers persistent storage, <strong>eliminating the need to re-upload files and allowing access to your files at any time</strong>.</p><p>This upgrade would mitigate some of the file management issues mentioned above, but it comes at an additional cost of $30 per month.</p><blockquote>Try ThinkDiffusion Today — <a href="https://www.thinkdiffusion.com/?via=promptingpixels">Sign Up Here</a></blockquote><h3>Other Applications</h3><p>Aside from Automatic1111 WebUI, which is by far one of the most popular interfaces when working with diffusion models, ThinkDiffusion also offers ComfyUI, <a href="https://github.com/lllyasviel/Fooocus">Fooocus</a>, <a href="https://github.com/invoke-ai/InvokeAI">InvokeAI</a>, <a href="https://github.com/bmaltais/kohya_ss">Kohya SS</a>, <a href="https://github.com/Stability-AI/StableSwarmUI">StableSwarm UI</a>, and <a href="https://github.com/facefusion/facefusion">FaceFusion</a> — providing you with a range of interfaces to choose from, each catering to different user preferences and workflows.</p><h3>Alternatives to ThinkDiffusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ori2PZcHHyIXG0-oMk9kw.png" /></figure><p>At this time, the closest competitor to ThinkDiffusion is likely to be <a href="https://rundiffusion.com/">RunDiffusion</a> — another very-much done-for-you platform that allows users to run diffusion models without extensive technical knowledge or hardware.</p><p>While both platforms share similarities, there are some key differences. For instance, RunDiffusion provides access to many more applications, including <a href="https://github.com/gitmylo/audio-webui">Audio-WebUI</a>, <a href="https://github.com/painebenjamin/app.enfugue.ai">Enfuge</a>, <a href="https://github.com/oobabooga/text-generation-webui">Oobabooga</a>, and other AI-related tools.</p><p>Allowing you to use your credits across many different applications, whereas ThinkDiffusion is more focused on providing access to a range of diffusion model interfaces.</p><p>However, from a pricing perspective, ThinkDiffusion is far more competitive, with an hourly rate of $1.75 for a high-end GPU, compared to RunDiffusion’s <strong>$2.50 hourly rate for a similar high-end GPU</strong>.</p><p>Aside from RunDiffusion, other options include <a href="https://cloud.vast.ai/?ref_id=90480">Vast.ai</a>, <a href="https://runpod.io/?ref=9kig419x">RunPod</a>, <a href="https://www.paperspace.com/">PaperSpace</a>, <a href="https://www.vultr.com/?ref=9612659">Vultur</a>, Amazon SageMaker, and more — but these require some scripting know-how to get them up and running.</p><h3>Pricing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElxavvQ3gaj6vh55G9Ya_g.png" /></figure><p>The three tiers of pricing are straightforward here and range generally from $0.59/hr to $1.99/hr, depending on the application you are planning to use.</p><p>If you plan on using the service extensively, TD-Pro could be an option — but the price is a bit steep:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dVs3aCttbzkkaCc18_Omgw.png" /></figure><p>At $30/mo, you get access to persistent storage, which means your files won’t be wiped after 48 hours of idle time. Additionally, you’ll get better support if you have any questions. <strong>$10 of the $30 is converted into credits</strong> that can be used to offset hourly costs, making it a more cost-effective option for heavy users.</p><p>Enterprise customers may want to check out TD-Teams for shared workspaces, models, settings, etc., which can be customized to meet the specific needs of a company.</p><p>Competitively priced at $60/mo, it can be a nice upgrade to the creative department to storyboard or plan out projects together.</p><h3>Customer Support</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lpFQcoA97FYpv_22OF-yPg.png" /></figure><p>Visiting their Discord server, you can see that their support team is highly responsive and knowledgeable.</p><p>They have a dedicated channel for support requests, and community members are also active in helping each other out.</p><p>The documentation and resources provided by ThinkDiffusion are comprehensive, making it easy to get started and troubleshoot any issues that may arise.</p><blockquote><strong>Try ThinkDiffusion Today — </strong><a href="https://www.thinkdiffusion.com/?via=promptingpixels"><strong>Sign Up Here</strong></a></blockquote><p><em>This post contains affiliate links.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0806ad036714" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/thinkdiffusion-review-0806ad036714">ThinkDiffusion Review</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Change Outfits in ComfyUI]]></title>
            <link>https://medium.com/code-canvas/how-to-change-outfits-in-comfyui-7d20eaeccdc0?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/7d20eaeccdc0</guid>
            <category><![CDATA[comfy-ui]]></category>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[generative-art]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 03:53:38 GMT</pubDate>
            <atom:updated>2024-06-18T18:38:08.432Z</atom:updated>
            <content:encoded><![CDATA[<p>Typically, the process of changing outfits in ComfyUI or Automatic1111 requires tedious inpainting and ControlNets to keep the character pose the same while applying a little bit of prompt engineering or LoRAs to get the style you want.</p><p>After a bit of experimenting, when you combine the style extraction of IPAdapter along with the precise segmentation of the Grounding Dino and Segment Anything models, you can get remarkably accurate and hassle-free outfit changes with minimal post-processing.</p><p>Here’s how:</p><p><strong>Workflow &amp; Full Guide: </strong>If you want to watch a video of this in action or download the workflows, <a href="https://promptingpixels.com/change-styles/">they are available for free over on the Prompting Pixels website</a>.</p><h3>Final Results</h3><p>Before getting into the details of the workflow, here’s a visual representation of a before and after picture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkSCZTEVJhYTg03C7eW9CQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJnVms9R6MIT_AEJrTvvWw.jpeg" /><figcaption>🏄‍♂️ Who doesn’t love a good Hawaiian shirt?!</figcaption></figure><h3>Setting Up the Workspace</h3><p>I found that separating this into three different groups to be a good approach — from an organizational standpoint to what is happening in the overall process. These three groups are as follows: Basic Workflow, IPAdapter, and Segmentation. Here&#39;s what&#39;s going on in each:</p><h3>Basic Workflow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*afJKVUOnULNGO1p5E0B6wQ.png" /></figure><p>This is basically the default workflow you start with in ComfyUI. The most notable changes here are that <strong>you’ll want to get an inpainting checkpoint</strong> loaded rather than a generational one, as we are working with a partial image.</p><p>I also recommend a good SDXL checkpoint, such as <a href="https://civitai.com/models/139562?modelVersionId=297320">RealVision</a>, <a href="https://civitai.com/models/229002?modelVersionId=299523">ICBINP XL</a>, or the base <a href="https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1">SDXL Inpainting checkpoint</a>.</p><p>As for your prompt, since we will be making changes to a specific segment, then you’ll want to define what you want to appear — in our example, we’ll convert a basic shirt to a jazzy Hawaiian shirt.</p><h3>IPAdapter</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSK64nmjyr4zjEeamGA7FQ.png" /></figure><p>IPAdapter stands for Image Prompt Adapter. Essentially, these nodes can transfer a style or the general features of a person to a model.</p><p>Think of this like a mini LoRA or textual embedding.</p><p>Therefore, we need to provide an image as an input through the Load Image node along with extracting the relevant bits of information from the image.</p><p>To get the image prompt adapter (IPAdapter) set up in ComfyUI, you’ll need to get the CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors and ip-adapter-plus_sdxl_vit-h.safetensors models loaded. You can find these and other relevant models available on the <a href="https://github.com/cubiq/ComfyUI_IPAdapter_plus?tab=readme-ov-file#installation">IPAdapter GitHub repo</a>.</p><p>Once placed into the relevant directories, you’ll pass your image output from the Load Image node into the IPAdapter Advanced node.</p><p>In addition, you&#39;ll bring in the CLIP model with the Load CLIP Vision and the IPAdapter Unified Loader both into the IPAdapter Advanced node. Be sure to set the preset to PLUS (high strength) if you are using the same IP adapter model mentioned previously.</p><p>Lastly, in the IPAdapter Advanced, be sure to change the weight_type to style transfer.</p><p>The model output from the IPAdapter Advanced goes directly into the KSampler node, where the modified model file will now accurately draw an image/style based on your desired input.</p><h3>Segmentation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ckf01Q0rYVUeMlotlDdE2g.png" /></figure><p>One of the coolest parts of this process is the implementation of the GroundingDino model. This segmentation model can be given a textual prompt and then find that within an image and segment it out accordingly.</p><p><strong>This is extremely powerful</strong>.</p><p>While in our workflow, we are using this for segmenting a shirt, you could segment just about anything, from a hat to a pair of shoes, and even entire backgrounds. The possibilities are endless.</p><p>To set this up, you’ll need to bring in the Segment Anything custom node (available in ComfyUI manager or <a href="https://github.com/storyicon/comfyui_segment_anything">via the GitHub repo</a>).</p><p>Like IPAdapter, when segmenting, an image will be the first input.</p><p>Therefore, set up your Load Image node and then pass it through to the GroundingDinoSAMSegment node.</p><p>In addition, you&#39;ll need to bring in a Segment Anything model with the SAMModelLoader node along with the GroundingDinoModelLoader. On first run, these model loader nodes will go out and download the relevant models (~3GB) and then pass them into the GroundingDinoSAMSegment node.</p><p>As you will notice, the GroundingDinoSAMSegment node has a text field where you can input a word of the object you want to segment, such as shirt, glasses, etc.</p><p>Now you can define multiple objects like shirt glasses, however, I noticed that it won&#39;t be nearly as reliable:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*892R7y_tWd4Ie1Zgl0FYzA.png" /></figure><p>As for the threshold, generally speaking, a lower value allows the model to be more liberal with its selection, whereas a high value will be more confident. Too high a value may result in an error where nothing is selected.</p><p>Once segmented, you’ll just need to pass the mask to both the VAE Encode (for Inpainting) (mask input) and IPAdapter Advanced (attn_mask input) nodes. The original image should also be passed to the VAE Encode (for Inpainting) node.</p><p><em>Optional</em>: You can add a FeatherMask node to the mask, which softens the edges and may help produce better results.</p><h3>Queue Prompt &amp; Review Results</h3><p>Once all connected, you can queue the prompt and review the results. You should see a fairly accurate representation of your desired outcome, with the shirt transformed into a jazzy Hawaiian shirt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkSCZTEVJhYTg03C7eW9CQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VUnTWhAnAj78tWpNki_hSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2J-fUf6clzHfTQLoxOh3fw.png" /><figcaption>Few different ways to apply the style</figcaption></figure><p>Take note of the output image and adjust the settings as needed to achieve the desired outcome.</p><p>Remember to experiment with different settings and test various models to find the perfect combination that works for you.</p><h3>Advantages and Limitations to this Process</h3><p>Here’s a general pros/cons overview of this approach that may be helpful in deciding how to use this workflow to your advantage:</p><p><strong>Pros</strong>:</p><ul><li>Zero-shot object detection by GroundingDino allows you to automatically segment and retouch images in a batch process.</li><li>Accurate segmentations allow for the model to only retouch the correct area.</li><li>Potential consumer-facing applications such as a ‘virtual try-on’</li></ul><p><strong>Cons</strong>:</p><ul><li>Segmentation eats up a few more GB of VRAM, which may cause problems if using with other nodes like ControlNets, LoRAs, AnimateDiff, etc.</li><li>Only style application, not physical application. For example, if a long-sleeve shirt is the input for the IPAdapter, the final image will still have short sleeves as that is what is segmented.</li></ul><p><strong>👉 Want to power-up your AI art skills? Then </strong><a href="https://promptingpixels.com/"><strong>consider checking out the FREE Prompting Pixels courses</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d20eaeccdc0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/how-to-change-outfits-in-comfyui-7d20eaeccdc0">How to Change Outfits in ComfyUI</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use Differential Diffusion for Better Inpainting in ComfyUI]]></title>
            <link>https://medium.com/code-canvas/how-to-use-differential-diffusion-for-better-inpainting-in-comfyui-bbf710a80f98?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/bbf710a80f98</guid>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[comfy-ui]]></category>
            <category><![CDATA[generative-art]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 03:53:31 GMT</pubDate>
            <atom:updated>2024-09-04T22:11:15.925Z</atom:updated>
            <content:encoded><![CDATA[<p>After being asleep at the wheel for a couple of months, <a href="https://differential-diffusion.github.io/">differential diffusion was introduced</a>.</p><p>After playing with it for a couple of days — I am still blown away at the results.</p><p>This new state-of-the-art method allows for changes on a <em>per pixel basis</em> rather than an entire region.</p><p>Another way to put this in perhaps more layman’s terms, or at least this is the way I understand it — is that instead of masking out an area to make changes when inpainting, differential diffusion allows you to apply a mask as a gradient instead, with the light areas of the mask more likely to change and the darker areas less likely to change. <strong>This results in cleaner and better end results without any jagged edges</strong>.</p><p>To quickly demonstrate the difference.</p><p>Here’s a side-by-side demonstration of what an inpainting mask looked like before (left) and what it’ll look like after using differential diffusion (right).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wYxCI1IX-QCiBC6m3TcwA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7fvRm1pmcWAwzEH2CIsZYg.png" /><figcaption>Old method on the left with a rigid black and white mask. New method introduces a soft gradient mask for better results.</figcaption></figure><p>While this doesn’t necessarily <em>look</em> groundbreaking. Trust me on this — the results are super good.</p><h3>Demonstrating the Process</h3><p>As always, if you want to check out how this all works, check out the <a href="https://promptingpixels.com/soft-inpainting-in-comfyui/">Prompting Pixels website</a> where I the workflow available to download.</p><p>Don’t worry; I’ll still be going over much of the same information in this article, but I think that page may give you a little better understanding.</p><p>There’s also a video on YouTube as well:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGvZXK4phJmE&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGvZXK4phJmE&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=google" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6a2d36273e74f17195ebb061c0969160/href">https://medium.com/media/6a2d36273e74f17195ebb061c0969160/href</a></iframe><h3>The Nodes</h3><p>The workflow to set this up in ComfyUI is surprisingly simple. You’ll just need to incorporate three nodes minimum:</p><ul><li>Gaussian Blur Mask</li><li>Differential Diffusion</li><li>Inpaint Model Conditioning</li><li>Convert Mask to Image (optional — helpful to review the mask)</li></ul><h3>The Workflow</h3><p>In this short demonstration, we’ll be using a standard inpainting workflow. This means an image will be provided as an input, and then we’ll modify it through mask editing and prompting.</p><p><strong>So for the first half of the workflow:</strong></p><p>We’ll set up our Load Image node where I&#39;ll be putting in the original image I want to adapt. In this case, <a href="https://unsplash.com/photos/woman-in-white-crew-neck-shirt-smiling-IF9TK5Uy-KI">I am using this cropped image from Unsplash</a>.</p><p>Then, by right-clicking on the image, I’ll open up the Mask Editor to select the area I want to modify:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewFwBMj376Y4yzP9dmNIHA.png" /></figure><p>In this example, my goal is to have her wearing glasses. So, with that in mind, I’ll mask out the appropriate area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QPTdQAYlIPTU26dG3SChDQ.png" /></figure><p>Once masked, you’ll put the Mask output from the Load Image node into the Gaussian Blur Mask node. This node applies a gradient to the selected mask.</p><p>Think of the kernel_size as effectively the size of the brush (larger value = bigger brush), whereas the sigma is the strength of the softness (larger value = softer gradient).</p><p>The workflow should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wea0-eddDr9RK90HLLZv_Q.png" /></figure><p><strong>Pro Tip</strong>: The softer the gradient, the more of the surrounding area may change. So, don’t soften it too much if you want to retain the style of surrounding objects (i.e. in this example it would be the nose, mouth, etc.).</p><p>The checkpoint you’ll just use a standard generational checkpoint — <strong>not</strong> an inpainting checkpoint (more on this in a minute).</p><p>As for your prompt, it’s just like regular inpainting. The prompt should be both what your image currently is <em>and</em> what you want it to be. So, instead of just a woman, it becomes a woman wearing glasses.</p><p><strong>Second half of the workflow:</strong></p><p>The second half is where things get interesting. Unlike traditional inpainting that you must download a separate inpainting checkpoint, differential diffusion works well with standard generational checkpoints (can still provide good results with an inpainting checkpoint as well).</p><p>Here’s what the second half of the workflow looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*asgVBQRw4XToH54c_afAVw.png" /></figure><p>However, you’ll need to condition the model by passing your model through the Differential Diffusion node.</p><p>Additionally, your prompts, mask, etc. must also be passed through the Inpaint Model Conditioning node.</p><p>These are native to ComfyUI.</p><p><strong>Pro Tip: </strong>If you don&#39;t see them, make sure you update your application accordingly in order to load these nodes.</p><p>Lastly, for the KSampler, you will just set the values that work best for your checkpoint.</p><p>The one notable change you&#39;ll want to look at here is the denoise value in the KSampler node. Essentially, denoise is how much noise is added to the masked region. So, if denoise = 1, then the model will draw completely new results and have no knowledge of what is under the pure white areas of the mask. Whereas a denoise value of 0, and the image won&#39;t change.</p><p>Typically, <strong>somewhere in the range of .6 - .8 is good for inpainting</strong>, as the final result will change depending on your prompt while still having some knowledge of the information underneath the mask.</p><p>Once all set, just hit that Queue Prompt button and review the results.</p><p>Here’s a look at our before and after:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*roekEcpY5ht3Hh54kadjQg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4c9siYz9zqzdLbAagySPgQ.png" /></figure><p>Pretty cool and incredibly consistent between the cheeks and glasses — you’d never know this was effectively two different images. Notice that subtle details like her eyebrows and nosering changed slightly — this could be reduced by being more selective on the mask and reducing the sigma value in the Guassian Blur Mask node.</p><p>However, admittedly, the top line of the glasses where the eyelashes meet is a little strange-looking, but nothing that couldn’t be cleaned up after an iteration or two.</p><p>So, there you have it, a cool new way to do better inpainting.</p><p><strong>Want to learn more about diffusion models? </strong><a href="https://promptingpixels.com/"><strong>Check out the Prompting Pixels website</strong></a><strong> where we have in-depth tutorials and videos.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbf710a80f98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/how-to-use-differential-diffusion-for-better-inpainting-in-comfyui-bbf710a80f98">How to Use Differential Diffusion for Better Inpainting in ComfyUI</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Stable Diffusion User’s Guide to Understanding Flux.1]]></title>
            <link>https://medium.com/code-canvas/a-stable-diffusion-users-guide-to-understanding-flux-1-fee1e77c28a1?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/fee1e77c28a1</guid>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[ai-art]]></category>
            <category><![CDATA[flux]]></category>
            <category><![CDATA[ai-art-generator]]></category>
            <category><![CDATA[midjourney]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 03:53:19 GMT</pubDate>
            <atom:updated>2024-09-04T22:11:35.089Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qBIP-mcn81IW468AIPuRzw.png" /><figcaption>Prompt: A baby kitten sitting on a small chair holding up a book. On the cover of the book, the title says ‘Flux’. Natural lighting with cartoon or 3D Pixar-like elements blended with natural characteristics.</figcaption></figure><p>Flux.1, released on 8/1/24 by Black Forest Labs, is a new text-to-image generation model that delivers significant improvements in quality and prompt adherence compared to other diffusion models, including Stable Diffusion, Midjourney, and OpenAI’s DALL-E.</p><p>If you’re a hobbyist familiar with SD 1.5 or SDXL, this article is designed to get you up to speed on why you might want to consider using Flux.1 for your image generation tasks going forward.</p><h3>Who Made Flux.1?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dCNOw8b0_B4359IIJCCPqQ.png" /></figure><p><a href="https://blackforestlabs.ai/our-team/">Many of the key individuals</a> from the original Stable Diffusion team are behind Black Forest Labs and their flagship model, Flux.1.</p><p>Think of it as the unofficial successor to SDXL (we are purposely ignoring SD3 since it is believed that many of these folks had already left Stability at the time of the release).</p><h3>What Makes Flux.1 Special?</h3><p><a href="https://blackforestlabs.ai/announcements/">As Black Forest Labs puts it</a>:</p><blockquote><em>All public FLUX.1 models are based on a hybrid architecture of multimodal and parallel diffusion transformer blocks and scaled to 12B parameters.</em></blockquote><p><a href="https://arxiv.org/abs/2403.03206">When reading the linked paper they cited</a>, one interesting approach is the reliance on two CLIP models (G/14 and L/14) and T5 XXL.</p><p><strong>Note</strong>: SDXL <a href="https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0">uses two versions of CLIP as well</a>.</p><p>As mentioned in the paper about the impact of T5:</p><blockquote><em>We observe T5 to be important for complex prompts, e.g., those involving a high degree of detail or longer spelled text (rows 2 and 3). For most prompts, however, we find that removing T5 at inference time still achieves competitive performance.</em></blockquote><p>Furthermore, the ELO score, which is a method to compare relative skills of models/players/etc., demonstrates that Flux.1 is the best-performing model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qpuDILtischA2prmZBrLvQ.jpeg" /></figure><h3>How Prompting Is Completely Different</h3><p>When prompting in Flux.1 you can be much more descriptive and speak naturally instead of using archaic SD 1.5 or SDXL prompting. For example, in the image below, I used the following prompt:</p><blockquote>Picture of a woman wearing glasses white blouse black denim shorts and casual shoes standing in a new york city alley and holding a cardboard sign that has writing on it in black paint that says “WHAT THE FLUX?!”, natural lighting and people walking in the background</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wJxYTyvxL-iK1Q55e3lF2Q.png" /></figure><p>For the most part Flux.1 got everything spot-on without issue — only exception is that there is no reference to her shoes in the final image!</p><p>Here’s the other key part:</p><p>Flux.1 doesn’t require negative prompting — this is understandably hard to get used to. However, with descriptive prompting you can typically get the results you’re looking for in fewer attempts.</p><p>As for nuanced prompting, Flux.1 also performs quite well. Here’s a sample prompt I wrote:</p><blockquote>On the floor is a green pyramid. Next to the green pyramid is a red square block. Behind the blocks is a wooden chair. The view is overhead. Use natural lighting.</blockquote><p>Here’s the output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NjRlpp_dASpLfJn1CR-BbQ.png" /></figure><p>Impressive that Flux.1 got all the right order of elements in the image. The view could perhaps use some adjustments, but overall not bad.</p><h3>What’s With All The Different Versions of Flux.1?</h3><p>There are three distinct versions of Flux.1: <strong>Pro, Dev, and Schnell</strong>.</p><p>You can read more about the differences at the official <a href="https://blackforestlabs.ai/announcing-black-forest-labs/">Flux.1 announcement</a>.</p><ul><li><strong>Pro</strong> is the best model, optimized for high-quality, high-resolution images. Access is available via an API to Black Forest Labs or through third-party API providers like Replicate, Segmind, and Fal.ai.</li><li><strong>Dev</strong> is nearly identical to Pro but is optimized for research and development. <a href="https://huggingface.co/black-forest-labs/FLUX.1-dev">You can download the model via HuggingFace</a> and run it on your own hardware. It comes with a non-commercial license. However, it’s quite large, making it somewhat limited for casual local use.</li><li><strong>Schnell</strong> (German for “fast”) is the fastest model, optimized for speed and local development. It was released under the Apache 2.0 license, which allows for commercial use. <a href="https://huggingface.co/black-forest-labs/FLUX.1-schnell">You can download the model via HuggingFace and run it on your own hardware</a>.</li></ul><h3>GPU Requirements for Flux.1</h3><p>If you decide to use Flux.1 Dev, it’s ideal to have a GPU with at least 12GB of VRAM.</p><p>Quantized versions of the model are available, such as those provided by <a href="https://huggingface.co/city96">City96 on HuggingFace</a>, which work well with ComfyUI. For those who prefer WebUI Forge, check out this post to get things up and running with lower VRAM usage.</p><p><a href="https://www.reddit.com/r/StableDiffusion/comments/1en7ys0/gpu_benchmark_with_flux1/">Folks on Reddit</a> are reporting varying inference times depending on their GPU. For some hard numbers, check out this thread, which summarizes the performance of the various models:</p><pre>+-------------+-------------+<br>|     GPU     | Render Time |<br>+-------------+-------------+<br>| RTX 3060    |     116.81  |<br>| RTX 3090    |      29.77  |<br>| RTX 4090    |      20.06  |<br>| RTX 4060 Ti |      45.00  |<br>| GTX 1060    |     600.00  |<br>| GTX 1070    |     120.00  |<br>| GTX 1080Ti  |     445.57  |<br>+-------------+-------------+<br><br>*Render time in seconds.</pre><h3>Fine-Tunes &amp; LoRAs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oEeT_Q0O853C6DtZyGDAdA.png" /></figure><p>While Flux.1 was just released, the community is already hard at work creating LoRAs and fine-tunes. You can find them at the usual places, including Tensor.art, Civitai, and HuggingFace.</p><p>When testing, I found that LoRAs tend to work much better with the base model than always downloading a fine-tuned model. While it’s still early, be sure to give them a chance before writing them off.</p><h3>ControlNets &amp; IP-Adapters</h3><p>While the rapid release of LoRAs is exciting, the community is eagerly awaiting adaptations specifically for both ControlNets and IP-Adapters.</p><p>Currently, some initial releases worth checking out are available from <a href="https://huggingface.co/Shakker-Labs">ShakkerAI Labs</a>, <a href="https://github.com/TheMistoAI/MistoControlNet-Flux-dev">Misto.AI</a>, and <a href="https://huggingface.co/XLabs-AI/flux-ip-adapter">XLabs-AI</a>.</p><p>However, compatibility with NF4 or GGUF formats may be limited at this time.</p><p><strong>Want to learn more about diffusion models? </strong><a href="https://promptingpixels.com/"><strong>Check out the Prompting Pixels website</strong></a><strong> where we have in-depth tutorials and videos.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fee1e77c28a1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/a-stable-diffusion-users-guide-to-understanding-flux-1-fee1e77c28a1">A Stable Diffusion User’s Guide to Understanding Flux.1</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unleashing the Power of ComfyUI with Python: A Step-by-Step Guide]]></title>
            <link>https://medium.com/code-canvas/unleashing-the-power-of-comfyui-with-python-a-step-by-step-guide-c495f62308f2?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/c495f62308f2</guid>
            <category><![CDATA[ai-art]]></category>
            <category><![CDATA[comfy-ui]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 03:53:08 GMT</pubDate>
            <atom:updated>2025-01-09T21:29:22.084Z</atom:updated>
            <content:encoded><![CDATA[<p>ComfyUI is a powerful tool for image generation, when combined with Python the possibilities become truly endless.</p><p>Here’s how you can set up ComfyUI with Python with an image-to-image workflow.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FoVS1B1gflL8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DoVS1B1gflL8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoVS1B1gflL8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/41c6879bef4f838e3438e9b5b68de575/href">https://medium.com/media/41c6879bef4f838e3438e9b5b68de575/href</a></iframe><p><strong>👉 All files referenced in this article </strong><a href="https://promptingpixels.com/comfyui-with-python/"><strong>are available to download for free on the Prompting Pixels website</strong></a><strong>.</strong></p><h3>Setting Up ComfyUI</h3><p>1. Install the <a href="https://github.com/Acly/comfyui-tooling-nodes">ComfyUI tooling node</a> custom node. This allows you to send and receive images, especially useful if ComfyUI is installed on a separate web server.</p><p>2. Enable dev mode in ComfyUI settings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y3luTuB36E1aPB1idbrFoA.png" /><figcaption>This allows you to save your workflows as API files.</figcaption></figure><p>3. Also with settings, go to <strong>Light Graph</strong> and scroll down to the node section and make sure the <strong>Node ID badge mode</strong> is set to “show all”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*igx-wdFMumGzaZI8L65aAQ.png" /><figcaption>This makes it easier to reference the exact node in Python</figcaption></figure><h3>Creating an Image-to-Image Workflow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pnIu1-JZU9ULTRYkyKMOdA.png" /><figcaption>You can <a href="https://promptingpixels.com/comfyui-with-python/">download this workfow here</a>.</figcaption></figure><p>The most, and relatively only, important aspect in this workflow that you should learn is the input and output nodes. In this case its the <strong>Load Image (Base64)</strong> and <strong>Send Image (WebSocket) nodes</strong>. We’ll be communicating to both of these via Python.</p><p>When saving this workflow, make sure you select the <strong>Export (API)</strong> option.</p><h3>Connecting Python to ComfyUI</h3><p>In a directory, store your input image, main.py file, and workfow file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8rYiB_bBYFx2J6oGH2KOA.png" /><figcaption>Again, <a href="https://promptingpixels.com/comfyui-with-python/">all of these files are available to download here</a>.</figcaption></figure><p>For the main.py file, I used Claude Sonnet to do most of the heavy lifting. Basically, this file loads the workflow, encodes the PNG input image to Base64, sends it to the server, and awaits the response to download the output image.</p><p>You can adapt upon it for your own needs however you want.</p><p>Before you execute the code, be sure to update the local IP address to the machine that is running ComfyUI. Additionally, also update the ID value to match that of the Load Image (Base64) node:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8j8Geq-KPa1dpvFc9KdvQ.png" /></figure><p>A successful call to the server should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HJxar3q2tSk5BgO5DcXoWg.png" /></figure><p>And consequently place a generated_image.png file in the same directory that the script was executed in.</p><h3>What’s Next?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IXT_T4c65n_0YJ7l495HgQ.jpeg" /></figure><p>Now that you have Python talking with ComfyUI — you have a lot of options you could take this.</p><p>From basic batch processing, prompting with LLMs, to scraping and beyond, with great power comes great responsibility.</p><p><strong>Did you like this tutorial? Check out </strong><a href="https://promptingpixels.com/"><strong>Prompting Pixels</strong></a><strong> for other great tutorials on ComfyUI and more.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c495f62308f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/unleashing-the-power-of-comfyui-with-python-a-step-by-step-guide-c495f62308f2">Unleashing the Power of ComfyUI with Python: A Step-by-Step Guide</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ideogram AI Review: Worth Trying In 2025?]]></title>
            <link>https://medium.com/code-canvas/is-ideogram-really-that-good-d3d98e6c4f55?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/d3d98e6c4f55</guid>
            <category><![CDATA[ideogram]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-art-generator]]></category>
            <category><![CDATA[ai-art]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 03:11:13 GMT</pubDate>
            <atom:updated>2025-03-04T14:44:06.936Z</atom:updated>
            <content:encoded><![CDATA[<p>My AI image generation journey started with Midjourney, and I kept using it for a long time mainly because I was used to it, not because I was completely happy with it.</p><p>AI image creation tools have gotten much better over time, which made me think about whether I was using the best tool for what I needed.</p><p>While I don’t think <a href="https://ideogram.cello.so/y6JwtOjnyvo">Ideogram</a> is the best tool for everyone, I believe it’s great for beginners, especially when you want to create text-based images or realistic pictures.</p><p>Here’s why:</p><h3>A Quick Note</h3><p>In the interest of full disclosure — I receive a commission <a href="https://ideogram.cello.so/y6JwtOjnyvo">if you click on a link like this one</a> to Ideogram and make a purchase — <strong>at no additional cost to you</strong>. I pay for the service out of my own pocket and have personally used Ideogram for several months.</p><p>This is <strong>my opinion</strong> of the service, and I try my best to approach this review with an open mind. However, it is only one data point and should be treated as such.</p><p>If you are on the fence reading this, then consider just paying the $8/mo and giving it a shot — that way you can instantly find out if it’s right for you. You can cancel your subscription at any time.</p><h3>Where I Find Ideogram Most Useful</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oT9RTDf1_lglshDZZXL33g.jpeg" /></figure><p>While recent advancements in diffusion models have made text generation far better than it was only a year ago, Ideogram is by far the best model for the job if you want stylized textual outputs.</p><h3>Text Generation</h3><p>It seems to get things right more often than not and can handle longer strings of text to short sentences.</p><p>I’ve personally found this to be most helpful with logo generation and t-shirt design.</p><p>Here are a few short sample outputs to showcase the performance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FMI1e9IETevOloFShIbk5A.png" /></figure><p>It got three out of four correct (capabilities was spelled wrong on the second design).</p><p>Very impressive!</p><p>For print-on-demand, <strong>it is a game changer</strong>.</p><h3>Logo Design</h3><p>Logo design can also be quite strong, but requires a little more patience. Consider checking out the ‘Explore’ tab and filtering for Logo designs if you need help with prompting tips and inspiration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zrp7s-ZtB8ZdBTwAPHgjYw.png" /><figcaption>Think of the potential this provides to logo designers?</figcaption></figure><h3>Batch Generation</h3><p>A feature sorely missing from other model providers such as Midjourney, batch generation can be super helpful if you are looking to scale artwork for various activities.</p><p>It could be for mood boards, unique character poses, or simply selling images on stock services like Adobe Stock.</p><p>Ideogram provides you with a simple CSV template where you just add the rows and then upload:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VFU1eiUG-5pfgBiCJfF5Q.png" /></figure><p>Even when submitting &gt; 200 rows of prompts, the total generation time is no more than a few minutes.</p><h3>Canvas</h3><p>The canvas is suitable for image editing and allows you to do many of the basic manipulations including remixing (image-to-image), inpainting, outpainting, applying text, and basic layer management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JqJm9Bou7ZF1q6t2YjnmYA.png" /></figure><p>I personally find canvas useful if you are making iterative edits to a single image rather than pure generation.</p><p>The UI within canvas does take a little getting used to. I found the layer management to be a little underwhelming as it is not always apparent if newly generated images were under the current layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dhOmDMEz_OS17sFCb-zx0A.png" /></figure><p>After an hour or two of playing in canvas, you can expect to master the tool.</p><h3>Prompt Adherence</h3><p>Recent advancements with AI image generation have been around prompt adherence — or the ability to generate complex images based on a prompt.</p><p><strong>My prompt is as follows</strong>: “an illustration of a wooden chair. on the right side of the chair is a red sphere, on the left side of the chair is a green pyramid. On top of the chair is a beach ball.”</p><p>Here are the outputs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sjsGl0hzCKAEP1IkNiNe0Q.png" /></figure><p>As you can see, 3 out of 4 images were correct.</p><h3>Magic Prompt</h3><p>Magic prompt is Ideogram’s way of helping out beginners and pros alike to help expand a prompt to generate more desirable outputs. For example, if I put in the prompt:</p><p>“a group of people at an indoor birthday party.” it generates the following outputs (Magic Prompt is turned off):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGHSTw8IYGU723lL_VpC5g.png" /><figcaption>Much more realistic images that you might snap on your phone…</figcaption></figure><p>Ideogram expands this to:</p><p>“In a warmly lit indoor space filled with vibrant balloons and colorful streamers hanging from the ceiling, a single joyful child stands center-stage, blowing out candles on a beautifully decorated cake. The scene is captured in a soft, glowing photograph style, with a cozy, inviting atmosphere that radiates happiness and celebration.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IjkarwXMSXHnrfmxJe9SdQ.png" /><figcaption>Now it looks like you hired a professional photographer…</figcaption></figure><p>As you can see, the latter is more aesthetically pleasing when it comes to both the composition and the lighting.</p><h3>API</h3><p>Ideogram offers an API — which is really terrific! <a href="https://developer.ideogram.ai/ideogram-api/api-setup">It is available through their site</a> or <a href="https://replicate.com/ideogram-ai/ideogram-v2a">through other inference providers like Replicate</a>.</p><p>The API is easy to use with endpoints consisting of generate (text-to-image), edit (inpaint), remix (image-to-image), upscale, and describe.</p><p>Costs have come down significantly over the past week(!) and moved this from a previous downside of Ideogram to now a strength. It used to cost $.08 per image now costs $0.04 (2a) or as low as $0.025 (2a turbo).</p><p>That being said, this is still relatively expensive compared to their web interface as you get 4 images per prompt rather than one. For a cost per image comparison:</p><p>Cost per image comparison:</p><ul><li>API (2a): $0.04 per image</li><li>API (2a turbo): $0.025 per image</li></ul><p>For the paid plans (using 2a turbo for best value):</p><ul><li>Basic: $8/3,200 = $0.0025 per image</li><li>Plus: $20/8,000 = $0.0025 per image</li><li>Pro: $60/28,000 = $0.0021 per image</li></ul><p>The paid plans are significantly more cost-effective than the API:</p><ul><li>Basic/Plus plans are 10x cheaper than API (2a turbo)</li><li>Pro plan is about 12x cheaper than API (2a turbo)</li></ul><p>Even compared to regular 2a API, the paid plans are 6–7x cheaper.</p><p><strong>The takeaway</strong>: If you are a developer, you don’t really have an option — and need to go with the API. However, if you are an individual creating a high number of images — you would be better off programmatically generating CSVs and using the batch generator to reduce costs and get 4x the outputs.</p><h3>Where Ideogram Comes Up Short</h3><p>While Ideogram works well for many AI image generation tasks, there are some noticeable areas where it could be improved.</p><h3>People</h3><p>A common fault with diffusion models is when generating many people in a scene, and Ideogram hasn’t fully overcome this shortcoming yet either. As you can see in the sample output below, faces are generally deformed, fingers are deformed, and generally the image is bad:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2dyDC4JxAw7b0li72CDR8w.png" /><figcaption>Many people + action shots = 🫠</figcaption></figure><p>To counteract this, you may need to limit the number of people in a frame, go for closer shots, and clean up in inpainting/Canvas.</p><h3>Upscaler</h3><p>When enlarging images, the upscaler is good, but takes a lot of creative liberties that may not work for all use cases. Ideogram provides two parameters within the upscaler — resemblance and detail. Resemblance, as the name suggests, determines how closely the model should follow the original input (0 = little resemblance/more creative; 100 = more resemblance/less creative). Detail is how much the model should fill in for details (0 = little added details and 100 = more details).</p><p>Here’s where I found this to not be the case. When setting the parameters to 100 resemblance and 10 for detail, significant changes were still seen in the final output of the image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xnVrYhBlGmn-NiqksDkGjQ.png" /></figure><p>👉 <a href="https://imgsli.com/MzU0Nzky">Click here to see the comparison slider on Imgsli</a>.</p><p>You can see that the eye colors change (from blue to brown), a lot of coloring added particularly under the eyes and nose, and the lips go from a light pink to nearly flesh tone.</p><p>That being said, the quality is phenomenal, but the details are just a bit too different given the parameter settings.</p><p>Here are a few other tests:</p><ul><li><a href="https://imgsli.com/MzU0Nzk0">1 detail / 100 resemblance</a></li><li><a href="https://imgsli.com/MzU0ODA3">100 detail / 1 resemblance</a></li><li><a href="https://imgsli.com/MzU0ODA4">50 detail / 1 resemblance</a></li><li><a href="https://imgsli.com/MzU0ODA5">50 detail / 100 resemblance</a></li><li><a href="https://imgsli.com/MzU0ODEw">100 detail / 100 resemblance</a></li></ul><h3>Alternatives</h3><p>Aside from Ideogram, commercial alternatives (i.e., paid platforms) consider <a href="https://www.midjourney.com/explore?tab=random">Midjourney</a>, <a href="https://leonardo.ai/">Leonardo</a>, <a href="https://www.recraft.ai/">Recraft</a>, <a href="https://www.canva.com/">Canva</a>, <a href="https://www.freepik.com/">Freepik</a>, <a href="https://www.adobe.com/products/firefly.html">Adobe</a>, and many others. These all have a polished interface that works well.</p><p>Open source models including Stable Diffusion 1.5, XL, and 3.5 are viable models from <a href="https://huggingface.co/stabilityai">Stability AI</a>. <a href="https://huggingface.co/black-forest-labs">Black Forest Labs</a> has Flux Schnell for commercial purposes (see Flux.dev for non-commercial/research).</p><h3>Overall Value &amp; Final Thoughts</h3><p>With plans starting at $8/mo with nearly the full suite of tools, it’s affordable for budget-minded to commercial users alike.</p><p>So if you want to try a new image generation service and in particular want one that can generate text, <a href="https://ideogram.cello.so/y6JwtOjnyvo">give Ideogram a shot</a>, I think you’ll be pleased with the results.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3d98e6c4f55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/is-ideogram-really-that-good-d3d98e6c4f55">Ideogram AI Review: Worth Trying In 2025?</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Options for Running ComfyUI in the Cloud]]></title>
            <link>https://medium.com/code-canvas/your-options-for-running-comfyui-in-the-cloud-162b77decebe?source=rss----6affa7c62952---4</link>
            <guid isPermaLink="false">https://medium.com/p/162b77decebe</guid>
            <category><![CDATA[ai-art]]></category>
            <category><![CDATA[cloud-gpu]]></category>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[comfy-ui]]></category>
            <dc:creator><![CDATA[Prompting Pixels]]></dc:creator>
            <pubDate>Tue, 30 Apr 2024 21:10:26 GMT</pubDate>
            <atom:updated>2024-04-15T18:26:36.064Z</atom:updated>
            <content:encoded><![CDATA[<p>ComfyUI is a powerful graphical user interface for AI image generation and processing. ComfyUI supports a variety of Stable Diffusion models (such as SD1.x, SD2.x, SDXL, and Stable Video Diffusion) and offers many optimizations for performance.</p><p>It also comes with an asynchronous queue system, dynamic node composition, model merging, prompt conditioning and editing, and a command line option for low-VRM usage.</p><p>ComfyUI also offers a node-based interface, allowing users to create complex workflows without any coding required.</p><p>Despite its numerous features and benefits, running ComfyUI locally can be resource-intensive, especially for users with limited hardware resources.</p><p>Here’s how you can run ComfyUI in the cloud to alleviate these resource constraints and enhance your AI image generation experience.</p><h3>Done For You Services</h3><p>Several cloud-based options are available for running ComfyUI, providing an easy way to access the software without the need for a powerful GPU or local installations. These services offer different features, pricing models, and user experiences to cater to various needs and budgets.</p><p>When choosing a cloud-based ComfyUI service, consider the following factors:</p><ol><li><strong>Pricing model</strong>: Some services charge based on usage (e.g., GPU time), while others offer monthly subscription plans with a set amount of credits or workflow runs.</li><li><strong>GPU performance</strong>: The type and power of the GPU can impact the speed of your workflow execution. Some services offer a choice of GPUs with different VRAM capacities.</li><li><strong>Parallelism</strong>: The ability to run multiple workflows simultaneously can significantly reduce overall execution time, especially for complex projects or batch processing.</li><li><strong>Customization</strong>: Depending on your requirements, you may need a service that allows you to install custom nodes, extensions, or models.</li><li><strong>User experience</strong>: Some services provide a user-friendly interface, pre-built workflows, or template galleries, which can be particularly helpful for beginners or those looking for a streamlined experience.</li><li><strong>Community and support</strong>: Having access to an active community of creators and comprehensive support can be valuable for learning, troubleshooting, and inspiration.</li></ol><h3>Comparison Table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XM4_I8zpulYxvIwoYADRg.png" /><figcaption>Medium.com doesn’t allow for text tables 😔</figcaption></figure><p>When selecting a cloud-based ComfyUI service, carefully evaluate your specific requirements and budget.</p><p>Consider the trade-offs between pricing, performance, customization, and user experience to find the best fit for your needs.</p><h3>Build Your Own</h3><p>If you prefer more control over your ComfyUI setup, you can build your own instance using cloud computing platforms. \</p><p>This approach allows for greater customization and flexibility compared to the “done for you” services.</p><p>Here are a few popular options:</p><h3>Runpod</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qfC4ypC2JZF7sZ47bIDRnw.png" /></figure><p><a href="https://www.runpod.io/">Runpod</a> offers a simple way to get started with ComfyUI in the cloud. They provide a pre-configured template that makes it easy to spin up a ComfyUI instance with just a few clicks.</p><p>Runpod recommends selecting a pod with at least 16GB of RAM for experimentation, and you can easily scale up for generating larger images.</p><p>Their blog post “<a href="https://blog.runpod.io/how-to-get-stable-diffusion-set-up-with-comfyui-on-runpod/">How to get Stable Diffusion Set Up With ComfyUI on Runpod</a>” provides a detailed walkthrough of the process.</p><h3>Vast.ai</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xxE7eZEs1k32Fq3ZsNCfzA.png" /></figure><p><a href="https://vast.ai/">Vast.ai</a> is another cloud platform that makes it simple to run ComfyUI. They offer a one-click template that gets you up and running quickly.</p><p>Just head to their Templates page, select ComfyUI, choose your desired machine (GPU) and storage, and click the “Rent” button to start your instance.</p><p>Personally, I’ve found Vast.ai to be a great option as its really cheap and intuitive. For example, to rent a RTX 3090 for an hour will only cost about $0.25! Not bad considering a brand new RTX 3090 will cost about $1,000.</p><h3>Vultr</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YoY5GJyWwqrxu-m0scvomA.png" /></figure><p><a href="https://www.vultr.com/">Vultr</a> is a cloud computing platform that offers a ready-to-use ComfyUI image in their Marketplace.</p><p>This pre-configured image allows you to launch and start using ComfyUI instantly, without any setup hassles. Vultr’s cloud infrastructure provides scalability, reliability, and global accessibility for your ComfyUI projects.</p><p>Regardless which option you choose, running ComfyUI in the cloud can greatly enhance your AI image generation experience by providing access to powerful hardware resources without the need for local installations.</p><p>But be sure to consider factors such as GPU performance, memory, storage, and pricing.</p><p>Each platform has its own pricing structure and available resources, so compare the options to find the best fit for your needs and budget. Building your own instance provides the most flexibility and control, but may require more technical knowledge compared to the “done for you” services.</p><p>ChatGPT, Anthropic’s Claude, and other LLMs can be super helpful in creating the essential scripts and configurations for spinning up my ComfyUI instances in the cloud. They have saved me countless hours of research and trial and error.</p><h3>ComfyUI Workflows</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1mmJccZRs_Hm0xPaH8TGzA.png" /></figure><p>ComfyUI Workflows .json or PNG files that allow you to share pre-configured workflows with others or easily reproduce your own creations.</p><p><strong>👉 We’ve got a </strong><a href="https://promptingpixels.com/comfyui-workflows/"><strong>bunch of workflows for free</strong></a><strong> over on the Prompting Pixels website.</strong></p><p>These workflows encapsulate all the nodes, settings, and connections required for a specific image generation task, making it simple to replicate or adapt the process for different inputs or outputs.</p><p>Users can drag and drop existing workflows into ComfyUI and start generating art right away, or they can use these workflows as a base and modify them to fit their own needs.</p><p>Workflows can be created to support a wide variety of models and extensions, such as Hires Fix, Img2Img, Inpainting, Lora, Hypernetworks, Embeddings/Textual Inversion, Upscale Models, and many more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=162b77decebe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-canvas/your-options-for-running-comfyui-in-the-cloud-162b77decebe">Your Options for Running ComfyUI in the Cloud</a> was originally published in <a href="https://medium.com/code-canvas">The Latent Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>