As a text-to-image model, Stable Diffusion is accessible through various websites.
Screenshot by Lance Whitney/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.
As a text-to-image model, Stable Diffusion is accessible through various websites.
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/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/If you're not happy with any of the suggested images, just try again. Keep the same prompt, but click theGenerate imagebutton to see four different images based on your description.
Regenerate the images.
Screenshot by Lance Whitney/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 theGenerate Imagebutton, and four images appear in response.
View the images.
Screenshot by Lance Whitney/Click a specific image to view it. Right-click on the image to save or copy it.
View an image.
Screenshot by Lance Whitney/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.
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 theDreambutton. In response, the site displays the number of images that you selected in Settings.
View the generated images.
Screenshot by Lance Whitney/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/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, typedxdiag. 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:
Browse to the Python 3.10.6 website. Scroll down to the Files section and click the link for theWindows installer (64-bit)(assuming you're running 64-bit Windows). Run the downloaded file to install Python.
Browse to the Download page for Git for Windows. Click the link for64-bit Git for Windows Setup. Install the downloaded file, accepting all the default options.
Browse to the GitHub page for the Stable Diffusion project file. Click the green Code button in the upper right and selectDownload 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.
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.
Browse to the page for the config yaml file. The file will appear as straight text. Right-click anywhere on the page and selectSave 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.
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.
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 theGeneratebutton. The application displays the images based on the count you requested.
Generate and view the images.
Screenshot by Lance Whitney/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/Disclaimer: Using AI-generated images could lead to copyright violations, so people should be cautious if they're using the images for commercial purposes.