www.zdnet.com
Open in
urlscan Pro
2a04:4e42:4c::666
Public Scan
URL:
https://www.zdnet.com/article/how-to-use-stable-diffusion-ai-to-create-amazing-images/
Submission: On January 04 via api from US — Scanned from DE
Submission: On January 04 via api from US — Scanned from DE
Form analysis
1 forms found in the DOM<form class="c-smartSearch_form"><input aria-label="Search" placeholder="What are you looking for?" type="search" autocomplete="off" aria-autocomplete="list" aria-activedescendant="" aria-controls="c-searchSmartSearchResults" name="query" value="">
<button type="submit"><span class="search-go">Go</span> <svg>
<use xlink:href="#arrow-thin" aria-hidden="false"></use>
</svg></button></form>
Text Content
/> X Trending * I replaced my boring workouts with Meta Quest's Supernatural app * My new favorite default email client for Linux * I took Amazon's free AI courses, and recommend you do too * How to spot a fake data blocker * Which Windows apps to keep (and which to dump) * 7 useful things to do with your Flipper Zero * * The Apple Watch to buy this year * Meta's $299 Ray-Ban smart glasses may be the most useful gadget I've tested all year * iPhone 15 Pro review: Who this upgrade will wow * Samsung Galaxy S23 Ultra review: One of the best smartphones of the year * Sonos Era 300 review: Close to a perfect smart speaker * I tried Apple Vision Pro and it's far ahead of where I expected * * Best laptops * Best VPNs * Best TVs * Best Headphones * Best robot vacuums * ZDNET Recommends Tech * Gaming * Headphones * Laptops * Mobile Accessories * Networking * PCs * * Printers * Smartphones * Smart Watches * Speakers * Streaming Devices * Streaming Services * * Tablets * TVs * Wearables * * Kitchen & Household * Office Furniture * Office Hardware & Appliances * Smart Home * Smart Lighting * Yard & Outdoors Innovation * Artificial Intelligence * AR + VR * Cloud * Digital Transformation * Energy * * Robotics * Sustainability * Transportation * Work Life * * Accelerate your tech game Paid Content * How the New Space Race Will Drive Innovation * How the metaverse will change the future of work and society * * Managing the Multicloud * The Future of the Internet * The New Rules of Work * The Tech Trends to Watch in 2023 Business * See all Business * Amazon * Apple * Developer * E-Commerce * * Edge Computing * Enterprise Software * Executive * Google * Microsoft * * Professional Development * Social Media * SMB * Windows * * Digital transformation: Trends and insights for success * Software development: Emerging trends and changing roles Security * See all Security * Cyber Threats * Password Manager * Ransomware * VPN * * Cybersecurity: Let's get tactical * Securing the Cloud Advice * Deals * How-to * Product Comparisons * Product Spotlights * Reviews Buying Guides * See all Buying Guides * Best all-in-one computers * Best budget TVs * Best gaming CPUs * Best gaming laptops * Best gaming PCs * * Best headphones * Best iPads * Best iPhones * Best laptops * Best large tablets * Best OLED TVs * * Best robot vacuum mops * Best rugged tablets * Best Samsung phones * Best smart rings * Best smartphones * Best smartwatches * * Best speakers * Best tablets * Best travel VPNs * Best TVs * Best VPNs * Best Coupons tomorrow belongs to those who embrace it today * Asia * Australia * Europe * India * United Kingdom * United States * ZDNET France * ZDNET Germany * ZDNET Korea * ZDNET Japan Go Most Popular * See all Topics * Finance * Education * Health * Special Features * ZDNET In Depth * ZDNET Recommends * Newsletters * Videos * Editorial Guidelines * Trending I replaced my boring workouts with Meta Quest's Supernatural app My new favorite default email client for Linux I took Amazon's free AI courses, and recommend you do too How to spot a fake data blocker Which Windows apps to keep (and which to dump) 7 useful things to do with your Flipper Zero The Apple Watch to buy this year Meta's $299 Ray-Ban smart glasses may be the most useful gadget I've tested all year iPhone 15 Pro review: Who this upgrade will wow Samsung Galaxy S23 Ultra review: One of the best smartphones of the year Sonos Era 300 review: Close to a perfect smart speaker I tried Apple Vision Pro and it's far ahead of where I expected Best laptops Best VPNs Best TVs Best Headphones Best robot vacuums ZDNET Recommends * Tech Gaming Headphones Laptops Mobile Accessories Networking PCs Printers Smartphones Smart Watches Speakers Streaming Devices Streaming Services Tablets TVs Wearables Kitchen & Household Office Furniture Office Hardware & Appliances Smart Home Smart Lighting Yard & Outdoors * Innovation Artificial Intelligence AR + VR Cloud Digital Transformation Energy Robotics Sustainability Transportation Work Life Accelerate your tech game Paid Content How the New Space Race Will Drive Innovation How the metaverse will change the future of work and society Managing the Multicloud The Future of the Internet The New Rules of Work The Tech Trends to Watch in 2023 * Business See all Business Amazon Apple Developer E-Commerce Edge Computing Enterprise Software Executive Google Microsoft Professional Development Social Media SMB Windows Digital transformation: Trends and insights for success Software development: Emerging trends and changing roles * Security See all Security Cyber Threats Password Manager Ransomware VPN Cybersecurity: Let's get tactical Securing the Cloud * Advice Deals How-to Product Comparisons Product Spotlights Reviews * Buying Guides See all Buying Guides Best all-in-one computers Best budget TVs Best gaming CPUs Best gaming laptops Best gaming PCs Best headphones Best iPads Best iPhones Best laptops Best large tablets Best OLED TVs Best robot vacuum mops Best rugged tablets Best Samsung phones Best smart rings Best smartphones Best smartwatches Best speakers Best tablets Best travel VPNs Best TVs Best VPNs Best Coupons * More See all Topics Finance Education Health Special Features ZDNET In Depth ZDNET Recommends Newsletters Videos Editorial Guidelines Innovation Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process 'ZDNET Recommends': What exactly does it mean? ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing. When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers. ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form. Close Home Innovation Artificial Intelligence HOW TO USE STABLE DIFFUSION AI TO CREATE AMAZING IMAGES With the Stable Diffusion model, you can generate compelling images based on your own descriptions. Written by Lance Whitney, Contributor June 20, 2023 at 12:00 p.m. PT * * * * * MUST READ 5 ways ChatGPT can save you time in the new year Read now As a text-to-image model, Stable Diffusion is accessible through various websites. Screenshot by Lance Whitney/ZDNET The popularity of generative AI has led to a host of websites and services that are able to create an image from a text description or prompt. One option worth trying is Stable Diffusion. How to use: Midjourney | Bing Image Creator | DALL-E 2 | Craiyon AI An effective and versatile tool, Stable Diffusion is available through a range of websites and as a standalone application. Simply type your description, and it generates corresponding images. Here's how it works. HOW TO USE THE VARIOUS STABLE DIFFUSION WEBSITES As a text-to-image model, Stable Diffusion is accessible through various websites. STABLE DIFFUSION ONLINE 1. GENERATE THE IMAGE Use your browser to go to the Stable Diffusion Online site and click the button that says Get started for free. At the field for Enter your prompt, type a description of the image you want to generate. Then click the Generate image button. In response, the site displays four images by default. View the generated images. Screenshot by Lance Whitney/ZDNET NEWSLETTERS ZDNET Tech Today ZDNET's Tech Today newsletter is a daily briefing of the newest, most talked about stories, five days a week. Subscribe See all 2. SELECT AN IMAGE Click one of the four generated pictures and you can view it in a larger size. You can switch between the four images by clicking its thumbnail. Right-click on an image to display your browser's menu, which allows you to save, copy, or email the image. View and save an image. Screenshot by Lance Whitney/ZDNET 3. GENERATE A NEW IMAGE If you're not happy with any of the suggested images, just try again. Keep the same prompt, but click the Generate image button to see four different images based on your description. Regenerate the images. Screenshot by Lance Whitney/ZDNET HUGGING FACE 1. GENERATE AN IMAGE Another website that uses the Stable Diffusion model is Hugging Face. Browse to the site and type your description at the prompt. You'll notice that there's also a field for Negative prompt. Here, you're able to type text and suggest anything you don't want to include in the image. Click the Generate Image button, and four images appear in response. View the images. Screenshot by Lance Whitney/ZDNET 2. SELECT AN IMAGE Click a specific image to view it. Right-click on the image to save or copy it. View an image. Screenshot by Lance Whitney/ZDNET DREAMSTUDIO DreamStudio is another site that uses the Stable Diffusion model. However, this time you'll need to sign in with a supported account. You should also be aware that DreamStudio offers you a certain number of free credits that count toward generating images. If you use up those credits, you'll have to pay for more to continue using the site. Also: How to use Bing Image Creator (and why it's better than DALL-E 2) Browse to the Stability.AI login page. You can either log in with an existing Google or Discord account or click the sign-up link at the bottom to create a new account. After signing in with your account, you're taken to the DreamStudio website where you can log in. Before you can generate an image, you'll want to select a couple of options. First, click the field for Model and choose the version of Stable Diffusion you want to use -- either one of the production versions or the latest beta. Next, click the Style field and choose the type of style you'd like for your image, such as Anime, Photographic, Comic Book, Cinematic, or 3D Model. Also: This new technology could blow away GPT-4 and everything like it Under Settings, move the first slider to set the size of the image. Then move the second slider to choose how many images you wish to see. 1. GENERATE AN IMAGE Type your text description in the prompt. You can also exclude certain items from the image by adding them to the Negative prompt. When ready, click the Dream button. In response, the site displays the number of images that you selected in Settings. View the generated images. Screenshot by Lance Whitney/ZDNET 2. SELECT AN IMAGE Click an image to see a larger version. Right-click the image to save or copy it. View and save an image. Screenshot by Lance Whitney/ZDNET DOWNLOAD AND INSTALL STABLE DIFFUSION Rather than relying on the different websites that use Stable Diffusion as a model, you can install the program on your computer. However, be forewarned that setting up the application is challenging and requires several precise steps. The good news is that, once you're done, you can run it whenever and how often you want. Also: The best AI art generators to try Before you get started, you'll need to make sure your PC meets the minimum requirements: Windows 10 or 11, and a discrete NVIDIA video card with 4GB or more of VRAM. You can check the name and model of your video card and the amount of VRAM via the DirectX Diagnostic Tool. Press Win key+R to trigger the Run box. In the Open field, type dxdiag. In the DirectX Diagnostic Tool window, click the Display tab to see the name of your card and the amount of VRAM. If your card is up to snuff, go through the following steps: 1. INSTALL PYTHON Browse to the Python 3.10.6 website. Scroll down to the Files section and click the link for the Windows installer (64-bit) (assuming you're running 64-bit Windows). Run the downloaded file to install Python. 2. INSTALL GIT Browse to the Download page for Git for Windows. Click the link for 64-bit Git for Windows Setup. Install the downloaded file, accepting all the default options. 3. DOWNLOAD THE STABLE DIFFUSION PROJECT FILE Browse to the GitHub page for the Stable Diffusion project file. Click the green Code button in the upper right and select Download ZIP. Extract the downloaded ZIP file. Doing so creates a folder named stable-diffusion-webui-master. Copy this folder with all the extracted files to a simple location, such as the root of your C: drive. 4. DOWNLOAD AND SET UP THE CHECKPOINT FILE Browse to the Hugging Face webpage for the Stable Diffusion checkpoint file. Click the download link to save the 768-v-ema.ckpt file. This is a huge file, so be patient while it downloads. After the file has been downloaded, navigate to the following location: C:\stable-diffusion-webui-master\models\Stable-diffusion (assuming you copied this folder to the root of your C: drive). Inside this folder is a file named Put Stable Diffusion checkpoints here.txt. Copy the 768-v-ema.ckpt file into this folder. 5. DOWNLOAD THE CONFIG YAML FILE Browse to the page for the config yaml file. The file will appear as straight text. Right-click anywhere on the page and select Save as. Navigate to the C:\stable-diffusion-webui-master\models\Stable-diffusion folder and save the yaml file in this location. Change the name of the file to 768-v-ema but keep the yaml extension, so it should be named 768-v-ema.yaml. 6. RUN THE WEBUI-USER.BAT FILE Move to the stable-diffusion-webui-master folder and run the webui-user.bat file. After a couple of minutes, the window should display a line that reads: Running on local URL, followed by a URL with the IP address of your local machine and a port number. Copy and paste that entire URL with the port number into your favorite browser to display the Stable Diffusion application. However, keep the command window open. 7. GENERATE AN IMAGE Now you can finally generate an image. In the Stable Diffusion application, type a description for the image you want at the prompt. Enter any text you wish to exclude in the Negative prompt. If you want, you can change the parameters for Sampling method, width, height, and the rest. Set values for Batch count and Batch size if you need to change the defaults. When ready, click the Generate button. The application displays the images based on the count you requested. Generate and view the images. Screenshot by Lance Whitney/ZDNET Peek around the Stable Diffusion application and you'll find a host of other options, including ones to upload an image to generate a variation of it, scale and otherwise tweak an image, and tap into different extensions. Also: Meta's new AI model can identify objects in images. Here's why that matters If you find an image you like, click it to enlarge it. Click the Save or Zip button to save it. Otherwise, all the generated images are automatically saved in a folder that you can access by clicking the Folder button. View all the saved images. Screenshot by Lance Whitney/ZDNET Disclaimer: Using AI-generated images could lead to copyright violations, so people should be cautious if they're using the images for commercial purposes. MORE ON AI TOOLS How to use AI to compose email in BlueMail How to use Copilot (formerly called Bing Chat) How to use ChatGPT to write code How to use ChatGPT Plus: From web browsing to plugins How to use Bing Image Creator (and why it's better than ever) How to use ChatGPT * How to use AI to compose email in BlueMail * How to use Copilot (formerly called Bing Chat) * How to use ChatGPT to write code * How to use ChatGPT Plus: From web browsing to plugins * How to use Bing Image Creator (and why it's better than ever) * How to use ChatGPT Editorial standards Show Comments Log In to Comment Community Guidelines RELATED HOW TO USE LEONARDO AI TO GENERATE STUNNING ARTWORK AND IMAGES THE BEST AI ART GENERATORS: DALL-E 2 AND FUN ALTERNATIVES TO TRY WHAT DEVELOPERS TRYING OUT GOOGLE GEMINI SHOULD KNOW ABOUT THEIR DATA ZDNET we equip you to harness the power of disruptive innovation, at work and at home. * Topics * Galleries * Videos * Do Not Sell or Share My Personal Information * about ZDNET * Meet The Team * Sitemap * Reprint Policy * Join | Log In * Newsletters * Site Assistance * Licensing * * * * * * © 2024 ZDNET, A Red Ventures company. All rights reserved. Privacy Policy | Cookie Settings | Advertise | Terms of Use We use cookies and similar technologies to understand how you use our services, improve your experience and serve you personalized content and advertising. By clicking "Accept All", you accept all cookies. By clicking "Reject All", you reject all cookies except Strictly Necessary cookies. To manage your cookies and learn more about our use of cookies click “Cookie Settings”.Learn more. Cookie Settings Reject All Accept All