Mastering Image Manipulation in Stable Diffusion | Inpaint Anything & Control Net Techniques

Поделиться
HTML-код
  • Опубликовано: 26 июн 2023
  • Welcome to the world of limitless creativity! In this video, I take you on an exciting journey through the incredible capabilities of Stable Diffusion. Learn how to use the powerful "Inpaint Anything" extension to effortlessly modify clothing, backgrounds, and more in your AI-generated images. I'll also reveal the secrets of Control Net, unlocking the ability to extend scenes vertically, horizontally, or both. Get ready to level up your AI artistry!
    Inpaint Anything extension
    github.com/Uminosachi/sd-webu...
    🔥 Don't forget to visit our shop, Arcane Shadows, for all your AI art needs: shop.xerophayze.com
    🔔 Subscribe to our RUclips channel for more amazing AI art content: video.xerophayze.com
    🌐 Explore our portfolio and witness the magic of AI creativity: portfolio.xerophayze.com
    📱 Follow us on Facebook for updates and behind-the-scenes insights: www.xerophayze.com
    #stablediffusion #aiart #howto
  • ХоббиХобби

Комментарии • 66

  • @JesseCotto
    @JesseCotto 2 месяца назад +1

    Wow!! This is Amazing in many ways. Five prompts at the same time with the appropriate batch size. Boom!

  • @3diva01
    @3diva01 11 месяцев назад +3

    Excellent walk through and tutorial. Thank you for the great videos, it's very much appreciated!

  • @peterenslin
    @peterenslin 11 месяцев назад +3

    Fantastic video, thank you for the in-depth tutorial.

  • @xehanort3623
    @xehanort3623 11 месяцев назад +1

    Nice new video

  • @Yeeeeeehaw
    @Yeeeeeehaw 8 месяцев назад +1

    Great video !

  • @C0nstellati0ns
    @C0nstellati0ns 11 месяцев назад +1

    Awesome! I subbed. Are you able to step by step inpaint multiple characters into a background? I would love to see that as I'm trying to figure out how to do it.

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад

      Are you talking about in painting existing characters to get them to look better or adding new characters to a scene?

    • @C0nstellati0ns
      @C0nstellati0ns 11 месяцев назад

      ​@@AIchemywithXerophayze-jt1gg Adding characters to a scene.
      I've been thinking of multiple solutions:
      The obvious one is using inpainting. I found this to be very difficult for some reason.
      Another would be to create all characters in open pose, I haven't tried this one yet, as I am not very skilled yet.
      Yet another would be to create each character separately, then add all images into one image and blend the border transitions. Have not tried this one.
      What is the best way to add more characters to a scene?

  • @Vilassia
    @Vilassia 9 месяцев назад +1

    Can you please, please please please, tell us what the extension is that allows you to have the Clip Skip and the VAE chooser at the top of your webui? I searched and couldn't find anything, but I'm very new to this.

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  9 месяцев назад +1

      So it's not an extension, go under settings and then go to user interface, then go down and there's an option that says quicksettings list. The two that you want to put in for clip Skip and the SDVAE are the following: 'CLIP_stop_at_last_layers' And 'se_vae' then just apply settings and restart the interface.

  • @jamiewatts333
    @jamiewatts333 11 месяцев назад +1

    I'm trying to transfer a set of sunglasses from the Internet to a face I've already generated in Stable Diffusion. I'm no computer wizard or digital artist, but I can crop the glasses and, at the very least, 'align' them with the PNG in Paint 3D. I've tried using the 'Reference' and 'Canny' tools to overlay the cropped glasses into the generated image in Stable Diffusion in-paint, but all of the results are messy. Any help on a reliable process or setting configuration for this sort of thing?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад

      What you could try is get the sunglasses you want if their positioned right, overlay them in a Photoshop program on the face, take it into stable diffusion in painting, mask out only the edges of the sunglasses, and then gradually using a low denoise strength and multiple renders get it to blend the edges so it looks more natural.

  • @mariomaffiol
    @mariomaffiol 10 месяцев назад

    Buen tutorial. Que grafica tienes y de cuantas GB vRam es ?

  • @alecvallintine5435
    @alecvallintine5435 11 месяцев назад +1

    So, if you replace just the environment, won't the lighting on the character no longer match the environment? Any ideas about how to keep the lighting consistent between the character and environment when making large changes like this?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад +1

      I think a lot of it depends on how much context you give it on the character, when you're changing the entire environment sometimes you want the mask to overlap the edges of the character which gives the AI a little bit of information about lighting. Outside of that, once you've changed the environment, you could always do an image to image with a low denoise strength to see if it can correct the lighting.

    • @alecvallintine5435
      @alecvallintine5435 11 месяцев назад

      @@AIchemywithXerophayze-jt1gg Yeah, I've heard that mentioned before. Also, I think increasing the "mask padding" value might also help give it more context, or so I've heard. I'm going to do some experimentation. Thanks for the reply!

  • @FakeJugger
    @FakeJugger 11 месяцев назад +1

    Could you please share the negative prompts?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад +2

      Yeah just go to my Google share that I have, share.Xerophayze.com And you'll find a Google sheets there that you can open and copy and paste it into your styles.csv file.

  • @Shackrah
    @Shackrah 11 месяцев назад +1

    You said you'd link your styles.csv file somewhere, but I was unable to find it. Could you point me in the right direction? I already got my own but more style, more wildcards and more prompts are always welcomed!

  • @dronearon3085
    @dronearon3085 9 месяцев назад +1

    can use for batch..multiple file sequnce image from video ?

  • @daoust06
    @daoust06 11 месяцев назад +1

    how did you make ChatGPT being able to generate Stable Diffusion Prompts?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад +1

      I developed and built my own prompt generator. It's a sophisticated series of commands instructions and other things that are about 3 or 4 pages long that tell chatgpt how to generate stable diffusion prompts. I make it available for those who want to buy it. I have a Discord Channel where you can ask the people who have bought it how they like it. discord.gg/45hKjRNC

  • @izakhatton588
    @izakhatton588 11 месяцев назад +1

    Any tips for how I might use this to switch out a person from a photo with an image of myself from a trained model?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад +1

      Probably want to use a combination of inpainting and controlnet. Mask out the area you want in the photo, then use controlnet to get the openpose skeletal structure of the person in the photo. Then switch to your model and generate masked area only. I would have to try it, but I think this should work.

    • @izakhatton588
      @izakhatton588 11 месяцев назад

      @@AIchemywithXerophayze-jt1gg interesting, so i assume I would still use inpaint anything to get the outline then do the other stuff?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад +1

      Not necessarily. Unless your body type, size, structure are the same as the destination character. I would just use inpainting and controlnet. Using inpaint anything may put to much of a restriction on how the AI can conform you to that space.

    • @izakhatton588
      @izakhatton588 11 месяцев назад

      @@AIchemywithXerophayze-jt1gg any idea how to reduce blur/ bad background after doing this? Lots of artifacts and seams.

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад

      Yeah once you get yourself in there you'll obviously have a seam that doesn't match with the rest of the background. Send that image back into in painting mask out the area that is the seam just masking out the seam, and then regenerate using an in-painting model and that'll blend it in nicely. If you need to turn up the inpaint mask just a little bit from 4 pixels to 12 pixels

  • @Shabazza84
    @Shabazza84 6 месяцев назад +1

    9:24 Erm, so with this extension, you replace
    "masking it properly by hand" with
    "mask it automatically and then manually paint a blocker mask to prevent the autmatic to mess up." ?
    I'd rather mask it manually. Also enables you to mask buffers not all around, but in areas you need it.

  • @beholder4465
    @beholder4465 10 месяцев назад

    chat gpt dont work for me, it wont give me prompts for diffusion like the way you showed it. how do you word your question so as to get the proper answer?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  10 месяцев назад

      I've created a seed prompt that I sell on my shop that gets chat GPT to work that way. Shop.xerophayze.com

  • @azaghalo9307
    @azaghalo9307 10 месяцев назад +1

    i keep getting this message when i try to run segment anything "SAM generate failed" can you help me?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  10 месяцев назад

      I'm not entirely sure, I would double check to make sure that the models have actually been downloaded, try uninstalling the extension by deleting the

    • @BruceDailey
      @BruceDailey 10 месяцев назад

      Me too. I've downloaded the models, I deleted, reinstalled, then re-downloaded a model but get the same SAM generate failed message.

  • @eugenenyukers4507
    @eugenenyukers4507 10 месяцев назад +1

    g53ptv in prompt, what is this?

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  10 месяцев назад

      It's just a unique label for filing purposes. The next version of my prompt generator will actually have that removed along with the quality indicators at the beginning of the prompt because with SDXL it's attention to is at the beginning of the prompt is a lot more acute

  • @Hasblock
    @Hasblock 10 месяцев назад

    What's the name of the vae extension?

    • @Hasblock
      @Hasblock 10 месяцев назад

      nvm, solved it. not an extension.
      settings -> show all pages in the left panel -> CTRL + F for "quicksettings" and in that box, type or select from the dropdown "sd_vae"

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  10 месяцев назад

      Vae-ft-mse-840000-ema-pruned

  • @davedm6345
    @davedm6345 10 месяцев назад

    The tutorial do not work for me, y masked but the result generated imagen is overlaped same image and cloned it very bad config. impossible to do "Segment anything is messing and merge all colours with the background.

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  10 месяцев назад +1

      Not sure why your results aren't turning out. Double check all your settings.

    • @davedm6345
      @davedm6345 10 месяцев назад

      @@AIchemywithXerophayze-jt1gg tanks a check my imagen and put original size not a rescalated one and it turns well tanks a lot

    • @davedm6345
      @davedm6345 Месяц назад

      it was the old graphics Amd Radeon R7 the problem, i switched to Nvidia and it works great thanks!

  • @stana1278
    @stana1278 10 месяцев назад

    RUclipsr: *uses a miracle of technology absolutely for free*
    Also RUclipsr: My prompt generator is up for sale, you can pay with credit card
    Generator: 'exuding', 'this is currently trending', 'daring aesthetic' 😊

  • @psionicxxx
    @psionicxxx 10 месяцев назад +1

    dude, you should really enable the mouse next time... hard to follow :(

  • @LilZelka
    @LilZelka 11 месяцев назад +1

    good stuff, but it's really annoying you don't have a mouse pointer!! So much time I waste to go back and forth and look where you clicked and what's going on in the dark mode you are.

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад

      Oh, not sure why I didn't notice that. Thank you for letting me know. The software I use I think has an option to either shut it off or turn it on. Maybe I accidentally shut it off or something. For my next video I'll make sure it's turned on.

    • @LilZelka
      @LilZelka 11 месяцев назад

      @@AIchemywithXerophayze-jt1gg Excellent! I like your stuff you are showing and teaching. I tried this Inpaint Anything, and yes it worked, but the way the masking there works is a Nightmare. Do you think is BETTER to do a mask in Photoshop (or equivalent) and inpaint upload instead?

  • @fmt2586
    @fmt2586 11 месяцев назад +8

    your "chat gpt prompt generator" is the saddest thing i ever seen, literally nothing and you are charging money for it.

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад +5

      Interesting point of view. Thanks for the feedback.

    • @grayglimpse
      @grayglimpse 11 месяцев назад +4

      I understand the frustration with people charging for stuff like that, but couldn't you go about that in a more civilized way. "Hey I don't think your GPT prompt provides enough value for you to be charging that much for it or at all"

    • @AIchemywithXerophayze-jt1gg
      @AIchemywithXerophayze-jt1gg  11 месяцев назад

      It's okay, sometimes people are frustrated that not everything is free. And so they feel like they have to put it down. I have hundreds of other people who would say otherwise. And I'm constantly working on it improving it. Adding functionality and features.

    • @BruceDailey
      @BruceDailey 10 месяцев назад

      I don't normally look at youtube comments because of dummies like this.