How to set optional parameters? How to set the size of an image?
#31
by
blansj
- opened
How to set optional parameters? How to set the size of an image?
you can find all optional parameters in the diffusers official docs:
https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/text2img
height (int, optional, defaults to self.unet.config.sample_size * self.vae_scale_factor) — The height in pixels of the generated image.
width (int, optional, defaults to self.unet.config.sample_size * self.vae_scale_factor) — The width in pixels of the generated image.
wuxiaojun
changed discussion status to
closed