n a hat"
negative_prompt = "wrong white balance, dark, sketches,worst quality,low quality"

generator = torch.Generator("cpu").manual_seed(0)

output = pipe(image=image, prompt=prompt, generator=generator)
frames = output.frames[0]
export_to_gif(frames, "pia-freeinit-animation.gif") masterpiece, bestquality, sunset.
          FreeInit is not really free - the improved quality comes at the cost of extra computation. It requires sampling a few ex