Video production is hard, so I used the latest AI technology to write, narrate, and edit videos in my own style. Everybody is suddenly worried Artificial General Intelligence or AGI will replace humans in the near future, so let's take a look at popular projects like BabyAGI, AutoGPT, and Jarvis. 

#programming #ai #tech 

💬 Chat with Me on Discord

https://discord.gg/fireship

🔗 Resources

BabyAGI https://github.com/yoheinakajima/babyagi
AutoGPT https://github.com/Torantulino/Auto-GPT
Voice Cloning https://elevenlabs.io
Clone YouTuber's Voices https://deepfake.aleem.tv
Brainwaves GPT-4 https://youtu.be/-HYbFm67Gs8

🔥 Get More Content - Upgrade to PRO

Upgrade at https://fireship.io/pro
Use code YT25 for 25% off PRO access 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- AutoGPT tutorial
- How to build an AutoGPT tool
- What is HuggingGPT
- Is AGI possible?
- How to make videos with AI
- Stanford paper about AI human simulator
- ChaosGPT used for world domination
2024-02-04T05:08:31.046Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
216363e0-d596-4c4e-bcc4-acea372b96f8
d7e912c5ac971128336dec14b0124287a1ad6a759a602a5d0a3314d1cec14e5e
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
The definition of artificial general intelligence is an autonomous system that surpasses human capabilities.
Well, the videotape I'm about to play for you today, titled Rust in 100 Seconds, was generated entirely by AI by combining tools like GPT 4, puppeteer, voice cloning, and FFmpeg.
But first, over the last a week or so, people have been freaking out over these new self prompting tools with long term memory, like AutoGPT and Baby AGI.
They work by taking a single objective from a Human as a starting point, like build me a $1,000,000 Business.
From there, it will build a task list, and try to figure out how to achieve that objective, and it continues to prompt itself over over again like a recursive function until the actual objective is met.
Under the hood, they're using OpenAI's GPT models and also a vector database like PineCone to provide it with long term memory so it can keep track of what it's been doing.
And naturally, the first thing people do with tools like this is modify them to build things like Chaos GPT, to establish global dominance, cause chaos and destruction, control humanity, and attain immortality.
Sounds pretty crazy, so I tried these tools out for myself, and what I found they're most before is making my OpenAI API calls go brr.
These projects are pretty fun, but nowhere near being true AGI.
However, there are other efforts underway, like hugging GPT from Microsoft or Jarvis, which uses an LLM as a controller to interact with other AI models on Hugging Face to create a more general purpose AI tool.
Then you have this new paper from Stanford and Google Research that just dropped, where they took 25 AI agents and put them in a simulated world, and they actually produce believable human behavior.
In other other words, they built The Sims.
But, all this got me thinking, if anyone's going to make me obsolete, it's going to be me.
So, I built my own auto GPT from scratch with an S tier programming language called JavaScript.
It works by taking a video idea as an input, then uses GPT 4 to write a video script.
That's no big deal, but here's where things get weird.
It a secondary prompt to figure out how to turn that script into an actual video.
But to make a video, we need assets like images and code snippets, we need a voice to narrate it, and we need some kind of program to render an actual video.
The first thing I did was give GPT 4 access to Puppeteer, a headless browser that's often used for web scraping.
The video gripped contains a bunch of code snippets, and for each one of them, I use puppeteer to go to a site called ray.so to generate a PNG for the code.
But a video with only code would be kind of boring.
So I also used a secondary prompt with GPT 4 to identify any people or logos in the script, and then return a link to an image on the Internet for that graphic, which could then be downloaded and written to the file system.
In addition to create a fire ship video, you're also going to need some animated GIFs.
With GIFs.
But for that, I was able to use the Giphy API directly by having GPT figure out what to search for with my API key.
I performed this part in a bunch small steps, allowing each part of the script to correspond to a visual asset.
That's pretty cool, but we still don't have anyone to narrate the video.
Well, last weekend on Twitter, this guy created a program where you can link a YouTube video and it will instantly clone that YouTuber's voice.
So I'll go ahead and give a demo by grabbing the Neurocity Fireship video and then just putting it into this was sight.
Hi, my name is Aleem and I like pancakes.
That's wild.
That's exactly like it.
Pretty crazy that's even possible and it might be illegal, but the magic is made possible by an API I called 11 Labs.
I went ahead and signed up and cloned my voice using about 2 and a half hours of recordings.
Look at me.
I am the captain of the Fireship Now.
The quality is decent, but it could still be a lot better.
Now we can loop over every script file and make an API call to 11 Labs to generate live voice, and then save it as a WAV file.
And at this point, we have all the assets necessary to edit a banger video.
Now initially, I attempted to have GPT 4 write its own an FFmpeg script to edit the video all by itself every time.
It did actually work sometimes, but for the most part wasn't very reliable.
We don't really need GPT for this part anyway, so I wrote some of my own code with fluent FFmpeg to loop over the assets and combine them all together into a single video.
And without further ado, here's the final result for your were viewing pleasure.
Rust explained in 100 seconds.
Rust is a programming language that was created by Graydon Hoare, who started working on it in 2,000 was 6.
Rust was designed to be a safe, concurrent, and fast language.
1, ownership and borrowing.
Rust introduces ownership system to manage memory without garbage collection.
Each value in Rust has a single owner, and once the owner goes out of scope, the value is automatically deallocated.
With 2, functions and pattern matching.
Functions are declared with the FN keyword, and Rust supports pattern matching with the match keyword.
That video only took AI about 30 seconds to create.
And had I not put made by AI in the corner, you guys would have never known the difference.
At this point, I haven't released the code publicly due to fears about impact this would have on humanity.
But the good news is that now that I've been flawlessly cloned by AI, I can finally stop making AI videos and focus entirely on new Angular content.
Thanks for watching and I will see you in the next one.

