GiusTex / ComfyUI-DiffusersImageOutpaint

Diffusers Image Outpaint for ComfyUI
Apache License 2.0
56 stars 4 forks source link

How can I outpaint from the center outward? #15

Closed arso7 closed 2 days ago

arso7 commented 1 month ago

No matter what size image I input, it seems like there's no outpainting. Am I doing something wrong? 2024-10-26 125230

zmwv823 commented 4 weeks ago

For input images has the same picture aspect ratio as target resolution, need a custom resize option from the huggingface repo.

image

For input image got white edges like in issue , need overlap option to adjust the image to avoid bad results.

image

arso7 commented 3 weeks ago

For input images has the same picture aspect ratio as target resolution, need a custom resize option from the huggingface repo.

For input image got white edges like in issue , need overlap option to adjust the image to avoid bad results.

Could you explain a bit more? How can I get this custom resize option? Sorry, I'm still quite new to these things, or could you provide some keywords for me to search? Thank you!

GiusTex commented 3 weeks ago

Could you explain a bit more?

image

I think he means this part, from the filonii's huggingface space, I want to add that as I wrote here, but now I'm busy with other things. He also always writes in caps and bold, it's a bit frustrating. If you want to check filonii's code you can go on the app'code

zmwv823 commented 3 weeks ago

For input images has the same picture aspect ratio as target resolution, need a custom resize option from the huggingface repo.

For input image got white edges like in issue , need overlap option to adjust the image to avoid bad results.

Could you explain a bit more? How can I get this custom resize option? Sorry, I'm still quite new to these things, or could you provide some keywords for me to search? Thank you!

Option1: comfy official outpaint nodes:

image

Option2: node from my repo https://github.com/zmwv823/ComfyUI_Ctrlora

image

zmwv823 commented 3 weeks ago

Could you explain a bit more?

image

I think he means this part, from the filonii's huggingface space, I want to add that as I wrote here, but now I'm busy with other things. He also always writes in caps and bold, it's a bit frustrating. If you want to check filonii's code you can go on the app'code

PIL image process codes in here https://github.com/zmwv823/ComfyUI_Ctrlora/blob/master/UL_common/common.py, mostly from original repo. Take a look if interested and have time.

GiusTex commented 1 week ago

No matter what size image I input, it seems like there's no outpainting. Am I doing something wrong?

@arso7, update the extension and the nodes and try again, if you have problems attach here your workflow or a screen of all of it

arso7 commented 9 hours ago

No matter what size image I input, it seems like there's no outpainting. Am I doing something wrong?

@arso7, update the extension and the nodes and try again, if you have problems attach here your workflow or a screen of all of it

Thank you for the update.

GiusTex commented 9 hours ago

Is it working now?