zsxkib / ic-light-background

🖼️✨Background images + prompts to auto-magically relights your images (+normal maps🗺️)

  • Public
  • 4.4K runs
  • GitHub
  • License

IC-Light Background: Illuminate Portraits with Stunning Backgrounds 🌄✨

Foreground (Subject) Image + Background Image + Prompt → Subject in Background w/ Correct Lighting

Overview 🖼️

IC-Light Background is a powerful AI-driven tool that takes portrait relighting to the next level by incorporating background images. As a companion to the IC-Light Text model, IC-Light Background allows you to relight your portraits using reference background images, ensuring a cohesive and visually stunning result. 🎨💡

Getting Started 🚀

To begin relighting your portraits with IC-Light Background:

  1. Upload your portrait image
  2. Provide a reference background image with the desired lighting
  3. Watch as IC-Light Background seamlessly applies the background lighting to your portrait! ✨

Background-Conditioned Relighting 📸🌠

IC-Light Background harnesses the power of background images to guide the relighting process. By analyzing the lighting in your reference background, the model can intelligently apply the same illumination to your portrait, creating a harmonious and visually striking result. 🌈

Normal Map Estimation 🗺️

One of the standout features of IC-Light Background is its ability to estimate normal maps from the relit portraits. By relighting the image from four different directions (left, right, top, bottom), the model can compute a detailed normal map that captures the 3D-like shading of your portrait. This adds an extra layer of depth and realism to your relit images. 🌍

Seamless Integration 🧩

IC-Light Background is designed to work hand-in-hand with the IC-Light Text model. While the text-conditioned model focuses on relighting portraits based on textual descriptions, IC-Light Background takes it a step further by incorporating reference background images. Together, these models provide a comprehensive and versatile portrait relighting solution. 🤝

Customization Options 🎚️

Just like its text-conditioned counterpart, IC-Light Background offers a wide range of customization options to fine-tune your relighting results. From adjusting the relighting strength to controlling the output resolution, you have the flexibility to create the perfect look for your portraits. 🔧

Cutting-Edge Technology 🧠

IC-Light Background is powered by state-of-the-art deep learning models, including Stable Diffusion v1.5 and the BriaRMBG model for foreground extraction. By leveraging advanced techniques such as variational autoencoders, U-Nets, and custom loss functions, IC-Light Background achieves unprecedented levels of relighting quality and consistency. 🚀

Elevate Your Portraits 📈

With IC-Light Background, you can take your portrait photography to new heights. By harnessing the power of stunning background lighting, you can create portraits that truly stand out and captivate your audience. Get ready to unleash your creativity and explore a world of breathtaking portrait relighting possibilities! 🌟

Responsible Use 🙏

As with any powerful tool, please use IC-Light Background responsibly. Respect the privacy and rights of the individuals in your photos, and always obtain necessary permissions before sharing or publishing relit images. 📜

Discover the magic of background-conditioned portrait relighting with IC-Light Background! 🎨✨


For text-conditioned portrait relighting, check out the IC-Light Text model. 📝💡