ComfyUI Relighting ic-light workflow #comfyui #iclight #workflow - Legendas Bilíngues

Hi.
Today will get to know a new and very interesting tool in my opinion,
which allows us to change the lighting on a certain object, while adjusting colors and shadows, and also referring to the background.
The project and all the credit goes to Lyisville,
and I will of course leave a link to the repo in the description of the video.
Here is a demo where you can experiment, and understand a little how this tool works.
And also a big thanks goes to Kijai who made this project available.
I will also leave a link to that in the description.
You can download the necessary nodes from the comfy manager,
and perhaps the simplest way is to load the workflows attached to the examples and simply install the missing nodes.
The models can also be found in the manager,
and you can download them manually from this page, and simply put them under the unet folder under the models folder.
So let's take this workflow from the Kijai example and see what we have to play.
The red node is probably a node from another package, and according to the title it is responsible for disconnecting an object from the background.
So instead of installing it, I will simply replace it with remove background which I already have on my computer.
Let's start by loading an image, and here we need another image, probably for the background.
I want to put the model underwater so we'll load this image for the background.
I change the model to the model that exists on the computer, and in the prompt we will write a picture of a woman underwater.
Q is pressed,
and as you can see,
a mask was created for us here,
which probably has an important role in the process,
and we got a not-so-good picture, and especially distorted in terms of proportions, so first we'll fix that.
I change the key proportion to true, and the amount of pixels to 768 lengthwise and widthwise, and press Q again.
You can see that the proportions are now correct, but the quality is not so good.
And from the attempts I made, it seems to me that it works better, without adding a background image.
So let's check it out.
Notice that there is a question mark here.
If we click on it, you can see that in order to add a we need to work with a certain model.
Right now we only want to work on the character,
so I disconnect the latent of the background, and choose the appropriate model and press Q.
And now you can definitely see the effect the mask has on the process.
And the image feels more harmonious compared to the previous version.
Let's try to move the mask a little and see how it affects the result, so that we don't have to wait long.
In order to see the change in the mask, I'll put the sampler on mute for a moment.
This process is a bit annoying,
so we'll soon arrange that it will be more convenient for us to work,
but let's first see how the change in the mask affects, and you can definitely see that the lighting now comes from the right side.
To optimize the process of creating the mask, I want to be able to draw on the image.
which will allow me a little more freedom and comfort.
Let's change the workflow a bit.
Instead the create mask node, we will use load image to draw the mask where we want on the image.
What we now need is just to adjust the mask to the size of the image after the resize.
Then we will look for the resize mask node,
and the length and width will be changed to input, and we will connect them to the resize image.
node.
And we will connect this mask to the grow mask with blur.
And you can see how the lighting changes depending on the position of the mask.
Another thing worth playing with that affects the result is the blur radius.
And as you can see in Lyisville's demo,
the prompt and the description of the lighting also The problem is that the picture is a bit dark for me,
and I want to get some of the atmosphere in this picture,
which we tried to connect to the background before, for that I will also connect an IP adapter, and we'll see what we get.
Notice that the weights of the IP adapter are not too strong, compared to the change in lighting you want.
You can also play a little with the start at and end that to moderate the effect of the IP adapter.
Let's try with another picture.
Let's say we want to put this robot on the street at night,
and that it will be lit a little on the right side,
so I drew the mask where I want the light, and I'm uploading a reference image of the IP adapter for the background.
Don't forget to change the prompt to that.
And this is the result we got.
If you notice the transition between the robot and the background is not smooth,
and it is probably related to remove background, let's try to change the transparency to false.
And now the transition is much smoother.
I lower the blur radius a bit, and raise the weights of the IP adapter a bit.
And, perhaps one last thing, let's see how the robot is received without the IP adapter.
Here we have the IC light conditioning,
which allows us to play a bit with the multiplier,
which in terms of the result is more similar to raising the contrast, and now we will just add the IP adapter.
And this is the final result.
In short, a very interesting tool, which definitely adds control to the creative process.
So I hope you learned,
and that we will meet in the next lessons,
of course you are welcome to subscribe to the channel, ask questions and like if you liked, and most importantly, have fun!
Idioma de Tradução
Selecionar

Desbloqueie Mais Recursos

Instale a extensão Trancy para desbloquear mais recursos, incluindo legendas de IA, definições de palavras de IA, análise gramatical de IA, fala de IA, etc.

feature cover

Compatível com Principais Plataformas de Vídeo

A Trancy não apenas oferece suporte a legendas bilíngues em plataformas como YouTube, Netflix, Udemy, Disney+, TED, edX, Kehan, Coursera, mas também oferece tradução de palavras/frases de IA, tradução imersiva de texto completo e outros recursos para páginas da web regulares. É um verdadeiro assistente de aprendizado de idiomas completo.

Navegadores de Todas as Plataformas

A Trancy suporta todos os navegadores de plataforma, incluindo a extensão do navegador Safari do iOS.

Modos de Visualização Múltiplos

Suporta modos de teatro, leitura, misto e outros modos de visualização para uma experiência bilíngue abrangente.

Modos de Prática Múltiplos

Suporta ditado de frases, avaliação oral, múltipla escolha, ditado e outros modos de prática.

Resumo de Vídeo de IA

Use a OpenAI para resumir vídeos e compreender rapidamente o conteúdo-chave.

Legendas de IA

Gere legendas de IA precisas e rápidas para o YouTube em apenas 3-5 minutos.

Definições de Palavras de IA

Toque nas palavras nas legendas para procurar definições, com definições alimentadas por IA.

Análise Gramatical de IA

Analise a gramática das frases para entender rapidamente os significados das frases e dominar pontos gramaticais difíceis.

Mais Recursos para a Web

Além das legendas bilíngues de vídeo, a Trancy também oferece tradução de palavras e tradução de texto completo para páginas da web.

Pronto para começar

Experimente o Trancy hoje e experimente suas características exclusivas por si mesmo

Download