Speaker 0: The definition of artificial general intelligence is an autonomous system that surpasses human capabilities. Well, the videotape I'm about to play for you today, titled Rust in 100 Seconds, was generated entirely by AI by combining tools like GPT 4, puppeteer, voice cloning, and FFmpeg. But first, over the last a week or so, people have been freaking out over these new self prompting tools with long term memory, like AutoGPT and Baby AGI. They work by taking a single objective from a Human as a starting point, like build me a $1,000,000 Business. From there, it will build a task list, and try to figure out how to achieve that objective, and it continues to prompt itself over over again like a recursive function until the actual objective is met.

Under the hood, they're using OpenAI's GPT models and also a vector database like PineCone to provide it with long term memory so it can keep track of what it's been doing. And naturally, the first thing people do with tools like this is modify them to build things like Chaos GPT, to establish global dominance, cause chaos and destruction, control humanity, and attain immortality. Sounds pretty crazy, so I tried these tools out for myself, and what I found they're most before is making my OpenAI API calls go brr. These projects are pretty fun, but nowhere near being true AGI. However, there are other efforts underway, like hugging GPT from Microsoft or Jarvis, which uses an LLM as a controller to interact with other AI models on Hugging Face to create a more general purpose AI tool.

Then you have this new paper from Stanford and Google Research that just dropped, where they took 25 AI agents and put them in a simulated world, and they actually produce believable human behavior. In other other words, they built The Sims. But, all this got me thinking, if anyone's going to make me obsolete, it's going to be me. So, I built my own auto GPT from scratch with an S tier programming language called JavaScript. It works by taking a video idea as an input, then uses GPT 4 to write a video script.

That's no big deal, but here's where things get weird. It a secondary prompt to figure out how to turn that script into an actual video. But to make a video, we need assets like images and code snippets, we need a voice to narrate it, and we need some kind of program to render an actual video. The first thing I did was give GPT 4 access to Puppeteer, a headless browser that's often used for web scraping. The video gripped contains a bunch of code snippets, and for each one of them, I use puppeteer to go to a site called ray.so to generate a PNG for the code.

But a video with only code would be kind of boring. So I also used a secondary prompt with GPT 4 to identify any people or logos in the script, and then return a link to an image on the Internet for that graphic, which could then be downloaded and written to the file system. In addition to create a fire ship video, you're also going to need some animated GIFs. With GIFs. But for that, I was able to use the Giphy API directly by having GPT figure out what to search for with my API key.

I performed this part in a bunch small steps, allowing each part of the script to correspond to a visual asset. That's pretty cool, but we still don't have anyone to narrate the video. Well, last weekend on Twitter, this guy created a program where you can link a YouTube video and it will instantly clone that YouTuber's voice.

Speaker 1: So I'll go ahead and give a demo by grabbing the Neurocity Fireship video and then just putting it into this was sight.

Speaker 0: Hi, my name is Aleem and I like pancakes.

Speaker 1: That's wild. That's exactly like it.

Speaker 0: Pretty crazy that's even possible and it might be illegal, but the magic is made possible by an API I called 11 Labs. I went ahead and signed up and cloned my voice using about 2 and a half hours of recordings. Look at me. I am the captain of the Fireship Now. The quality is decent, but it could still be a lot better.

Now we can loop over every script file and make an API call to 11 Labs to generate live voice, and then save it as a WAV file. And at this point, we have all the assets necessary to edit a banger video. Now initially, I attempted to have GPT 4 write its own an FFmpeg script to edit the video all by itself every time. It did actually work sometimes, but for the most part wasn't very reliable. We don't really need GPT for this part anyway, so I wrote some of my own code with fluent FFmpeg to loop over the assets and combine them all together into a single video.

And without further ado, here's the final result for your were viewing pleasure. Rust explained in 100 seconds. Rust is a programming language that was created by Graydon Hoare, who started working on it in 2,000 was 6. Rust was designed to be a safe, concurrent, and fast language. 1, ownership and borrowing.

Rust introduces ownership system to manage memory without garbage collection. Each value in Rust has a single owner, and once the owner goes out of scope, the value is automatically deallocated. With 2, functions and pattern matching. Functions are declared with the FN keyword, and Rust supports pattern matching with the match keyword. That video only took AI about 30 seconds to create.

