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.
@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.
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.
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.
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…
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 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. 🤔
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.
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?
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.
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
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
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.
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.
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 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 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' ] }
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
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' ] }
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
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 ?
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.
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.
@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.
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?
How does this channel not have 1 million subs?!!!!
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.
This 'becoming something out of noise' is so poetic to me.
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.
I'm on the same boat.
letssssss goooooo. You've killed it this time Jack. Awesome video, always been and remain a big fan of your videos.
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.
a great vid for 100k, congratulation jack.
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…
Thanks for this video 🎉
It would have to be a Pi with a good GPU. Is there such a thing?
FYI, looks like you’ve missed an initial frame or two when blurring out your token in VS Code.
The app is deleted so the token is no longer valid anyway.
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. 😎
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.
@@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. 🤔
wish this was more of a beginner friendly tutorial
I'm excited about trying this tonight!!!
Your channel is heaven to me
Love from India god bless you man.
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.
how did you get it started?
Great tutorial! Are you using an Intel or M1 based Mac for this?
Yes.
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?).
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.
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?
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.
@@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!
Always love your content, keep up the good work
You make the coolest stuff! Thanks, dude!
invokeAI is a pretty slick one...
Hey does it work also with generating web ui images and video motion graphics generation like after effects?
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
Can you make your video with REPLIT please
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
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.
@@jherr Thanks Sir
This is great! Thank you.
Help not working :(
Still am clicking Like before the videos even play
Awesome video. One thing I cant find is this 'Expected: expected.length
Jack what are the steps to deploy it on a server like render?
In this case, probably setting up a docker container then deploying it to a docker hosting service like ECS or EKS.
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.
discord flashbang!
It seems I can't install properly the imagineAIry as I'm getting the following error: zsh: command not found: imagine
Lmao those thumbnails are the best
Nice way to keep focused on work. Distracting apps in light mode and code in dark mode. 😂
Do you know there is another one : DALL-E, which is fantastic, from creators of chatGpt
From what I've heard Stable Diffusion is the successor to Dall-E. Same deal though, diffusion models.
Please make a video about how to make an ai like chatgpt
would love to see it.
Like everybody here, tried on windows and macbook but the steps to install imagineAIry or SD2 are not really clear... no luck
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
Looks like you don't have enough space on your drive.
Hey! token is still visible. I think you should reset the token if you haven't done it already 4:29
The whole app was deleted before the video was published. Thanks though. :)
Sadly the Docker install is not working to test this in windows :(
Really good. Can you just make a more clear longer video
I followed the tutorial until 3:55 and then when I wanted to select a server it was empty, no serever.
You need to set up your own Discord server.
Wow amazing video!
unexpected token error message help i copied he token it should be right
Has anyone been able to get it mounted and used with windows?
Great video. Yet I wonder, does this bypass free trial limit that Midjourney puts you on as a free user?
My example is local, so you can run as much as you want on your own machine. MidJourney is limited to 25 images.
@@jherr brilliant! Thank you 🙏
@@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...
@@code.design Does it work on the command line when you run it directly?
@@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'
]
}
can you just drop a link to invite your bot?
No, the bot is no longer deployed. The video is about how you can make a bot. Not an announcement of a bot.
nice!
you exposed your token on 4:29
I deleted the app so it’s no longer valid
Discord in light mode?! Unsubscribed 😂
I'm trying out the auto mode and, yeah. I think I'm with you. Going back to full time dark on Discord.
can i take your bot please
Sure, feel free to use or change the code however you see fit. Just don't hold me liable if it breaks.
My brother in Christ please chill out with these thumbnails
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
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' ]
}
Same here, any luck yet ?
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
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 ?
Looks like you have an older version of node.
@@jherr okay thank you I'll upgrade my node version ❤❤
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.
this is why you will never have this bot in your server son.