- 📉 a lower `strength` value means the generated image is more similar to the initial image  
The `strength` and `num_inference_steps` parameters are related because `strength` determines the number of noise steps to add. For example, if the `num_inference_steps` is 50 and `strength` is 0.8, then this means adding 40 (50 * 0.8) steps of noise to the initial image and then denoising for 40 steps to get the newly generated image.  
```py
import torch
from diffusers import AutoPipelineForImage2Image