And had I not put made by AI in the corner, you guys would have never known the difference. At this point, I haven't released the code publicly due to fears about impact this would have on humanity. But the good news is that now that I've been flawlessly cloned by AI, I can finally stop making AI videos and focus entirely on new Angular content. Thanks for watching and I will see you in the next one.
The definition of artificial general intelligence is an autonomous system that surpasses human capabilities. Well, the videotape I'm about to play for you today, titled Rust in 100 Seconds, was generated entirely by AI by combining tools like GPT 4, puppeteer, voice cloning, and FFmpeg. But first, over the last a week or so, people have been freaking out over these new self prompting tools with long term memory, like AutoGPT and Baby AGI. They work by taking a single objective from a Human as a starting point, like build me a $1,000,000 Business. From there, it will build a task list, and try to figure out how to achieve that objective, and it continues to prompt itself over over again like a recursive function until the actual objective is met.
artificial intelligence
machine learning
neural networks
software development
robotics
Under the hood, they're using OpenAI's GPT models and also a vector database like PineCone to provide it with long term memory so it can keep track of what it's been doing. And naturally, the first thing people do with tools like this is modify them to build things like Chaos GPT, to establish global dominance, cause chaos and destruction, control humanity, and attain immortality. Sounds pretty crazy, so I tried these tools out for myself, and what I found they're most before is making my OpenAI API calls go brr. These projects are pretty fun, but nowhere near being true AGI. However, there are other efforts underway, like hugging GPT from Microsoft or Jarvis, which uses an LLM as a controller to interact with other AI models on Hugging Face to create a more general purpose AI tool. Then you have this new paper from Stanford and Google Research that just dropped, where they took 25 AI agents and put them in a simulated world, and they actually produce believable human behavior. In other other words, they built The Sims. But, all this got me thinking, if anyone's going to make me obsolete, it's going to be me. So, I built my own auto GPT from scratch with an S tier programming language called JavaScript. It works by taking a video idea as an input, then uses GPT 4 to write a video script.
software
video gaming
software development
artificial intelligence
robotics
data management
systems
That's no big deal, but here's where things get weird. It a secondary prompt to figure out how to turn that script into an actual video. But to make a video, we need assets like images and code snippets, we need a voice to narrate it, and we need some kind of program to render an actual video. The first thing I did was give GPT 4 access to Puppeteer, a headless browser that's often used for web scraping. The video gripped contains a bunch of code snippets, and for each one of them, I use puppeteer to go to a site called ray.so to generate a PNG for the code. But a video with only code would be kind of boring. So I also used a secondary prompt with GPT 4 to identify any people or logos in the script, and then return a link to an image on the Internet for that graphic, which could then be downloaded and written to the file system.
multimedia
youtube
streaming
animation
software
software development
video gaming
film
In addition to create a fire ship video, you're also going to need some animated GIFs. With GIFs. But for that, I was able to use the Giphy API directly by having GPT figure out what to search for with my API key.
I performed this part in a bunch small steps, allowing each part of the script to correspond to a visual asset. That's pretty cool, but we still don't have anyone to narrate the video. Well, last weekend on Twitter, this guy created a program where you can link a YouTube video and it will instantly clone that YouTuber's voice. So I'll go ahead and give a demo by grabbing the Neurocity Fireship video and then just putting it into this was sight. Hi, my name is Aleem and I like pancakes.
youtube
animation
video gaming
multimedia
That's wild. That's exactly like it. Pretty crazy that's even possible and it might be illegal, but the magic is made possible by an API I called 11 Labs. I went ahead and signed up and cloned my voice using about 2 and a half hours of recordings. Look at me. I am the captain of the Fireship Now. The quality is decent, but it could still be a lot better. Now we can loop over every script file and make an API call to 11 Labs to generate live voice, and then save it as a WAV file. And at this point, we have all the assets necessary to edit a banger video. Now initially, I attempted to have GPT 4 write its own an FFmpeg script to edit the video all by itself every time. It did actually work sometimes, but for the most part wasn't very reliable. We don't really need GPT for this part anyway, so I wrote some of my own code with fluent FFmpeg to loop over the assets and combine them all together into a single video. And without further ado, here's the final result for your were viewing pleasure.
video gaming
audio
software
multimedia
software development
Rust explained in 100 seconds. Rust is a programming language that was created by Graydon Hoare, who started working on it in 2,000 was 6. Rust was designed to be a safe, concurrent, and fast language. 1, ownership and borrowing. Rust introduces ownership system to manage memory without garbage collection. Each value in Rust has a single owner, and once the owner goes out of scope, the value is automatically deallocated. With 2, functions and pattern matching. Functions are declared with the FN keyword, and Rust supports pattern matching with the match keyword. That video only took AI about 30 seconds to create.
And had I not put made by AI in the corner, you guys would have never known the difference. At this point, I haven't released the code publicly due to fears about impact this would have on humanity. But the good news is that now that I've been flawlessly cloned by AI, I can finally stop making AI videos and focus entirely on new Angular content. Thanks for watching and I will see you in the next one.
animation
artificial intelligence
youtube
The definition of artificial general intelligence is an autonomous system that surpasses human capabilities. Well, the videotape I'm about to play for you today, titled Rust in 100 Seconds, was generated entirely by AI by combining tools like GPT 4, puppeteer, voice cloning, and FFmpeg. But first, over the last a week or so, people have been freaking out over these new self prompting tools with long term memory, like AutoGPT and Baby AGI. They work by taking a single objective from a Human as a starting point, like build me a $1,000,000 Business. From there, it will build a task list, and try to figure out how to achieve that objective, and it continues to prompt itself over over again like a recursive function until the actual objective is met. Under the hood, they're using OpenAI's GPT models and also a vector database like PineCone to provide it with long term memory so it can keep track of what it's been doing. And naturally, the first thing people do with tools like this is modify them to build things like Chaos GPT, to establish global dominance, cause chaos and destruction, control humanity, and attain immortality. Sounds pretty crazy, so I tried these tools out for myself, and what I found they're most before is making my OpenAI API calls go brr. These projects are pretty fun, but nowhere near being true AGI. However, there are other efforts underway, like hugging GPT from Microsoft or Jarvis, which uses an LLM as a controller to interact with other AI models on Hugging Face to create a more general purpose AI tool. Then you have this new paper from Stanford and Google Research that just dropped, where they took 25 AI agents and put them in a simulated world, and they actually produce believable human behavior. In other other words, they built The Sims. But, all this got me thinking, if anyone's going to make me obsolete, it's going to be me. So, I built my own auto GPT from scratch with an S tier programming language called JavaScript. It works by taking a video idea as an input, then uses GPT 4 to write a video script. That's no big deal, but here's where things get weird. It a secondary prompt to figure out how to turn that script into an actual video. But to make a video, we need assets like images and code snippets, we need a voice to narrate it, and we need some kind of program to render an actual video. The first thing I did was give GPT 4 access to Puppeteer, a headless browser that's often used for web scraping. The video gripped contains a bunch of code snippets, and for each one of them, I use puppeteer to go to a site called ray.so to generate a PNG for the code. But a video with only code would be kind of boring. So I also used a secondary prompt with GPT 4 to identify any people or logos in the script, and then return a link to an image on the Internet for that graphic, which could then be downloaded and written to the file system. In addition to create a fire ship video, you're also going to need some animated GIFs. With GIFs. But for that, I was able to use the Giphy API directly by having GPT figure out what to search for with my API key. I performed this part in a bunch small steps, allowing each part of the script to correspond to a visual asset. That's pretty cool, but we still don't have anyone to narrate the video. Well, last weekend on Twitter, this guy created a program where you can link a YouTube video and it will instantly clone that YouTuber's voice. So I'll go ahead and give a demo by grabbing the Neurocity Fireship video and then just putting it into this was sight. Hi, my name is Aleem and I like pancakes. That's wild. That's exactly like it. Pretty crazy that's even possible and it might be illegal, but the magic is made possible by an API I called 11 Labs. I went ahead and signed up and cloned my voice using about 2 and a half hours of recordings. Look at me. I am the captain of the Fireship Now. The quality is decent, but it could still be a lot better. Now we can loop over every script file and make an API call to 11 Labs to generate live voice, and then save it as a WAV file. And at this point, we have all the assets necessary to edit a banger video. Now initially, I attempted to have GPT 4 write its own an FFmpeg script to edit the video all by itself every time. It did actually work sometimes, but for the most part wasn't very reliable. We don't really need GPT for this part anyway, so I wrote some of my own code with fluent FFmpeg to loop over the assets and combine them all together into a single video. And without further ado, here's the final result for your were viewing pleasure. Rust explained in 100 seconds. Rust is a programming language that was created by Graydon Hoare, who started working on it in 2,000 was 6. Rust was designed to be a safe, concurrent, and fast language. 1, ownership and borrowing. Rust introduces ownership system to manage memory without garbage collection. Each value in Rust has a single owner, and once the owner goes out of scope, the value is automatically deallocated. With 2, functions and pattern matching. Functions are declared with the FN keyword, and Rust supports pattern matching with the match keyword. That video only took AI about 30 seconds to create. And had I not put made by AI in the corner, you guys would have never known the difference. At this point, I haven't released the code publicly due to fears about impact this would have on humanity. But the good news is that now that I've been flawlessly cloned by AI, I can finally stop making AI videos and focus entirely on new Angular content. Thanks for watching and I will see you in the next one.
The
the
definition
definition
of
of
artificial
artificial
general
general
intelligence
intelligence
is
is
an
an
autonomous
autonomous
system
system
that
that
surpasses
surpasses
human
human
capabilities.
capabilities
Well,
well
the
the
videotape
videotape
I'm
i'm
about
about
to
to
play
play
for
for
you
you
today,
today
titled
titled
Rust
rust
in
in
100
100
Seconds,
seconds
was
was
generated
generated
entirely
entirely
by
by
AI
ai
by
by
combining
combining
tools
tools
like
like
GPT
gpt
4,
4
puppeteer,
puppeteer
voice
voice
cloning,
cloning
and
and
FFmpeg.
ffmpeg
But
but
first,
first
over
over
the
the
last
last
a
a
week
week
or
or
so,
so
people
people
have
have
been
been
freaking
freaking
out
out
over
over
these
these
new
new
self
self
prompting
prompting
tools
tools
with
with
long
long
term
term
memory,
memory
like
like
AutoGPT
autogpt
and
and
Baby
baby
AGI.
agi
They
they
work
work
by
by
taking
taking
a
a
single
single
objective
objective
from
from
a
a
Human
human
as
as
a
a
starting
starting
point,
point
like
like
build
build
me
me
a
a
$1,000,000
$1,000,000
Business.
business
From
from
there,
there
it
it
will
will
build
build
a
a
task
task
list,
list
and
and
try
try
to
to
figure
figure
out
out
how
how
to
to
achieve
achieve
that
that
objective,
objective
and
and
it
it
continues
continues
to
to
prompt
prompt
itself
itself
over
over
over
over
again
again
like
like
a
a
recursive
recursive
function
function
until
until
the
the
actual
actual
objective
objective
is
is
met.
met
Under
under
the
the
hood,
hood
they're
they're
using
using
OpenAI's
openai's
GPT
gpt
models
models
and
and
also
also
a
a
vector
vector
database
database
like
like
PineCone
pinecone
to
to
provide
provide
it
it
with
with
long
long
term
term
memory
memory
so
so
it
it
can
can
keep
keep
track
track
of
of
what
what
it's
it's
been
been
doing.
doing
And
and
naturally,
naturally
the
the
first
first
thing
thing
people
people
do
do
with
with
tools
tools
like
like
this
this
is
is
modify
modify
them
them
to
to
build
build
things
things
like
like
Chaos
chaos
GPT,
gpt
to
to
establish
establish
global
global
dominance,
dominance
cause
cause
chaos
chaos
and
and
destruction,
destruction
control
control
humanity,
humanity
and
and
attain
attain
immortality.
immortality
Sounds
sounds
pretty
pretty
crazy,
crazy
so
so
I
i
tried
tried
these
these
tools
tools
out
out
for
for
myself,
myself
and
and
what
what
I
i
found
found
they're
they're
most
most
before
before
is
is
making
making
my
my
OpenAI
openai
API
api
calls
calls
go
go
brr.
brr
These
these
projects
projects
are
are
pretty
pretty
fun,
fun
but
but
nowhere
nowhere
near
near
being
being
true
true
AGI.
agi
However,
however
there
there
are
are
other
other
efforts
efforts
underway,
underway
like
like
hugging
hugging
GPT
gpt
from
from
Microsoft
microsoft
or
or
Jarvis,
jarvis
which
which
uses
uses
an
an
LLM
llm
as
as
a
a
controller
controller
to
to
interact
interact
with
with
other
other
AI
ai
models
models
on
on
Hugging
hugging
Face
face
to
to
create
create
a
a
more
more
general
general
purpose
purpose
AI
ai
tool.
tool
Then
then
you
you
have
have
this
this
new
new
paper
paper
from
from
Stanford
stanford
and
and
Google
google
Research
research
that
that
just
just
dropped,
dropped
where
where
they
they
took
took
25
25
AI
ai
agents
agents
and
and
put
put
them
them
in
in
a
a
simulated
simulated
world,
world
and
and
they
they
actually
actually
produce
produce
believable
believable
human
human
behavior.
behavior
In
in
other
other
other
other
words,
words
they
they
built
built
The
the
Sims.
sims
But,
but
all
all
this
this
got
got
me
me
thinking,
thinking
if
if
anyone's
anyone's
going
going
to
to
make
make
me
me
obsolete,
obsolete
it's
it's
going
going
to
to
be
be
me.
me
So,
so
I
i
built
built
my
my
own
own
auto
auto
GPT
gpt
from
from
scratch
scratch
with
with
an
an
S
s
tier
tier
programming
programming
language
language
called
called
JavaScript.
javascript
It
it
works
works
by
by
taking
taking
a
a
video
video
idea
idea
as
as
an
an
input,
input
then
then
uses
uses
GPT
gpt
4
4
to
to
write
write
a
a
video
video
script.
script
That's
that's
no
no
big
big
deal,
deal
but
but
here's
here's
where
where
things
things
get
get
weird.
weird
It
it
a
a
secondary
secondary
prompt
prompt
to
to
figure
figure
out
out
how
how
to
to
turn
turn
that
that
script
script
into
into
an
an
actual
actual
video.
video
But
but
to
to
make
make
a
a
video,
video
we
we
need
need
assets
assets
like
like
images
images
and
and
code
code
snippets,
snippets
we
we
need
need
a
a
voice
voice
to
to
narrate
narrate
it,
it
and
and
we
we
need
need
some
some
kind
kind
of
of
program
program
to
to
render
render
an
an
actual
actual
video.
video
The
the
first
first
thing
thing
I
i
did
did
was
was
give
give
GPT
gpt
4
4
access
access
to
to
Puppeteer,
puppeteer
a
a
headless
headless
browser
browser
that's
that's
often
often
used
used
for
for
web
web
scraping.
scraping
The
the
video
video
gripped
gripped
contains
contains
a
a
bunch
bunch
of
of
code
code
snippets,
snippets
and
and
for
for
each
each
one
one
of
of
them,
them
I
i
use
use
puppeteer
puppeteer
to
to
go
go
to
to
a
a
site
site
called
called
ray.so
ray.so
to
to
generate
generate
a
a
PNG
png
for
for
the
the
code.
code
But
but
a
a
video
video
with
with
only
only
code
code
would
would
be
be
kind
kind
of
of
boring.
boring
So
so
I
i
also
also
used
used
a
a
secondary
secondary
prompt
prompt
with
with
GPT
gpt
4
4
to
to
identify
identify
any
any
people
people
or
or
logos
logos
in
in
the
the
script,
script
and
and
then
then
return
return
a
a
link
link
to
to
an
an
image
image
on
on
the
the
Internet
internet
for
for
that
that
graphic,
graphic
which
which
could
could
then
then
be
be
downloaded
downloaded
and
and
written
written
to
to
the
the
file
file
system.
system
In
in
addition
addition
to
to
create
create
a
a
fire
fire
ship
ship
video,
video
you're
you're
also
also
going
going
to
to
need
need
some
some
animated
animated
GIFs.
gifs
With
with
GIFs.
gifs
But
but
for
for
that,
that
I
i
was
was
able
able
to
to
use
use
the
the
Giphy
giphy
API
api
directly
directly
by
by
having
having
GPT
gpt
figure
figure
out
out
what
what
to
to
search
search
for
for
with
with
my
my
API
api
key.
key
I
i
performed
performed
this
this
part
part
in
in
a
a
bunch
bunch
small
small
steps,
steps
allowing
allowing
each
each
part
part
of
of
the
the
script
script
to
to
correspond
correspond
to
to
a
a
visual
visual
asset.
asset
That's
that's
pretty
pretty
cool,
cool
but
but
we
we
still
still
don't
don't
have
have
anyone
anyone
to
to
narrate
narrate
the
the
video.
video
Well,
well
last
last
weekend
weekend
on
on
Twitter,
twitter
this
this
guy
guy
created
created
a
a
program
program
where
where
you
you
can
can
link
link
a
a
YouTube
youtube
video
video
and
and
it
it
will
will
instantly
instantly
clone
clone
that
that
YouTuber's
youtuber's
voice.
voice
So
so
I'll
i'll
go
go
ahead
ahead
and
and
give
give
a
a
demo
demo
by
by
grabbing
grabbing
the
the
Neurocity
neurocity
Fireship
fireship
video
video
and
and
then
then
just
just
putting
putting
it
it
into
into
this
this
was
was
sight.
sight
Hi,
hi
my
my
name
name
is
is
Aleem
aleem
and
and
I
i
like
like
pancakes.
pancakes
That's
that's
wild.
wild
That's
that's
exactly
exactly
like
like
it.
it
Pretty
pretty
crazy
crazy
that's
that's
even
even
possible
possible
and
and
it
it
might
might
be
be
illegal,
illegal
but
but
the
the
magic
magic
is
is
made
made
possible
possible
by
by
an
an
API
api
I
i
called
called
11
11
Labs.
labs
I
i
went
went
ahead
ahead
and
and
signed
signed
up
up
and
and
cloned
cloned
my
my
voice
voice
using
using
about
about
2
2
and
and
a
a
half
half
hours
hours
of
of
recordings.
recordings
Look
look
at
at
me.
me
I
i
am
am
the
the
captain
captain
of
of
the
the
Fireship
fireship
Now.
now
The
the
quality
quality
is
is
decent,
decent
but
but
it
it
could
could
still
still
be
be
a
a
lot
lot
better.
better
Now
now
we
we
can
can
loop
loop
over
over
every
every
script
script
file
file
and
and
make
make
an
an
API
api
call
call
to
to
11
11
Labs
labs
to
to
generate
generate
live
live
voice,
voice
and
and
then
then
save
save
it
it
as
as
a
a
WAV
wav
file.
file
And
and
at
at
this
this
point,
point
we
we
have
have
all
all
the
the
assets
assets
necessary
necessary
to
to
edit
edit
a
a
banger
banger
video.
video
Now
now
initially,
initially
I
i
attempted
attempted
to
to
have
have
GPT
gpt
4
4
write
write
its
its
own
own
an
an
FFmpeg
ffmpeg
script
script
to
to
edit
edit
the
the
video
video
all
all
by
by
itself
itself
every
every
time.
time
It
it
did
did
actually
actually
work
work
sometimes,
sometimes
but
but
for
for
the
the
most
most
part
part
wasn't
wasn't
very
very
reliable.
reliable
We
we
don't
don't
really
really
need
need
GPT
gpt
for
for
this
this
part
part
anyway,
anyway
so
so
I
i
wrote
wrote
some
some
of
of
my
my
own
own
code
code
with
with
fluent
fluent
FFmpeg
ffmpeg
to
to
loop
loop
over
over
the
the
assets
assets
and
and
combine
combine
them
them
all
all
together
together
into
into
a
a
single
single
video.
video
And
and
without
without
further
further
ado,
ado
here's
here's
the
the
final
final
result
result
for
for
your
your
were
were
viewing
viewing
pleasure.
pleasure
Rust
rust
explained
explained
in
in
100
100
seconds.
seconds
Rust
rust
is
is
a
a
programming
programming
language
language
that
that
was
was
created
created
by
by
Graydon
graydon
Hoare,
hoare
who
who
started
started
working
working
on
on
it
it
in
in
2,000
2,000
was
was
6.
6
Rust
rust
was
was
designed
designed
to
to
be
be
a
a
safe,
safe
concurrent,
concurrent
and
and
fast
fast
language.
language
1,
1
ownership
ownership
and
and
borrowing.
borrowing
Rust
rust
introduces
introduces
ownership
ownership
system
system
to
to
manage
manage
memory
memory
without
without
garbage
garbage
collection.
collection
Each
each
value
value
in
in
Rust
rust
has
has
a
a
single
single
owner,
owner
and
and
once
once
the
the
owner
owner
goes
goes
out
out
of
of
scope,
scope
the
the
value
value
is
is
automatically
automatically
deallocated.
deallocated
With
with
2,
2
functions
functions
and
and
pattern
pattern
matching.
matching
Functions
functions
are
are
declared
declared
with
with
the
the
FN
fn
keyword,
keyword
and
and
Rust
rust
supports
supports
pattern
pattern
matching
matching
with
with
the
the
match
match
keyword.
keyword
That
that
video
video
only
only
took
took
AI
ai
about
about
30
30
seconds
seconds
to
to
create.
create
And
and
had
had
I
i
not
not
put
put
made
made
by
by
AI
ai
in
in
the
the
corner,
corner
you
you
guys
guys
would
would
have
have
never
never
known
known
the
the
difference.
difference
At
at
this
this
point,
point
I
i
haven't
haven't
released
released
the
the
code
code
publicly
publicly
due
due
to
to
fears
fears
about
about
impact
impact
this
this
would
would
have
have
on
on
humanity.
humanity
But
but
the
the
good
good
news
news
is
is
that
that
now
now
that
that
I've
i've
been
been
flawlessly
flawlessly
cloned
cloned
by
by
AI,
ai
I
i
can
can
finally
finally
stop
stop
making
making
AI
ai
videos
videos
and
and
focus
focus
entirely
entirely
on
on
new
new
Angular
angular
content.
content
Thanks
thanks
for
for
watching
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The speaker discusses various AI tools and their use in various projects, including auto general intelligence (AI), a computer program called The Sims, and a video program called "The Fireship Now". They explain how to use these tools and generate a video using specific techniques, including using a YouTube video and using a GIF to create a YouTube video. The speaker also mentions a new program called GIPhy, which allows users to link YouTube videos and create a GIF file. They also discuss a new program called 11 Labs, which allows users to link video files and create a GIF file without the need for Google's help.
I built my own AutoGPT that makes videos
The definition of artificial general intelligence is an autonomous system that surpasses human capabilities. Well, the videotape I'm about to play for you today, titled Rust in 100 Seconds, was generated entirely by AI by combining tools like GPT 4, puppeteer, voice cloning, and FFmpeg. But first, over the last a week or so, people have been freaking out over these new self prompting tools with long term memory, like AutoGPT and Baby AGI. They work by taking a single objective from a Human as a starting point, like build me a $1,000,000 Business. From there, it will build a task list, and try to figure out how to achieve that objective, and it continues to prompt itself over over again like a recursive function until the actual objective is met. Under the hood, they're using OpenAI's GPT models and also a vector database like PineCone to provide it with long term memory so it can keep track of what it's been doing. And naturally, the first thing people do with tools like this is modify them to build things like Chaos GPT, to establish global dominance, cause chaos and destruction, control humanity, and attain immortality. Sounds pretty crazy, so I tried these tools out for myself, and what I found they're most before is making my OpenAI API calls go brr. These projects are pretty fun, but nowhere near being true AGI. However, there are other efforts underway, like hugging GPT from Microsoft or Jarvis, which uses an LLM as a controller to interact with other AI models on Hugging Face to create a more general purpose AI tool. Then you have this new paper from Stanford and Google Research that just dropped, where they took 25 AI agents and put them in a simulated world, and they actually produce believable human behavior. In other other words, they built The Sims. But, all this got me thinking, if anyone's going to make me obsolete, it's going to be me. So, I built my own auto GPT from scratch with an S tier programming language called JavaScript. It works by taking a video idea as an input, then uses GPT 4 to write a video script. That's no big deal, but here's where things get weird. It a secondary prompt to figure out how to turn that script into an actual video. But to make a video, we need assets like images and code snippets, we need a voice to narrate it, and we need some kind of program to render an actual video. The first thing I did was give GPT 4 access to Puppeteer, a headless browser that's often used for web scraping. The video gripped contains a bunch of code snippets, and for each one of them, I use puppeteer to go to a site called ray.so to generate a PNG for the code. But a video with only code would be kind of boring. So I also used a secondary prompt with GPT 4 to identify any people or logos in the script, and then return a link to an image on the Internet for that graphic, which could then be downloaded and written to the file system. In addition to create a fire ship video, you're also going to need some animated GIFs. With GIFs. But for that, I was able to use the Giphy API directly by having GPT figure out what to search for with my API key. I performed this part in a bunch small steps, allowing each part of the script to correspond to a visual asset. That's pretty cool, but we still don't have anyone to narrate the video. Well, last weekend on Twitter, this guy created a program where you can link a YouTube video and it will instantly clone that YouTuber's voice. So I'll go ahead and give a demo by grabbing the Neurocity Fireship video and then just putting it into this was sight. Hi, my name is Aleem and I like pancakes. That's wild. That's exactly like it. Pretty crazy that's even possible and it might be illegal, but the magic is made possible by an API I called 11 Labs. I went ahead and signed up and cloned my voice using about 2 and a half hours of recordings. Look at me. I am the captain of the Fireship Now. The quality is decent, but it could still be a lot better. Now we can loop over every script file and make an API call to 11 Labs to generate live voice, and then save it as a WAV file. And at this point, we have all the assets necessary to edit a banger video. Now initially, I attempted to have GPT 4 write its own an FFmpeg script to edit the video all by itself every time. It did actually work sometimes, but for the most part wasn't very reliable. We don't really need GPT for this part anyway, so I wrote some of my own code with fluent FFmpeg to loop over the assets and combine them all together into a single video. And without further ado, here's the final result for your were viewing pleasure. Rust explained in 100 seconds. Rust is a programming language that was created by Graydon Hoare, who started working on it in 2,000 was 6. Rust was designed to be a safe, concurrent, and fast language. 1, ownership and borrowing. Rust introduces ownership system to manage memory without garbage collection. Each value in Rust has a single owner, and once the owner goes out of scope, the value is automatically deallocated. With 2, functions and pattern matching. Functions are declared with the FN keyword, and Rust supports pattern matching with the match keyword. That video only took AI about 30 seconds to create. And had I not put made by AI in the corner, you guys would have never known the difference. At this point, I haven't released the code publicly due to fears about impact this would have on humanity. But the good news is that now that I've been flawlessly cloned by AI, I can finally stop making AI videos and focus entirely on new Angular content. Thanks for watching and I will see you in the next one.
The speaker discusses various AI tools and their use in various projects, including auto general intelligence (AI), a computer program called The Sims, and a video program called "The Fireship Now". They explain how to use these tools and generate a video using specific techniques, including using a YouTube video and using a GIF to create a YouTube video. The speaker also mentions a new program called GIPhy, which allows users to link YouTube videos and create a GIF file. They also discuss a new program called 11 Labs, which allows users to link video files and create a GIF file without the need for Google's help.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : I built my own AutoGPT that makes videos 
        and a small summary : The speaker discusses various AI tools and their use in various projects, including auto general intelligence (AI), a computer program called The Sims, and a video program called "The Fireship Now". They explain how to use these tools and generate a video using specific techniques, including using a YouTube video and using a GIF to create a YouTube video. The speaker also mentions a new program called GIPhy, which allows users to link YouTube videos and create a GIF file. They also discuss a new program called 11 Labs, which allows users to link video files and create a GIF file without the need for Google's help.
        [/INST]
        
        Generate the video : The definition of artificial general intelligence is an autonomous system that surpasses human capabilities. Well, the videotape I'm about to play for you today, titled Rust in 100 Seconds, was generated entirely by AI by combining tools like GPT 4, puppeteer, voice cloning, and FFmpeg. But first, over the last a week or so, people have been freaking out over these new self prompting tools with long term memory, like AutoGPT and Baby AGI. They work by taking a single objective from a Human as a starting point, like build me a $1,000,000 Business. From there, it will build a task list, and try to figure out how to achieve that objective, and it continues to prompt itself over over again like a recursive function until the actual objective is met. Under the hood, they're using OpenAI's GPT models and also a vector database like PineCone to provide it with long term memory so it can keep track of what it's been doing. And naturally, the first thing people do with tools like this is modify them to build things like Chaos GPT, to establish global dominance, cause chaos and destruction, control humanity, and attain immortality. Sounds pretty crazy, so I tried these tools out for myself, and what I found they're most before is making my OpenAI API calls go brr. These projects are pretty fun, but nowhere near being true AGI. However, there are other efforts underway, like hugging GPT from Microsoft or Jarvis, which uses an LLM as a controller to interact with other AI models on Hugging Face to create a more general purpose AI tool. Then you have this new paper from Stanford and Google Research that just dropped, where they took 25 AI agents and put them in a simulated world, and they actually produce believable human behavior. In other other words, they built The Sims. But, all this got me thinking, if anyone's going to make me obsolete, it's going to be me. So, I built my own auto GPT from scratch with an S tier programming language called JavaScript. It works by taking a video idea as an input, then uses GPT 4 to write a video script. That's no big deal, but here's where things get weird. It a secondary prompt to figure out how to turn that script into an actual video. But to make a video, we need assets like images and code snippets, we need a voice to narrate it, and we need some kind of program to render an actual video. The first thing I did was give GPT 4 access to Puppeteer, a headless browser that's often used for web scraping. The video gripped contains a bunch of code snippets, and for each one of them, I use puppeteer to go to a site called ray.so to generate a PNG for the code. But a video with only code would be kind of boring. So I also used a secondary prompt with GPT 4 to identify any people or logos in the script, and then return a link to an image on the Internet for that graphic, which could then be downloaded and written to the file system. In addition to create a fire ship video, you're also going to need some animated GIFs. With GIFs. But for that, I was able to use the Giphy API directly by having GPT figure out what to search for with my API key. I performed this part in a bunch small steps, allowing each part of the script to correspond to a visual asset. That's pretty cool, but we still don't have anyone to narrate the video. Well, last weekend on Twitter, this guy created a program where you can link a YouTube video and it will instantly clone that YouTuber's voice. So I'll go ahead and give a demo by grabbing the Neurocity Fireship video and then just putting it into this was sight. Hi, my name is Aleem and I like pancakes. That's wild. That's exactly like it. Pretty crazy that's even possible and it might be illegal, but the magic is made possible by an API I called 11 Labs. I went ahead and signed up and cloned my voice using about 2 and a half hours of recordings. Look at me. I am the captain of the Fireship Now. The quality is decent, but it could still be a lot better. Now we can loop over every script file and make an API call to 11 Labs to generate live voice, and then save it as a WAV file. And at this point, we have all the assets necessary to edit a banger video. Now initially, I attempted to have GPT 4 write its own an FFmpeg script to edit the video all by itself every time. It did actually work sometimes, but for the most part wasn't very reliable. We don't really need GPT for this part anyway, so I wrote some of my own code with fluent FFmpeg to loop over the assets and combine them all together into a single video. And without further ado, here's the final result for your were viewing pleasure. Rust explained in 100 seconds. Rust is a programming language that was created by Graydon Hoare, who started working on it in 2,000 was 6. Rust was designed to be a safe, concurrent, and fast language. 1, ownership and borrowing. Rust introduces ownership system to manage memory without garbage collection. Each value in Rust has a single owner, and once the owner goes out of scope, the value is automatically deallocated. With 2, functions and pattern matching. Functions are declared with the FN keyword, and Rust supports pattern matching with the match keyword. That video only took AI about 30 seconds to create. And had I not put made by AI in the corner, you guys would have never known the difference. At this point, I haven't released the code publicly due to fears about impact this would have on humanity. But the good news is that now that I've been flawlessly cloned by AI, I can finally stop making AI videos and focus entirely on new Angular content. Thanks for watching and I will see you in the next one.
        