Fireship · @fireship
I built my own AutoGPT that makes videos
Uploaded April 11, 2023 · Length 4:30
Summary
Fireship built his own AutoGPT that generates videos using GPT4 and other AI tools, creating a video about Rust in 100 seconds.
- autogpt
- gpt4
- ai video generation
- rust programming language
- ffmpeg
- puppeteer
- voice cloning
- 11 labs
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
the definition of artificial general
- 0:01
intelligence is an autonomous system
- 0:03
that surpasses human capabilities well
- 0:05
the videotape I'm about to play for you
- 0:07
today titled rust in 100 seconds was
- 0:09
generated entirely by AI by combining
- 0:12
tools like gpt4 Puppeteer voice cloning
- 0:14
and ffmpeg but first over the last week
- 0:17
or so people have been freaking out over
- 0:18
these new self-prompting tools with
- 0:20
long-term memory like Auto GPT and baby
- 0:23
AGI they work by taking a single
- 0:25
objective from a human as a starting
- 0:26
point like build me a million dollar
- 0:28
business from there it will build a task
- 0:30
list and try to figure out how to
- 0:31
achieve that objective and it continues
- 0:33
to prompt itself over and over again
- 0:35
like a recursive function until the
- 0:37
actual objective is met under the hood
- 0:38
they're using open ai's GPT models and
- 0:40
also a vector database like Pinecone DB
- 0:42
to provide it with long-term memory so
- 0:44
it can keep track of what it's been
- 0:45
doing and naturally the first thing
- 0:46
people do with tools like this is modify
- 0:48
them to build things like chaos GPT to
- 0:50
establish Global dominance cause chaos
- 0:52
and destruction control humanity and
- 0:54
attain immortality sounds pretty crazy
- 0:56
so I tried these tools out for myself
- 0:57
and what I found they're most useful for
- 0:59
is making my open AI API calls go Burr
- 1:02
these projects are pretty fun but
- 1:03
nowhere near being true AGI however
- 1:05
there are other efforts underway like
- 1:06
hugging GPT from Microsoft or Jarvis
- 1:09
which uses an llm as a controller to
- 1:11
interact with other AI models on hugging
- 1:13
phase to create a more general purpose
- 1:14
AI tool then you have this new paper
- 1:16
from Stanford and Google research that
- 1:18
just dropped where they took 25 AI
- 1:20
agents and put them in a simulated world
- 1:22
and they actually produce believable
- 1:23
human behavior in other words they built
- 1:25
the Sims but all this got me thinking if
- 1:27
anyone's going to make me obsolete it's
- 1:29
going to be me so I built my own Auto
- 1:30
GPT from scratch with an S to your
- 1:32
programming language called JavaScript
- 1:34
it works by taking a video idea as an
- 1:36
input then uses gpt4 to write a video
- 1:38
script that's no big deal but here's
- 1:40
where things get weird it does a
- 1:41
secondary prompt to figure out how to
- 1:43
turn that script into an actual video
- 1:45
but to make a video we need assets like
- 1:47
images and code Snippets we need a voice
- 1:49
to narrate it and we need some kind of
- 1:51
program to render an actual video the
- 1:52
first thing I did was give gpt4 access
- 1:54
to puppets here a headless browser
- 1:56
that's often used for web scraping the
- 1:58
video script contains a bunch of code
- 1:59
code Snippets and for each one of them I


