guidance_scale=guidance_scale,
generator=generator,
).images[0]
edited_image.save("edited_image.png")
```  
You should experiment with different `num_inference_steps`, `image_guidance_scale`, and `guidance_scale` values to see how they affect inference speed and quality. The guidance scale parameters are especially impactful because they control how much the original image and edit instructions affect the edited image.