invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.77k stars 2.44k forks source link

feat(ui): add empty state for regional guidance ref image #7363

Closed psychedelicious closed 4 days ago

psychedelicious commented 5 days ago

Summary

Adds empty state for reference images, like we have for control adapters.

https://github.com/user-attachments/assets/7505e244-71e0-486d-8bc3-7e7d92736964

Related Issues / Discussions

offline discussion

QA Instructions

One caveat - we don't track whether or not it is the first time that you have selected an image. When you click the reset icon in the corner of the reference image image, we fall back to the empty state.

This differs from the current behaviour, where clicking the reset icon only empties the image - the rest of the ref image settings are still displayed, with the image box being a placeholder. You can see this in the video.

We'll need to make some deeper changes if we want to track whether or not this is the first time the user has selected a reference image for a given layer.

Merge Plan

n/a

Checklist