-
Notifications
You must be signed in to change notification settings - Fork 61
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
Endpoint interface for inpainting models that require two images. #282
Comments
This seems like a valid use case, wdyt ? Any models particularly fit for that ? AFAIK there's:
I'm not saying to say we should support everything, I'm listing things I'm aware of that could be nice to add so we can try to think a single (at most a pair) of widgets that try to handle as many cases as possible. |
There are some specialist in-painting models, but by and large most stable diffusion models are capable of many of those tasks @Narsil outlined, at least to some extent. Perhaps we could generalize to some sort of Is the final goal here a richer representation of ControlNet? |
I'm guessing the final goal is to showcase as best as possible what models can do. Currently it's the bare minimum lacking some potential to show off some super nice properties. Spaces can handle arbitrarily complex interfaces. |
Yes, of course! My question was more about what models should be tagged with these new widgets vs just with the text-to-image task. If I understand it correctly, the widget to show is determined based on the cc @apolinario, he always has good ideas about these things |
Indeed ! |
Is your feature request related to a problem? Please describe.
There doesn't appear to be an endpoint interface for Stable Diffusion inpainting models that require two image files, the base image and a mask.
Describe the solution you'd like
It would be handy to have an interface for these models so that the Hosted inference API widget would work on the model card views.
Describe alternatives you've considered
I recently had to create an endpoint for ControlNet inpainting: OrderAndChaos/controlnet-inpaint-endpoint. This was based on the philschmid/stable-diffusion-2-inpainting-endpoint endpoint.
Additional Context
Originally asked here: huggingface/huggingface_hub#1486
The text was updated successfully, but these errors were encountered: