AI Image Editing with DALL-E-2 | OpenAI DALL E 2 Tips & Tricks #2 #aiart

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey friends welcome to one little coder in this dali 2 tutorial we are going to learn how to use dali to an ai project from open ai to edit images so typically if you want to edit images you would use a tool like photoshop to make certain changes on an image but if you do not want to use photoshop like tool or you do not have expertise to use photoshop like tool and also you want to make certain changes using natural language just by telling the ai system what changes you want then you can follow along this tutorial to use dali 2 to edit images to make changes to the images first if you do not have daly to access you have to request you would ideally join a waiting list that might take months even in my case it took months for me to get access but let us assume that you have an access and you want to make a change and we are going to do that for example at the end of this video we are going to learn how to take a picture of elon musk and then make that image like or make elon musk or the chinese text banner so or board so we are going to just simply make elon musk hold a chinese board that image does not exist in real life but we are going to use ai to make that image right now if you log into dali too this is the landing page that you would see i'm going to just quickly click upload an image and then this this is the place where i have to select the image the first image that i'm going to select is the image from the elon musk image like this maybe i can select the next one yeah this this one i'm going to take this one and once i upload this image it's going to give me two options the first option is edit image the second option is generate variations generate variations will create different variations or different images that look like this for example once i click generate variations you would see cartoons or you would see designs you would see a art that will look almost like this that's that's what generic variation is i just wanted to show you what happens when you click generate variation just remember if you have open ai beta um sorry dolly to beta access you get only 50 um items like 50 transactions every day 50 clocks every day so make it like i i ran out of it couple of times so use it wisely so here what happens like we took this image and asked for variation and dali do has created some some random images with um you know distorted human beings sometimes good human beings but that is not what we want what we want is to take this image and then see if we can edit the image so now i'm going to click done and then click edit image once i click edit image my next task is to tell dali to what is the part of the image that i want to be changed so i'm going to select everything here so i'm going to basically select everything here that i want this part to be changed so this is this is my poor graphic designing skills but um but let's see right right now i'm not page like i'm not doing it very slowly so you can assume that you know my image is not going to be perfect but if you have time you can do this slightly personally so this process is called masking so what we have done at this point is we have basically masked the image so we have selected the part in the image which we don't which we want to change so that's what masking is so once we do masking the next step is we have to give a prompt for example i can say holding a name board in chinese and let's see if it can do so as you know right now at this point we have made some distorted edit so it may not be perfect um and again like this is a live video so if you if you actually end up seeing distorted image um my apologies i would redo this exercise again because i want you to see what exactly is happening here so at this point dolly is going to give you some tips how to how to have a better dali image generation but like i said we are not using dali for image generation rather we are using dali for image editing so you can see couple of images here and there but you can see this image where elon musk has got um this is not chinese this is this is good like even though i had dated a little bit here still it shows some chinese um if you know to read chinese just see if it is the right image and uh here you don't have anything like you can create memes around and you have got images so this is this is basically how you edit an image i'm going to show you one more image and then i'm going to show you how you can make some changes like close this image click upload i'm going to select this image of elon musk click done and i'm going to select edit image at this point you can see that elon musk is standing there elon musk um standing with the rocket and all these things so this is the place where you can change the size of the brush like if you want a very bigger brush like this so you can basically do like this or on the other hand if you want a very smaller brush for example you're going to places like um his hair let's say then oops then you probably would need a smaller brush so that you don't you don't you don't affect that okay um let's see what happens okay at this point we have fairly edited this image now i'm going to say um standing posing from let's say a country germany maybe um yeah let's click generate and then see what happens so at this point as you saw we took an image we masked the parts that we didn't want we masked the parts which we wanted to change or superimpose using ai and after we masked the parts we said posing from germany like right now i think that picture was from elon musk standing um probably in front of a spacex rocket but what i've said is like we want elon musk to post from germany so i don't know if this is really germany but uh but yeah so like this this looks like maybe i can say german ethereal i don't know if that is going to change anything but let's see um the point is you can now change your natural language or prompt the text that you're giving this is called prompt whatever you give here is called prompt so you can change your prompt and then ask dali do to create new images like you can in fact you can um you can take one particular image and create more variations of that i'll just quickly show you so elon musk elon musk elon musk elon musk is nearer if you do this this looks better elon musk okay so now what you can do is like if you find for example this image like a good image or this image to be better this image should be better you can make changes for example if you want to make more changes for example posing from um posing near a german cathedral peering [Music] um harry potter hat okay so i'm just saying that i want elon musk or whatever that object that we have selected i want the masked part to say posing near a german cathedral but i also want this particular object like whoever is standing there in which in this case it is elon musk to wear a harry potter hat i'm not sure if it will efficiently work but let's let's see if it works out okay it didn't it didn't put harry potter hat i think it has slightly tried to put a hat but it didn't work out a lot so what now you can do is you can probably pick one of the images that you found well for example if you had found one image good now you can use that image to generate more variations for example you can pick one of the images and then click variations here now that is going to help you create more images that look like this and it is highly also possible that it might do the same thing that it did last time where it completely replaces elon musk and then put puts a different human being over there or you know a human being who doesn't exist so it can do that um so yeah like like i said it has it has completely removed elon musk from that and then it has put some distorted figures it will look like from gta yct there but the but the idea is you can upload an image and then edit an image so that we can make changes for example if you want to create memes if you want to create um something different then you can use dolly do to make changes to your images like you can basically use dali too as an image editing service if you have any questions please let me know in the comment section otherwise happy coding peace
Info
Channel: 1littlecoder
Views: 70,351
Rating: undefined out of 5
Keywords:
Id: vD84y58Aj_M
Channel Id: undefined
Length: 9min 17sec (557 seconds)
Published: Mon Jun 20 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.