zsxkib / ic-light

Auto-magically relights your images

  • Public
  • 1.7K runs
  • GitHub
  • License



Run time and cost

This model runs on Nvidia A40 (Large) GPU hardware. Predictions typically complete within 18 seconds. The predict time for this model varies significantly based on the inputs.


IC-Light: Illuminating Portrait Relighting πŸ’‘πŸŒŸ

Overview 🌈

IC-Light (short for “Imposing Consistent Light”) is an AI-powered tool that magically relights your portrait photos using text descriptions or reference background images. Built upon cutting-edge deep learning techniques, IC-Light lets you create beautifully illuminated results with ease! πŸ“Έβœ¨

Getting Started πŸš€

To start relighting your portraits, simply:

  1. Upload your portrait image
  2. Describe the desired lighting using text or provide a reference background image
  3. Let IC-Light work its magic! ✨

Text-Conditioned Relighting βœοΈπŸ’‘

With text-conditioned relighting, you can describe the lighting you want using natural language. Want a warm, golden hour glow? Just type it in! IC-Light will interpret your description and relight your portrait accordingly. πŸŒ…

Background-Conditioned Relighting πŸŒ„πŸŒ 

Have a stunning background image with perfect lighting? Use it as a reference! IC-Light can analyze the lighting in your background image and apply it to your portrait, ensuring a seamless and cohesive look. 🎨

Consistency is Key πŸ”‘

IC-Light’s secret sauce is its ability to impose consistent lighting across your portrait. By training the model with a specialized loss function, IC-Light ensures that the relighting looks physically plausible and coherent, no matter how creative you get with your descriptions! πŸ§™β€β™‚οΈ

Customization Galore πŸŽ›οΈ

IC-Light offers a wide range of parameters to fine-tune your relighting results. From adjusting the intensity of the lighting to controlling the output quality, you have the power to create the perfect look for your portraits. 🎚️

Powered by Science πŸ”¬

Under the hood, IC-Light leverages state-of-the-art deep learning models, including Stable Diffusion v1.5, to work its relighting magic. With a powerful combination of text encoding, variational autoencoders, and U-Nets, IC-Light is at the forefront of AI-driven image manipulation. 🧠

Get Ready to Shine! ✨

With IC-Light, you can take your portrait photography to the next level. Say goodbye to flat, lifeless lighting and hello to stunning, perfectly illuminated portraits that will make your subjects shine! 🌟

Disclaimer πŸ“œ

While IC-Light is an incredibly powerful tool, please use it responsibly. Respect the privacy and rights of the individuals in your photos, and always obtain necessary permissions before sharing or publishing relit images. πŸ™

Get ready to see your portraits in a whole new light with IC-Light! 🌈✨