Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

img2img node, please? #9

Open
c4fun opened this issue Feb 27, 2024 · 2 comments
Open

img2img node, please? #9

c4fun opened this issue Feb 27, 2024 · 2 comments

Comments

@c4fun
Copy link

c4fun commented Feb 27, 2024

As you know demofusion can be used as a way to detailize current low-res images. So the image to image is quite a great implementation. The source of img2img from demofusion is like this: https://github.com/PRIS-CV/DemoFusion/blob/main/gradio_demo_img2img.py

Could you make a node out of it? Thanks.

@ttulttul
Copy link
Collaborator

My suggestion is to head over to the overpainting workflow for the Iterative Mixing Sampler: https://github.com/ttulttul/ComfyUI-Iterative-Mixer/blob/main/examples/Overpainting.json

If you want to add detail, I would further suggest taking your input image and overpainting it from step 0 to 50%, then skip two steps, and sample from there to end_step. For instance go from 0 to 20, then 22 to 40. Skipping a step causes the model to get out of step with the noise and generate all kinds of details that were never there to begin with.

@kklors
Copy link

kklors commented Jun 18, 2024

That would be indeed great to have the img2img function.
Also could be higher resolutions be supported than 4096x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants