{"id":107742,"date":"2023-01-10T09:37:51","date_gmt":"2023-01-10T17:37:51","guid":{"rendered":"https:\/\/www.backblaze.com\/blog\/?p=107742"},"modified":"2025-07-18T14:07:14","modified_gmt":"2025-07-18T21:07:14","slug":"stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images","status":"publish","type":"post","link":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/","title":{"rendered":"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-107750\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png\" alt=\"\" width=\"1440\" height=\"820\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png 1440w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712-300x171.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712-1024x583.png 1024w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712-768x437.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712-560x319.png 560w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<p>AI is really having a moment. There\u2019s DALL-E, Lensa, ChatGPT. Your social media feed is probably full of new avatars and <a href=\"https:\/\/twitter.com\/backblaze\/status\/1600563461573947392?cxt=HHwWgMCt-Z7_q7YsAAAA\" target=\"_blank\" rel=\"noopener\">AI-generated haiku<\/a>. Naturally, we at Backblaze were intrigued by this brave new world of AI-generated content. The technology has been wildly popular, but is not without controversy, raising questions about intellectual property, copyright law, artist disenfranchisement, possible displacement of jobs, and general fear over the rise of the machines. On the other side of that coin, there\u2019s definitely a place for AI in the future of work and life. So, I wanted to experiment with it.<\/p>\n<p>Let\u2019s start with Stable Diffusion.<\/p>\n<p><a href=\"https:\/\/github.com\/CompVis\/stable-diffusion\" target=\"_blank\" rel=\"noopener\">Stable Diffusion<\/a> is one of the new text-to-image technologies popping up all over the internet that allows users to input words and phrases and get back amazing pictures created by its deep learning model. What makes Stable Diffusion so interesting is that it has been open sourced to allow anyone to create their own models for text-to-image generation.<\/p>\n<p>Today, I\u2019ll walk through how you can do just that using <a href=\"https:\/\/www.backblaze.com\/cloud-storage\" target=\"_blank\" rel=\"noopener\">Backblaze B2 Cloud Storage<\/a>.<\/p>\n<h2>Kicking the Stable Diffusion Tires<\/h2>\n<p>After playing with <a href=\"https:\/\/huggingface.co\/spaces\/stabilityai\/stable-diffusion\" target=\"_blank\" rel=\"noopener\">an online instance of Stable Diffusion<\/a>, I sought out content on some more ways to use the AI tool. I found several examples of how to use Stable Diffusion with your own images like <a href=\"https:\/\/www.youtube.com\/watch?v=qfBB-QSBC9Y\" target=\"_blank\" rel=\"noopener\">this one<\/a> and <a href=\"https:\/\/www.youtube.com\/watch?v=FaLTztGGueQ&amp;t=0s\" target=\"_blank\" rel=\"noopener\">this one<\/a>. The most common use case for this was taking advantage of AI to create art from a model based on your own face. Sounds cool, right? But what if I also had a bunch more pictures in Backblaze B2 Cloud Storage? Could I do the same thing to create art, graphics, branded images, and more, from my content in the cloud? The answer is a resounding YES.<\/p>\n<h3>Use Cases for Stable Diffusion<\/h3>\n<p>For me, this was a fun experiment, but we see a number of different ways this set up could be used both individually and for businesses. I started with about 20 images or so as fodder for Stable Diffusion\u2019s algorithm. But, that\u2019s just the beginning.<\/p>\n<p>Let\u2019s say you\u2019re a marketing team at a small company. You <em>could<\/em> use Stable Diffusion\u2019s paid version and get access to hundreds of thousands of random images from Google, but you really only care about analyzing and generating photos that are relevant to your business. So, you run Stable Diffusion in a cloud compute instance and have it analyze a Backblaze B2 Bucket where you store your own library of images, which you\u2019ve probably been collecting for years. Set up that way, you have your own customized AI engine that analyzes and generates only images that are pertinent to your needs, rather than a bunch of images you don\u2019t care about.<\/p>\n<p>In this experiment, I used Google Colab, which worked well for my needs. But for a real implementation, you could use a Backblaze cloud compute partner like <a href=\"https:\/\/hub.backblaze.com\/backblaze-and-vultr\" target=\"_blank\" rel=\"noopener\">Vultr<\/a>. Egress between Backblaze and Vultr is free, so the analysis won\u2019t cost you anything beyond what it costs to use the two services.<\/p>\n<p>This could be hugely useful for marketing teams, but we also see the value for individuals or businesses who want to keep their data private but still take advantage of AI technology. This way, you aren\u2019t serving up images on public sites.<\/p>\n<p>So, how does it all work? Let\u2019s get into it.<\/p>\n<h2>Getting Started with Stable Diffusion and Backblaze B2<\/h2>\n<p>What you\u2019ll need:<\/p>\n<ul>\n<li>A Backblaze B2 account. You can <a href=\"https:\/\/www.backblaze.com\/b2\/sign-up.html?referrer=nopref\" target=\"_blank\" rel=\"noopener\">sign up for free here.<\/a><\/li>\n<li>A Google account.<\/li>\n<li>A smartphone to take pictures if you don\u2019t have 20 or so pictures of whatever subject you want to use lying around.<\/li>\n<li>Whatever software tool you&#8217;d like to use to mount Backblaze B2 as a drive on your computer. I use <a href=\"https:\/\/www.backblaze.com\/cloud-storage\/integrations\/rclone\" target=\"_blank\" rel=\"noopener\">Rclone<\/a> in this example but any cloud drive software will work.<\/li>\n<\/ul>\n<p>The first thing you\u2019ll need to do is create an account at <a href=\"https:\/\/huggingface.co\/\" target=\"_blank\" rel=\"noopener\">Hugging Face<\/a>. Hugging Face is the home of the modern AI community and is where Stable Diffusion lives. In your Hugging Face account, navigate to your Account Settings and go to Access Tokens\u2014we\u2019ll need one of these to allow our environment to use the Stable Diffusion engines.<\/p>\n<p>Now as to the environment, this can be on your own computer, in a virtual machine (VM), really wherever. My favorite (and free) method I found was a <a href=\"https:\/\/colab.research.google.com\/\" target=\"_blank\" rel=\"noopener\">Google Colab<\/a> notebook created by GitHub user <a href=\"https:\/\/github.com\/TheLastBen\" target=\"_blank\" rel=\"noopener\">TheLastBen<\/a> that makes the process so incredibly simple that anyone can do this. The Colab notebook also takes advantage of <a href=\"https:\/\/dreambooth.github.io\/\" target=\"_blank\" rel=\"noopener\">DreamBooth<\/a>, a Google Research project that provides for incredible detail on the art and images created by a diffusion model. In short, this is the easiest way to get really good looking AI art. You can get started with the Colab notebook <a href=\"https:\/\/colab.research.google.com\/github\/TheLastBen\/fast-stable-diffusion\/blob\/main\/fast-DreamBooth.ipynb\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-107748 size-full\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-1-e1673309858228.png\" alt=\"\" width=\"914\" height=\"560\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-1-e1673309858228.png 914w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-1-e1673309858228-300x184.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-1-e1673309858228-768x471.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-1-e1673309858228-560x343.png 560w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><\/p>\n<p>In the Colab notebook there are a ton of different options and a <a href=\"https:\/\/github.com\/Excalibro1\/fast-stable-diffusionwik\/wiki\/fast-stable-diffusion-wiki\" target=\"_blank\" rel=\"noopener\">great step-by-step guide<\/a> that explains them, but I\u2019ll walk you through the basic settings to get going:<\/p>\n<ol>\n<li>First, hit the <strong>Play<\/strong> button next to <strong>Dependencies<\/strong>.<\/li>\n<li>Once that\u2019s done, copy your <strong>User Access Token<\/strong> from your Hugging Face account.<\/li>\n<li>In the <strong>Model Download<\/strong> section, paste that <strong>User Access Token<\/strong> into the <strong>Huggingface_Token<\/strong> field.<\/li>\n<li>Click the <strong>Play<\/strong> button for <strong>Model Download<\/strong>.<\/li>\n<li>You\u2019ll see the script run below all the fields here. You can proceed when you see \u201cDONE!\u201d<\/li>\n<li>Finally, in the <strong>Dreambooth<\/strong> section, provide a name in the <strong>Session_Name<\/strong> field. This will be the name of the session that gets saved in your Google Drive. That name can be reused later to skip these steps next time.<\/li>\n<\/ol>\n<h2>Training the Stable Diffusion Model<\/h2>\n<p>Now the pictures: You\u2019ll want at least 20 pictures or so for your AI model to analyze in order to avoid creating a bunch of generic person art or nightmare fuel. So bust out your phone and take some selfies! If you have a friend to throw in two or three full body pictures this will help as well. A few optional tips:<\/p>\n<ul>\n<li>Use different expressions and angles.<\/li>\n<li>Use different backgrounds if you can.<\/li>\n<li>Use a square or 1:1 ratio setting. By default, Stable Diffusion&#8217;s default image size is 512 x 512 pixels, so using square images makes your input more similar to your desired output.<\/li>\n<\/ul>\n<p>If you\u2019re an iPhone user, you will need to take one extra step here to save your files in JPEG format. You can find a guide for that <a href=\"https:\/\/lifehacker.com\/convert-heic-to-jpg-on-windows-and-mac-1848768694\" target=\"_blank\" rel=\"noopener\">in this article<\/a>.<\/p>\n<p>As you save your photos, make sure the file names include the name you\u2019re going to use when generating your AI art. For example, my photos were all named troy (1).jpg, troy (2).jpg, troy (3).jpg, etc. This is important so that the AI understands what to call you (or your subject) when generating your images.<\/p>\n<p>Once you have your photos, it\u2019s time to upload them to a Bucket in Backblaze B2 Cloud Storage. You can easily do this in the <a href=\"https:\/\/www.backblaze.com\/mobile.html\" target=\"_blank\" rel=\"noopener\">Backblaze mobile app<\/a> or on <a href=\"https:\/\/secure.backblaze.com\/user_signin.htm?&amp;hopto=b2_buckets.htm\" target=\"_blank\" rel=\"noopener\">the Backblaze website<\/a>.<\/p>\n<p>With your selfies safely in Backblaze B2, make sure you make them accessible on your computer using a tool such as Rclone mount. If you don\u2019t have an account yet, you can check out <a href=\"https:\/\/help.backblaze.com\/hc\/en-us\/articles\/1260804565710-Quickstart-Guide-for-Rclone-and-B2-Cloud-Storage\" target=\"_blank\" rel=\"noopener\">our guide on how to set up and configure Rclone mount<\/a>.<\/p>\n<p>You might be wondering why you should upload the photos to a Backblaze B2 Bucket and then mount the Bucket so that we can access it locally, rather than just saving the files to a local folder?<\/p>\n<p>The answer is simple. In this example, we\u2019re working with a few images representing a single subject, so you likely won\u2019t have issues working from your local drive. As you further experiment with more subjects and more images of each subject, you\u2019ll likely outgrow your local drive. <a href=\"https:\/\/www.backblaze.com\/cloud-storage\" target=\"_blank\" rel=\"noopener\">Backblaze B2 Cloud Storage<\/a> scales infinitely so you won\u2019t have to worry about running out of space.<\/p>\n<p>Now, back to the Colab notebook, hit the play button on <strong>Instance Images<\/strong> and click the button that shows up to <strong>Choose Files<\/strong>. In the pop up, choose your mounted instance of your B2 Bucket and select the photos.<\/p>\n<p>Once they are uploaded, skip the <strong>Concept Images<\/strong> section and click the play button for <strong>Training<\/strong>. If you\u2019ve done everything right, you should see some ASCII art like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-107747\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-2.png\" alt=\"\" width=\"936\" height=\"456\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-2.png 936w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-2-300x146.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-2-768x374.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Stable-Diffusion-2-560x273.png 560w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<p>Depending on how many photos you selected, this can take some time. So grab a coffee, go for a walk, listen to a podcast, or perhaps all three.<\/p>\n<h2>Creating Your Own AI-Generated Masterpieces<\/h2>\n<p>Once complete, click the <strong>Play<\/strong> button under <strong>Test the Trained Model<\/strong>. This will launch a temporary instance of Stable Diffusion with your new custom model in <a href=\"https:\/\/github.com\/gradio-app\/gradio\" target=\"_blank\" rel=\"noopener\">Gradio<\/a>, which is an open-source Python library for running machine learning apps. Click the Gradio link generated and we\u2019re ready to start making some AI art.<\/p>\n<p>Again, there are a ton of options and configurations but all you really need to do at this point is enter some text into the <strong>Prompt<\/strong> box and click the big <strong>Generate<\/strong> button.<\/p>\n<p>Creating prompts for AI art is quickly becoming its own art form. There are tons of resources out there to inspire you, but here are a few prompts I used along with the resulting art.<\/p>\n<p><strong>Pro Tip:<\/strong> You may need to click the <strong>Generate<\/strong> button a few times if something looks off. This is totally normal\u2014your new AI friend is learning over time, and it does this by repeating the generation process.<\/p>\n<h4>Prompt: \u201cPhoto of troy digital painting\u201d<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-107746\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/Troy-1.png\" alt=\"\" width=\"936\" height=\"936\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-1.png 936w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-1-300x300.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-1-150x150.png 150w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-1-768x768.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-1-80x80.png 80w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-1-560x560.png 560w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<h4>Prompt: \u201cPhoto of troy person digital painting\u201d<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-107745\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/Troy-2.png\" alt=\"\" width=\"936\" height=\"936\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-2.png 936w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-2-300x300.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-2-150x150.png 150w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-2-768x768.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-2-80x80.png 80w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-2-560x560.png 560w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<h4>Prompt: \u201cPhoto of troy person digital painting asymmetrical headshot smiling\u201d<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-107744\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/Troy-3.png\" alt=\"\" width=\"936\" height=\"936\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-3.png 936w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-3-300x300.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-3-150x150.png 150w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-3-768x768.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-3-80x80.png 80w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-3-560x560.png 560w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<p>And finally for something fun\u2026<\/p>\n<h4>Prompt: \u201dphoto of troy person hand-drawn cartoon\u201d<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-107743\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/01\/Troy-4.png\" alt=\"\" width=\"936\" height=\"936\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-4.png 936w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-4-300x300.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-4-150x150.png 150w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-4-768x768.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-4-80x80.png 80w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/Troy-4-560x560.png 560w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<p>It even has an artist signature! Although I\u2019m not sure who fRny Y is?<\/p>\n<p>So, there you have it. Your very own AI engine, customized to generate versions of your face (or your library of images).<\/p>\n<p>Good luck to all the budding AI artists out there. If you give this a try, we\u2019d love to see your images on social media. You can find us @backblaze on <a href=\"https:\/\/twitter.com\/backblaze\" target=\"_blank\" rel=\"noopener\">Twitter<\/a>, <a href=\"https:\/\/www.facebook.com\/backblaze\" target=\"_blank\" rel=\"noopener\">Facebook<\/a>, and <a href=\"https:\/\/www.linkedin.com\/company\/backblaze\/\" target=\"_blank\" rel=\"noopener\">LinkedIn<\/a>. I look forward to seeing what you all create!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stable Diffusion: a new tool that introduces a lot of questions about how we work\u2014and a lot of opportunities as well. In this post, we&#8217;ll talk about how to generate AI image content from your personal photo archive in Backblaze B2. <\/p>\n","protected":false},"author":147,"featured_media":107750,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[7,434],"tags":[468],"class_list":["post-107742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-storage","category-featured-1","tag-b2cloud","entry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images<\/title>\n<meta name=\"description\" content=\"Explore how to leverage Stable Diffusion with Backblaze B2 for personalized AI-generated art, enhancing creativity while ensuring data privacy.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images\" \/>\n<meta property=\"og:description\" content=\"Explore how to leverage Stable Diffusion with Backblaze B2 for personalized AI-generated art, enhancing creativity while ensuring data privacy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/\" \/>\n<meta property=\"og:site_name\" content=\"Backblaze Blog | Cloud Storage &amp; Cloud Backup\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/backblaze\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-10T17:37:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-18T21:07:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"820\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Troy Liljedahl\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@backblaze\" \/>\n<meta name=\"twitter:site\" content=\"@backblaze\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Troy Liljedahl\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images","description":"Explore how to leverage Stable Diffusion with Backblaze B2 for personalized AI-generated art, enhancing creativity while ensuring data privacy.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images","og_description":"Explore how to leverage Stable Diffusion with Backblaze B2 for personalized AI-generated art, enhancing creativity while ensuring data privacy.","og_url":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/","og_site_name":"Backblaze Blog | Cloud Storage &amp; Cloud Backup","article_publisher":"https:\/\/www.facebook.com\/backblaze","article_published_time":"2023-01-10T17:37:51+00:00","article_modified_time":"2025-07-18T21:07:14+00:00","og_image":[{"width":1440,"height":820,"url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png","type":"image\/png"}],"author":"Troy Liljedahl","twitter_card":"summary_large_image","twitter_creator":"@backblaze","twitter_site":"@backblaze","twitter_misc":{"Written by":"Troy Liljedahl","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#article","isPartOf":{"@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/"},"author":{"name":"Troy Liljedahl","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/person\/808a57c5bb0e25426d4eedf455a9d278"},"headline":"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images","datePublished":"2023-01-10T17:37:51+00:00","dateModified":"2025-07-18T21:07:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/"},"wordCount":1712,"commentCount":0,"publisher":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#primaryimage"},"thumbnailUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png","keywords":["B2Cloud"],"articleSection":["Cloud Storage","Featured"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/","url":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/","name":"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images","isPartOf":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#primaryimage"},"image":{"@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#primaryimage"},"thumbnailUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png","datePublished":"2023-01-10T17:37:51+00:00","dateModified":"2025-07-18T21:07:14+00:00","description":"Explore how to leverage Stable Diffusion with Backblaze B2 for personalized AI-generated art, enhancing creativity while ensuring data privacy.","breadcrumb":{"@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#primaryimage","url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png","contentUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png","width":1440,"height":820},{"@type":"BreadcrumbList","@id":"https:\/\/www.backblaze.com\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Stable Diffusion and Backblaze: Create a Masterpiece from a Bucket of Your Own Images"}]},{"@type":"WebSite","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#website","url":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/","name":"Backblaze Cloud Solutions Blog","description":"Cloud Storage &amp; Cloud Backup","publisher":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#organization","name":"Backblaze","url":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.backblaze.com\/blog\/wp-content\/uploads\/2017\/12\/backblaze_icon_transparent.png?fit=512%2C512&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.backblaze.com\/blog\/wp-content\/uploads\/2017\/12\/backblaze_icon_transparent.png?fit=512%2C512&ssl=1","width":512,"height":512,"caption":"Backblaze"},"image":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/backblaze","https:\/\/x.com\/backblaze","https:\/\/www.youtube.com\/user\/Backblaze","https:\/\/en.wikipedia.org\/wiki\/Backblaze"]},{"@type":"Person","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/person\/808a57c5bb0e25426d4eedf455a9d278","name":"Troy Liljedahl","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2019\/12\/Screen-Shot-2019-12-18-at-2.31.25-PM-150x150.png","url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2019\/12\/Screen-Shot-2019-12-18-at-2.31.25-PM-150x150.png","contentUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2019\/12\/Screen-Shot-2019-12-18-at-2.31.25-PM-150x150.png","caption":"Troy Liljedahl"},"description":"Troy Liljedahl is the solutions engineer manager at Backblaze. He has spent his career solving puzzles and helping people find answers to their questions. Now, he gets to continue doing what he loves by connecting users with the best backup and cloud storage products on the market.","url":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/author\/troy\/"}]}},"jetpack_featured_media_url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/bb-bh-Stable-Diffusion-e1673308093712.png","_links":{"self":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/posts\/107742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/users\/147"}],"replies":[{"embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/comments?post=107742"}],"version-history":[{"count":0,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/posts\/107742\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/media\/107750"}],"wp:attachment":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/media?parent=107742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/categories?post=107742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/tags?post=107742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}