Build A Free AI Image Generator Bot in 20 minutes!

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024

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

  • @Crevulus
    @Crevulus Год назад +7

    Would be great to see you actually host this somewhere (as part of your process in your videos). Often I feel like tutorials end with the thing is made, but the most important step is to actually put it out there for consumption.

    • @Crevulus
      @Crevulus Год назад +1

      @Bruno Jurado even if Jack were to immediately take it down, it would still be v helpful in the tutorial. Leaving it live is not as important (to me) as getting it live. Especially if it's not something as simple as hosting an SPA.

    • @MufasaJungle
      @MufasaJungle Год назад

      I woud love to see this video as well! Or do you have any tips on where to find this information? Do i need a BE dev?

  • @raulalvarado7025
    @raulalvarado7025 Год назад +2

    How does this channel not have 1 million subs?!!!!

  • @yoursweatersux
    @yoursweatersux Год назад +1

    Glad to see you continue to pick up subscribers - IMO you've got some of the most informative/helpful JS video currently being made right now.

  • @bigmistqke
    @bigmistqke Год назад +1

    This 'becoming something out of noise' is so poetic to me.

  • @ProzilliGaming
    @ProzilliGaming Год назад +1

    This is great. it's what I needed. I'm not a coder at all and I have already installed SD with automatic1111 so I need a guide for that because I can't do the imaginairy thing on windows.

    • @HirezLisa
      @HirezLisa Год назад

      I'm on the same boat.

  • @rucklerful
    @rucklerful Год назад

    letssssss goooooo. You've killed it this time Jack. Awesome video, always been and remain a big fan of your videos.

  • @ianstorm2997
    @ianstorm2997 Год назад +4

    Great video! I am getting stuck at one part however when I'm trying to use the command "pnpm -i", I receive an error "Unknown option: 'interactive'" also tried installing with yarn, but it gets stuck at linking dependencies.

  • @dgcp354
    @dgcp354 Год назад +1

    a great vid for 100k, congratulation jack.

  • @codewithguillaume
    @codewithguillaume Год назад +1

    Hey Jack i was looking for something like this last week. I even think about putting one on one of my raspberry pi. However I was asking myself about memory capabilities and RAM capacities…

    • @codewithguillaume
      @codewithguillaume Год назад +1

      Thanks for this video 🎉

    • @jherr
      @jherr  Год назад +1

      It would have to be a Pi with a good GPU. Is there such a thing?

  • @nrweb
    @nrweb Год назад +3

    FYI, looks like you’ve missed an initial frame or two when blurring out your token in VS Code.

    • @jherr
      @jherr  Год назад +5

      The app is deleted so the token is no longer valid anyway.

  • @green_universe
    @green_universe Год назад +2

    In the past, I have shied away from learning about AI, coding, or utilizing it, however, with the quick advancements in AI in recent times, I now feel the urge to educate myself in these areas, to not fall behind and to not miss out on a powerful resource that could greatly speed up my development as a software engineer. This changes today. 😎

    • @jherr
      @jherr  Год назад +2

      Awesome. We really need to stop thinking about AI as a threat, and more as an opportunity. And there is a TON of opportunity with AI.

    • @green_universe
      @green_universe Год назад

      @@jherr It is a threat though. The use of AI and machine learning algorithms by financial institutions to evaluate loan applications and predict the likelihood of loan default by a low earner.
      The student's academic performance can be predicted with high confidence by a teacher if they don't submit classwork or assignments. The same principle is applied in AI systems, where past behavior recorded in data is used to predict future performance, ignoring the individual's potential and rendering decisions based solely on their history by a non-sentient machines made up of 0s and 1s. 😥
      The rapid development and implementation of AI is expected to displace a significant number of conventional jobs and potentially lead to job loss on a large scale, until individuals and society adapt and find new ways to employ those affected. The current constraint on this development is the scarcity of human data labelers; once sufficient data is collected and models are developed, there will be a significant shift in the job market.
      While I acknowledge that AI has the potential to create various opportunities, I also recognize that its financial benefits may primarily rewarding to a specific group of individuals rather than the entire society 🤑. I can also see it as a tool that can augment human capabilities and improve efficiency, like you are utilizing Github's copilot on projects 😎. It may also serve as a catalyst for new thinking that can lead to the creation of opportunities for all in a post-AI future with increased integration. 🤔

  • @pixelboi1866
    @pixelboi1866 Год назад +3

    wish this was more of a beginner friendly tutorial

  • @SabrinaJones822
    @SabrinaJones822 Год назад

    I'm excited about trying this tonight!!!

  • @prashlovessamosa
    @prashlovessamosa Год назад +1

    Your channel is heaven to me
    Love from India god bless you man.

  • @kendylmarie9933
    @kendylmarie9933 Год назад +1

    Hello, I am brand new to the channel and field. Thanks for the content. Are there some prerequisities that I should know about such as setting up the folders in Visual Studio Code? It wasn't mentioned in the video to download at the beginning so I struggled a bit but figured it was needed.

    • @Blatant88
      @Blatant88 Год назад

      how did you get it started?

  • @TheloniousBird
    @TheloniousBird Год назад

    Great tutorial! Are you using an Intel or M1 based Mac for this?

  • @danielkirsch4351
    @danielkirsch4351 Год назад +2

    Awesome video and inspiring me to BUILD!! Thx Jack! btw- what is your prompt theme on OS X terminal? (OhMyZsh based or something like it?).

  • @diederik6975
    @diederik6975 Год назад

    Very useful! I fixed some errors I got trying to run it via windows 11 using GPT 4.
    Also, added a qeueing system using GPT.

  • @deankayton
    @deankayton Год назад +1

    Do you think the Python processing part could be hosted in an AWS Lambda? 10GB RAM enough? The corresponding CPU enough to complete image generation within 10min? Are there alternative hosting options other than AWS Lambda?

    • @jherr
      @jherr  Год назад

      IMHO you'd want to host it on a long running instance and have it be a service. The issue is the long startup. You need to get it warm and then feed it requests.

    • @deankayton
      @deankayton Год назад

      @@jherr I agree with you for maximum production value... but for maximum hobbyist value I would gladly sacrifice a few minutes in exchange for dollar!

  • @kasvith
    @kasvith Год назад +1

    Always love your content, keep up the good work

  • @mordicai4296
    @mordicai4296 Год назад +1

    You make the coolest stuff! Thanks, dude!

  • @PapaVikingCodes
    @PapaVikingCodes Год назад +1

    invokeAI is a pretty slick one...

  • @josefitani7082
    @josefitani7082 Год назад

    Hey does it work also with generating web ui images and video motion graphics generation like after effects?

  • @yelby
    @yelby Год назад

    Any possible way to get a few snippets of this for windows? As at the moment I'm getting a 'charmp' can't encode '\u2728\ in position 0 error, which means that it doesn't generate the output/22/generated thing

  • @kzgameplayz
    @kzgameplayz Год назад

    Can you make your video with REPLIT please

  • @faisalsaud3610
    @faisalsaud3610 Год назад +1

    I have seen many videos on RUclips many people's says that nextJs is better than reactJs is it really better than reactJs ? We want to know this from you sir

    • @jherr
      @jherr  Год назад

      NextJS is built on top of ReactJS. NextJS is a framework, and ReactJS is a view library (basically).
      NextJS includes routing, asset management, API routes, static site generation, server side render with both full isomorphic and the new React server components, etc. And it's all built on top of ReactJS.

    • @faisalsaud3610
      @faisalsaud3610 Год назад

      @@jherr Thanks Sir

  • @abeechr
    @abeechr Год назад +1

    This is great! Thank you.

  • @pcraft12
    @pcraft12 Год назад +2

    Help not working :(

  • @ToddDunning
    @ToddDunning Год назад +1

    Still am clicking Like before the videos even play

  • @jrj405
    @jrj405 Год назад

    Awesome video. One thing I cant find is this 'Expected: expected.length

  • @panoscool_
    @panoscool_ Год назад +1

    Jack what are the steps to deploy it on a server like render?

    • @jherr
      @jherr  Год назад +1

      In this case, probably setting up a docker container then deploying it to a docker hosting service like ECS or EKS.

  • @ahmedhamouda5487
    @ahmedhamouda5487 Год назад

    I got stuck at installing, when I type pnpm i get the below error:
    pnpm : The term 'pnpm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:1 char:1
    + pnpm
    + ~~~~
    + CategoryInfo : ObjectNotFound: (pnpm:String) [], CommandNotFoundException
    Please help.

  • @corewwwi
    @corewwwi Год назад +2

    discord flashbang!

  • @RicoCollina
    @RicoCollina Год назад

    It seems I can't install properly the imagineAIry as I'm getting the following error: zsh: command not found: imagine

  • @bekirs4240
    @bekirs4240 Год назад +1

    Lmao those thumbnails are the best

  • @natpeterson7988
    @natpeterson7988 Год назад +1

    Nice way to keep focused on work. Distracting apps in light mode and code in dark mode. 😂

  • @waleedsharif618
    @waleedsharif618 Год назад +1

    Do you know there is another one : DALL-E, which is fantastic, from creators of chatGpt

    • @jherr
      @jherr  Год назад

      From what I've heard Stable Diffusion is the successor to Dall-E. Same deal though, diffusion models.

  • @timecop1983Two
    @timecop1983Two Год назад

    Please make a video about how to make an ai like chatgpt
    would love to see it.

  • @Daisuki0u
    @Daisuki0u Год назад

    Like everybody here, tried on windows and macbook but the steps to install imagineAIry or SD2 are not really clear... no luck

  • @ayushphukan2448
    @ayushphukan2448 Год назад

    Hi, on running the imagine command, I get this error:
    make_gpu_space
    raise RuntimeError(msg)
    RuntimeError: Unable to make 1951.0 MB space on mps:0.
    GPU cache: 0 items; 0.0 MB; Max: 7782.4 MB;
    CPU cache: 0 items; 0.0 MB; Max: 0.0 MB;
    mem_free_total: 784.4 MB; Ram Free: 1307.3 MB;
    Can you help me get past this? I am using a Macbook Pro M2

    • @jherr
      @jherr  Год назад

      Looks like you don't have enough space on your drive.

  • @mortezatourani7772
    @mortezatourani7772 Год назад

    Hey! token is still visible. I think you should reset the token if you haven't done it already 4:29

    • @jherr
      @jherr  Год назад +1

      The whole app was deleted before the video was published. Thanks though. :)

  • @luanpersini
    @luanpersini Год назад

    Sadly the Docker install is not working to test this in windows :(

  • @timecop1983Two
    @timecop1983Two Год назад

    Really good. Can you just make a more clear longer video

  • @hanifbahari6606
    @hanifbahari6606 Год назад

    I followed the tutorial until 3:55 and then when I wanted to select a server it was empty, no serever.

    • @jherr
      @jherr  Год назад

      You need to set up your own Discord server.

  • @andenetalexander5244
    @andenetalexander5244 Год назад +1

    Wow amazing video!

  • @savekillqqpsounds8473
    @savekillqqpsounds8473 Год назад

    unexpected token error message help i copied he token it should be right

  • @djsuri10
    @djsuri10 Год назад

    Has anyone been able to get it mounted and used with windows?

  • @code.design
    @code.design Год назад

    Great video. Yet I wonder, does this bypass free trial limit that Midjourney puts you on as a free user?

    • @jherr
      @jherr  Год назад +1

      My example is local, so you can run as much as you want on your own machine. MidJourney is limited to 25 images.

    • @code.design
      @code.design Год назад

      @@jherr brilliant! Thank you 🙏

    • @code.design
      @code.design Год назад

      @@jherr It seems my bot keeps on thinking. Waited well over 3 mins. Then it crashes...
      node:events:505
      throw er; // Unhandled 'error' event
      ^
      Error: spawn imagine ENOENT
      at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
      at onErrorNT (node:internal/child_process:478:16)
      at processTicksAndRejections (node:internal/process/task_queues:83:21)
      Emitted 'error' event on ChildProcess instance at:
      at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
      at onErrorNT (node:internal/child_process:478:16)
      at processTicksAndRejections (node:internal/process/task_queues:83:21) {
      errno: -2,
      code: 'ENOENT',
      syscall: 'spawn imagine',
      path: 'imagine',
      spawnargs: [
      '--model',
      'SD-2.1',
      '--outdir',
      'output/1067924120865615922',
      'black dog with blue eyes'
      ]
      }
      [nodemon] app crashed - waiting for file changes before starting...

    • @jherr
      @jherr  Год назад

      @@code.design Does it work on the command line when you run it directly?

    • @code.design
      @code.design Год назад

      @@jherr Thanks for your reply.
      No I tried that as well.
      Similar error.
      node:events:505
      throw er; // Unhandled 'error' event
      ^
      Error: spawn imagine ENOENT
      at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
      at onErrorNT (node:internal/child_process:478:16)
      at processTicksAndRejections (node:internal/process/task_queues:83:21)
      Emitted 'error' event on ChildProcess instance at:
      at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
      at onErrorNT (node:internal/child_process:478:16)
      at processTicksAndRejections (node:internal/process/task_queues:83:21) {
      errno: -2,
      code: 'ENOENT',
      syscall: 'spawn imagine',
      path: 'imagine',
      spawnargs: [
      '--model',
      'SD-2.1',
      '--outdir',
      'output/22',
      'blue fish in ocean'
      ]
      }

  • @justmx4274
    @justmx4274 Год назад

    can you just drop a link to invite your bot?

    • @jherr
      @jherr  Год назад

      No, the bot is no longer deployed. The video is about how you can make a bot. Not an announcement of a bot.

  • @PranshuJain-m5t
    @PranshuJain-m5t 7 месяцев назад

    nice!

  • @dog4ik
    @dog4ik Год назад

    you exposed your token on 4:29

    • @jherr
      @jherr  Год назад

      I deleted the app so it’s no longer valid

  • @Zagoorland
    @Zagoorland Год назад +2

    Discord in light mode?! Unsubscribed 😂

    • @jherr
      @jherr  Год назад +1

      I'm trying out the auto mode and, yeah. I think I'm with you. Going back to full time dark on Discord.

  • @arthis2412
    @arthis2412 Год назад +1

    can i take your bot please

    • @jherr
      @jherr  Год назад

      Sure, feel free to use or change the code however you see fit. Just don't hold me liable if it breaks.

  • @Mac501pl
    @Mac501pl Год назад

    My brother in Christ please chill out with these thumbnails

  • @harun.demirci
    @harun.demirci Год назад

    Thanks for video but when I open the terminal I dont have a "~/2023/imagine-bot". It turns out the username too. So it turns out that: username@192 starter % . How I can bring this folder

  • @YukitheDummy
    @YukitheDummy Год назад

    Any fix, this happens when trying to use the /imagine command or testing the test.js file
    node:events:490
    throw er; // Unhandled 'error' event
    ^
    Error: spawn imagine ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errno: -4058,
    code: 'ENOENT',
    syscall: 'spawn imagine',
    path: 'imagine',
    spawnargs: [ '--model', 'SD-2.1', '--outdir', 'output/22', 'a cute fluffy dog' ]
    }

    • @SenshiCrow
      @SenshiCrow Год назад

      Same here, any luck yet ?

  • @LifeIsCrazyAsShit
    @LifeIsCrazyAsShit Год назад +1

    Please create reactjs your session are very knowledgeable
    Could you plz create a video on Reactjs full project, Authorization, authentication, token, production, development, etc etc

  • @younesessaadani9303
    @younesessaadani9303 Год назад

    Hello sir thank you for this great video,
    please i cloned the repo and i create the app in discord developer and get all the token needed and install the packages but when i run i get this error "return () => defaultValue ??= cb(); SyntaxError: Unexpected token '??='" existed in the "discordjs\util\dist\index.js" i removed the "??" . but got another error said code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\\Users\\Khalid\\Desktop\\ai-image-bot\\ai-image-bot\
    ode_modules\\@discordjs\
    est\\dist\\index.js',
    'C:\\Users\\Khalid\\Desktop\\ai-image-bot\\ai-image-bot\
    ode_modules\\discord.js\\src\\client\\BaseClient.js',
    'C:\\Users\\Khalid\\Desktop\\ai-image-bot\\ai-image-bot\
    ode_modules\\discord.js\\src\\index.js',
    'C:\\Users\\Khalid\\Desktop\\ai-image-bot\\ai-image-bot\\index.js'
    ] any help ?

    • @jherr
      @jherr  Год назад +2

      Looks like you have an older version of node.

    • @younesessaadani9303
      @younesessaadani9303 Год назад

      @@jherr okay thank you I'll upgrade my node version ❤❤

  • @obgy6scooterdr
    @obgy6scooterdr Год назад

    I'm tryna do this but man your video is confusing. For one I'm on windows so PNPM doesn't work only NPM. Secondly, I keep getting errors. I just want to make this a bot on my server IDC about learning how to make a phone do a flip trick.

    • @deskdesk4949
      @deskdesk4949 Год назад

      this is why you will never have this bot in your server son.