Control Text in AI Images

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • With some tricks we can add text to your images with Stable diffusion's ControlNet. This ControlNet workflow will help you add any text to almost any image. If the text is too small, remember to inpaint in a higher resolution.
    Support me on Patreon to get access to unique perks! / sebastiankamph
    Chat with me in our community discord: / discord
    Control Lights in Stable Diffusion
    • Control Light in AI Im...
    LIVE Pose in Stable Diffusion
    • LIVE Pose in Stable Di...
    My workflow to Perfect Images
    • Revealing my Workflow ...
    ControlNet tutorial and install guide
    • NEW ControlNet for Sta...
    Ultimate Stable diffusion guide
    • Stable diffusion tutor...
    The Rise of AI Art: A Creative Revolution
    • The Rise of AI Art - A...
    7 Secrets to writing with ChatGPT (Don't tell your boss!)
    • 7 Secrets in ChatGPT (...
    Ultimate Animation guide in Stable diffusion
    • Stable diffusion anima...
    Dreambooth tutorial for Stable diffusion
    • Dreambooth tutorial fo...
    5 tricks you're not using
    • Top 5 Stable diffusion...
    Avoid these 7 mistakes
    • Don't make these 7 mis...
    How to ChatGPT. ChatGPT explained:
    • How to ChatGPT? Chat G...
    How to fix live render preview:
    • Stable diffusion gui m...

ความคิดเห็น • 92

  • @morganandreason
    @morganandreason ปีที่แล้ว +30

    I think your channel will have 100K+ subscribers within a year if you keep creating superb content like this. Thank you!

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +4

      Thank you, that's very kind of you to say, you absolute rainbow factory you 😊🌟

    • @HowToRealise
      @HowToRealise ปีที่แล้ว

      @@sebastiankamph 1million in 2 years

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว

      @@HowToRealise Remind me in 2 years. If I have 1 mil, I'll send you a gift. And Morgan too.

    • @McMartinLC
      @McMartinLC ปีที่แล้ว

      ​@@sebastiankamphI absolutely want in on this too! 😂

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว

      @@McMartinLC Gifts for everyone! But then you guys gotta help out spreading the word 😂

  • @kaislate
    @kaislate ปีที่แล้ว +5

    Future videos should be sponsored by "Yeirkok Bath"

  • @jankvis
    @jankvis ปีที่แล้ว +1

    Very useful as usual. With this you have solved the text to logo issue found in Midjourney. Automatic 11111 is getting better and better... Looking forward to your next video Seb :)

  • @merlinfrombelgium
    @merlinfrombelgium ปีที่แล้ว +1

    Thanks Sebastian! This is exactly what I've been struggling with. I was ready to accept that AI just isn't there yet, to generate text in images. But this solution is probably even better than a random text shape.
    Love your videos, keep it up!

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +2

      I'm glad you found it useful and I really appreciate your support, you absolute hidden gem! Thank you! 💎

  • @sailaalias3161
    @sailaalias3161 ปีที่แล้ว +3

    Waiting for that Sebastian Kamph /Olivio Sarikas/Nerdy Rodent crossover any day now …

  • @ProductivityPalss
    @ProductivityPalss ปีที่แล้ว +2

    i would also love to see a desk setup tour

  • @MattcaveAI
    @MattcaveAI ปีที่แล้ว

    Thank you Sebastian!

  • @supercurioTube
    @supercurioTube ปีที่แล้ว +2

    Excellent idea! I feel like the first example with Masked content as original instead of fill mode gives better results, as the sign and its light are better matches that way.

  • @schitmanop
    @schitmanop ปีที่แล้ว

    i was thinking about it thanks man

  • @andrewstraeker4020
    @andrewstraeker4020 ปีที่แล้ว

    Very interesting and useful tip for working on and improving image details. 👍
    Excellently explained. I also really appreciate the calm-toned explanation. It seems a minor detail, but I think it is important: it gives time to understand and assimilate the words. 👍
    TX Seb 😺

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว

      Glad it was helpful! And thank you for the positive feedback, I appreciate it 😊

  • @eternalessence2998
    @eternalessence2998 ปีที่แล้ว

    Your videos are always informative and I love the lil jokes you throw at the beginning of each!!

  • @GrocksterRox
    @GrocksterRox ปีที่แล้ว

    Very cool technique - text has been such a pain in the butt previously!

  • @7ens3nButt0n
    @7ens3nButt0n ปีที่แล้ว +6

    Good idea but I would say the end result is lacking, there is no such thing as a black neon light. Maybe blurring the text would help

    • @andrewstraeker4020
      @andrewstraeker4020 ปีที่แล้ว

      Certainly neon black appears an oddity, but from technological development I also expect this possibility. People have been looking for the perfect black in LED screens for years.
      In any case, anything is possible in a Sci-Fi image. 😸 Also, the Cyberpunk genre tends to be a bit surreal, almost a kind of post-impressionism where colours are more an idea than a description of reality. 😸

  • @TheAiConqueror
    @TheAiConqueror ปีที่แล้ว +1

    You the Controlnet Master 🙌

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว

      You know it! Thank you my friend 🦾🤖

  • @sevret313
    @sevret313 ปีที่แล้ว +6

    Kind of looks like you just slapped the text in from a image editor and it really doesn't fit the scene. But I'll give it a go and see if I get better results myself.
    And unless I'm mistaken , you don't need to match the image resolution for inpainting only the masked area. So you should probably stick to a 512x512/768x768/1024x1024 resolution when using that option.

  • @goldenknowledge5914
    @goldenknowledge5914 ปีที่แล้ว

    Just about to take a break from binging SD videos. And this video came out.

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว

      Tell the developers to stop working and we'll both take a break, deal?

  • @kaislate
    @kaislate ปีที่แล้ว +7

    I would have liked to see the text just become a nicer version of the "YEIRKOK BATH" sign. I think if maybe feathering the mask might be beneficial for neon signs like this. Also, it might be possible to run it through a slight change where the controlnet is disable and you keep the inpainted area just so that it blends it a bit. Low enough denoising and it won't change the text.

    • @MaxKrovenOfficial
      @MaxKrovenOfficial ปีที่แล้ว

      It is possible to get text to work "as is" inside stable diffusion, it's just VERY hard. You can try prompts like "text that says XXXXX", where X is whatever word you want, maybe also adding "logo".. but again, it might just work 1 out of 100 generations, so, hopefully the Stable Diffusion people will get this figured out one day.

    • @kaislate
      @kaislate ปีที่แล้ว

      @@MaxKrovenOfficial Oh yeah it is definitely possible. Especially if you use img2img and do a bit of just typing right over the area you want text, but if there is already text that requires a bit more work. I think for the speed that controlnet confers is really where it is at. Things were possible before, but needed intricate and time consuming methods.

    • @digidope
      @digidope ปีที่แล้ว +2

      We need to wait Deep Floyd to be released someday. In this example "YEIRKOK BATH" was good looking so we would a feature to change THAT text and not generate new that is very different from the original.

  • @AwsomeTheFace
    @AwsomeTheFace ปีที่แล้ว +2

    "Yeirkok" sounds like somethin an old mad english man would say xD

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +2

      Hah, now that you mention it 😄

  • @billybobnz1
    @billybobnz1 ปีที่แล้ว

    Thank's works well. I found that the text in the image file you make needs to take into account where in the final image you are masking for inpainting. I could not get the inpaint to accept the text from my image correctly until I put the text in the same physical position, that I was masking for inpaint, in my image.

  • @DoppsPkin
    @DoppsPkin ปีที่แล้ว

    Omg i love you :)

  • @justinwhite2725
    @justinwhite2725 ปีที่แล้ว

    You read my mind. I was just thinking controlnet would work well with text

  • @IzeIzeBaby
    @IzeIzeBaby ปีที่แล้ว +1

    I think i prefer the "YEIRKOK" sign. xD

  • @ComplexTagret
    @ComplexTagret ปีที่แล้ว

    Can you do another lesson on controlling text in an image? I wanted to put the brand name on the image, I did exactly as you did, but Stable Defusion, regardless of any settings, either misspelled the word or didn't display it at all. Used the exact mask on the image in ControlNet, marked the place of replacement in Inpainting, weights (weight, guidance start, guidance end) to the maximum and less, but still ended up having to replace everything in Photoshop. You're just the only one who touched on the subject of accurate text in the image among all the other bloggers who talk about Stable Defusion in one way or another.

  • @kpwkpw4989
    @kpwkpw4989 ปีที่แล้ว

    Hi! Have you tried using controlnet for creating 2 characters in specific pose when one of characters is covering other one a bit? And without openpose?

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +1

      I did a scene with about 15 characters. It's a lot of inpainting steps.

    • @kpwkpw4989
      @kpwkpw4989 ปีที่แล้ว

      @@sebastiankamph thanks! I guess i just still need to learn that tool more.

  • @magejoshplays
    @magejoshplays ปีที่แล้ว +1

    That's a good idea for an extension. Hard part I can think of would be how to access the fonts. Since they need to be installed on a user's system to be seen on their system, unless inside a container format that can embed the font with the image/document such as pdf. But a tab for making text depth maps with a simple web interface similar to the sketch but for text can't be that hard.

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +2

      That sounds like an extension I would use!

    • @magejoshplays
      @magejoshplays ปีที่แล้ว +1

      @@sebastiankamph looking into it with GPTchan this morning and it appears the gradio library has the function necessary built into it already. The sketchbox should be a viable container for this function. I'll give it a try.

  • @joparebr
    @joparebr ปีที่แล้ว +2

    I think the inpaint model would give better results.

  • @ProductivityPalss
    @ProductivityPalss ปีที่แล้ว

    hey i want to run stable diffusion but i am new to the pc world my macbook isnt capable enough to run stable diffusion any suggestions for a pc within the price range of $2500? please help me out

  • @studio85amsterdam
    @studio85amsterdam ปีที่แล้ว

    Im spoiled. If its possible do it like this now, next week there will be a quicker way 😛 I dont know W 😂😂

  • @gintaustrins551
    @gintaustrins551 11 หลายเดือนก่อน

    did you consider using sketch mode instead of depth, that way you dont have to convert foreground to black.

  • @MacShrike
    @MacShrike ปีที่แล้ว

    Thank you for this, and all other, videos.
    1 thing here though: A neon sign is fluorescent gas that lights up. Here you have an outline that has a colour but the sign itself is black. Thats not a neon sign
    Also: why did the scarecrow get a medal?

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +1

      You're welcome! And that's good information! Tell me, why did it get a medal?

    • @MacShrike
      @MacShrike ปีที่แล้ว

      @@sebastiankamph it was outstanding in its field

  • @Antalion20
    @Antalion20 ปีที่แล้ว

    Seems like an 'easy' addition to ControlNet to be able to add text to an image instead of the pose model? Would certainly help with workflow bloat.

  • @the_RCB_films
    @the_RCB_films ปีที่แล้ว

    I think you need too add some variation in your generation, the text looks bad in the example, like someone new to photoshop made it. Amazing idea though, might have to mess with this. I tried generating my own font by jsut creating a template for it to follow, but it was messy, but possibly this might be a cool solution.

  • @ohheyvoid
    @ohheyvoid ปีที่แล้ว

    Dude, what AI-Wizarding school did you go to? I need my letter stat!

  • @plagiats
    @plagiats ปีที่แล้ว

    Yooo that means we can now play with existing logos!

  • @chriscodling6573
    @chriscodling6573 ปีที่แล้ว

    Is it possible to do graffiti font, like if you train specific graffiti style

  • @BlankFX
    @BlankFX ปีที่แล้ว +3

    To be honest, I expected better results. Even just with Photoshop we can do better. But I'm sure AI will get better at this in time.

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +2

      You can prompt anything. If you feel the end result is lacking, try another model and a more advanced prompt than what I did in this example. I wanted to show that in its absolutely simplest form, base model and basically no prompt, it still delivers. It's basically me driving the car at 30km/h and saying "I expected it to go 120km/h" 😊

  • @buzbeediddle7846
    @buzbeediddle7846 ปีที่แล้ว

    I wonder if you could show a tutorial on how to take an image and change its style to where it’s something new, but you can still tell what it originally was. Like for instance a power ranger. Changing the armor but keeping its originality

    • @dailyfunnytv358
      @dailyfunnytv358 ปีที่แล้ว +1

      just do img2img with low denoising strength (~0.5)

    • @buzbeediddle7846
      @buzbeediddle7846 ปีที่แล้ว

      @@dailyfunnytv358 i actually can’t run stable. Don’t have a fast computer

    • @dailyfunnytv358
      @dailyfunnytv358 ปีที่แล้ว

      @@buzbeediddle7846 you can use a google collab online

  • @bethaapple2102
    @bethaapple2102 ปีที่แล้ว

    Came to this channel only for the pun 😂

  • @user-wm6ol5ql3r
    @user-wm6ol5ql3r 5 หลายเดือนก่อน

    halo sir, how about text in shirt? thats my problem rightnow

  • @JetJockey87
    @JetJockey87 ปีที่แล้ว +1

    Not sure who these other commenters are, redditors probably, they obviously have some form of brain damage
    This is amazing Seb, keep up the good work.

  • @IlRincreTeam
    @IlRincreTeam ปีที่แล้ว

    At this point i only come to your videos for the jokes... yeah cool tutorial, whatever ;)

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +1

      Maybe I need to do a full dadjoke episode.

  • @cgstone30
    @cgstone30 ปีที่แล้ว

    I liked it before i even started the video

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว +1

      That's some real superstar moves right there

  • @ywueeee
    @ywueeee ปีที่แล้ว

    giving me ideas for making logos

  • @paulocoronado2376
    @paulocoronado2376 ปีที่แล้ว

    Love the jokes! 😂

  • @bySterling
    @bySterling ปีที่แล้ว +1

    That’s a lot of work to have little control of final result

    • @devnull_
      @devnull_ ปีที่แล้ว

      Try painting or photoshopping.

  • @sm0ki
    @sm0ki ปีที่แล้ว +1

    I like the approach. The result is kinda meh.

  • @RasmusSchultz
    @RasmusSchultz ปีที่แล้ว

    This would probably work better if your mask fully covered the text.

  • @chuba1
    @chuba1 ปีที่แล้ว

    0:15 i know 29 letters🧐

  • @MoFromTheHouseOfEl
    @MoFromTheHouseOfEl ปีที่แล้ว

    You have an Instagram?

    • @sebastiankamph
      @sebastiankamph  ปีที่แล้ว

      No, TH-cam only for now.

    • @MoFromTheHouseOfEl
      @MoFromTheHouseOfEl ปีที่แล้ว

      @@sebastiankamph We wanted to tag you in our artwork but I couldn't find you. Just wanted to shout you out. Build the community on social media.

  • @chriszuidema
    @chriszuidema ปีที่แล้ว

    Y

  • @piplupsuper0
    @piplupsuper0 ปีที่แล้ว

    No offense but this just looks like a paint pasted text on the image. it would be better if it looked anything like your original sign on the first picture and if it had stylized text