gligen / GLIGEN

Open-Set Grounded Text-to-Image Generation
MIT License
1.92k stars 144 forks source link

Image size #21

Closed StephanosPSteer closed 1 year ago

StephanosPSteer commented 1 year ago

Is it possible to adjust the image output size?

with stablediffusion i can do image = pipe(prompt, negative_prompt=negative_prompt, height=536, width=768, generator=generator).images[0]

is something like that possible in the inference

StephanosPSteer commented 1 year ago

Actually I note this functionality is in your diffusers fork, so all fine, thanks

StephanosPSteer commented 1 year ago

Actually gonna reopen as in diffusers fork when I change image aspect ratio to wider e.g. 768x512 multiples occur e.g. people

first one is right prompt = 'Emilia Clarke walking on the beach' and boxes/locations = [.25, .1, 0.5333, 0.9333] shot2_110 shot2_111