How to use Stable Diffusion Img2Img

Like an image? Let's make another

Last Updated on

Buckle up – we’re about to teach you all about how to use Stable Diffusion Img2Img.

Creating images from an already-made image is an exciting new development in artificial intelligence. It includes making new images altogether or improving the look and quality of existing ones. Today’s AI programs, such as Stable Diffusion, are becoming more powerful, being able to generate images from understanding human-written text prompts inputted into the model. But did you know it could create a picture from an existing image? Check out our guide below to learn how that is done.

What is an Img2img?

Img2img, or image-to-image, creates an image from an already drawn image – or a text prompt. It follows the same color pattern, and the overall entire look view of that existing image is used as the input. This way, the input image acts as a guide. Therefore, it would work even if the image isn’t pretty or full-detailed. 

Essential AI Tools

Editor's pick
EXCLUSIVE DEAL 10,000 free bonus credits

Jasper AI

On-brand AI content wherever you create. 100,000+ customers creating real content with Jasper. One AI tool, all the best models.
Editor's pick
Only $0.01 per 100 words

Originality AI detector

Originality.AI Is The Most Accurate AI Detection.Across a testing data set of 1200 data samples it achieved an accuracy of 96% while its closest competitor achieved only 35%. Useful Chrome extension. Detects across emails, Google Docs, and websites.
Editor's pick

Experience the full power of an AI content generator that delivers premium results in seconds. 8 million users enjoy writing blogs 10x faster, effortlessly creating higher converting social media posts or writing more engaging emails. Sign up for a free trial.
Editor's pick
Recommended SEO Content tool

Surfer AI

The best tool for SEO AI content. No. 1 SEO tool. Starts at $29/month
*Prices are subject to change. PC Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn more

All that matters here is the composition and the colors it would use to generate the output image.

How to Use Stable Diffusion Img2img

Use the img2img command by following the below steps.



Create a blank background

First, create a white or black background with 512 × 512 picture resolution and now upload it on the main Canvas.



Draw a template image

Now draw an apple, or any other image using the color palette tool. You aren’t required to put too much effort into drawing it clearly or concisely. Just get a usable image that resembles closely to an apple.



Select command

Now select the v1.1.pruned.emaonly.ckpt command using the v1.5 model. You may use any other model, too, if you want. Now use the best prompt that closely resembles the resulting image. Use it in the prompt box below.



Set correct values

  • Set both the image height and width to 512.
  • Set 20 for the sampling steps and dpm++2M Karras for the sampling method.
  • Set the seed value to -1.



Generate images

Hit the generate button, and you’ll get four images. You may end the process here or can continue further for enhanced and detailed image results.


The image-to-image generator is a common feature in most AI art models, such as Stable Diffusion. It is a versatile way of controlling any image’s color and composition. With these techniques, you can get more control over the image-to-image feature in order to generate a picture similar to one you already have.