Fireship · @fireship

I built my own AutoGPT that makes videos

Uploaded April 11, 2023 · Length 4:30

I built my own AutoGPT that makes videos

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.

  1. 0:00

    the definition of artificial general

  2. 0:01

    intelligence is an autonomous system

  3. 0:03

    that surpasses human capabilities well

  4. 0:05

    the videotape I'm about to play for you

  5. 0:07

    today titled rust in 100 seconds was

  6. 0:09

    generated entirely by AI by combining

  7. 0:12

    tools like gpt4 Puppeteer voice cloning

  8. 0:14

    and ffmpeg but first over the last week

  9. 0:17

    or so people have been freaking out over

  10. 0:18

    these new self-prompting tools with

  11. 0:20

    long-term memory like Auto GPT and baby

  12. 0:23

    AGI they work by taking a single

  13. 0:25

    objective from a human as a starting

  14. 0:26

    point like build me a million dollar

  15. 0:28

    business from there it will build a task

  16. 0:30

    list and try to figure out how to

  17. 0:31

    achieve that objective and it continues

  18. 0:33

    to prompt itself over and over again

  19. 0:35

    like a recursive function until the

  20. 0:37

    actual objective is met under the hood

  21. 0:38

    they're using open ai's GPT models and

  22. 0:40

    also a vector database like Pinecone DB

  23. 0:42

    to provide it with long-term memory so

  24. 0:44

    it can keep track of what it's been

  25. 0:45

    doing and naturally the first thing

  26. 0:46

    people do with tools like this is modify

  27. 0:48

    them to build things like chaos GPT to

  28. 0:50

    establish Global dominance cause chaos

  29. 0:52

    and destruction control humanity and

  30. 0:54

    attain immortality sounds pretty crazy

  31. 0:56

    so I tried these tools out for myself

  32. 0:57

    and what I found they're most useful for

  33. 0:59

    is making my open AI API calls go Burr

  34. 1:02

    these projects are pretty fun but

  35. 1:03

    nowhere near being true AGI however

  36. 1:05

    there are other efforts underway like

  37. 1:06

    hugging GPT from Microsoft or Jarvis

  38. 1:09

    which uses an llm as a controller to

  39. 1:11

    interact with other AI models on hugging

  40. 1:13

    phase to create a more general purpose

  41. 1:14

    AI tool then you have this new paper

  42. 1:16

    from Stanford and Google research that

  43. 1:18

    just dropped where they took 25 AI

  44. 1:20

    agents and put them in a simulated world

  45. 1:22

    and they actually produce believable

  46. 1:23

    human behavior in other words they built

  47. 1:25

    the Sims but all this got me thinking if

  48. 1:27

    anyone's going to make me obsolete it's

  49. 1:29

    going to be me so I built my own Auto

  50. 1:30

    GPT from scratch with an S to your

  51. 1:32

    programming language called JavaScript

  52. 1:34

    it works by taking a video idea as an

  53. 1:36

    input then uses gpt4 to write a video

  54. 1:38

    script that's no big deal but here's

  55. 1:40

    where things get weird it does a

  56. 1:41

    secondary prompt to figure out how to

  57. 1:43

    turn that script into an actual video

  58. 1:45

    but to make a video we need assets like

  59. 1:47

    images and code Snippets we need a voice

  60. 1:49

    to narrate it and we need some kind of

  61. 1:51

    program to render an actual video the

  62. 1:52

    first thing I did was give gpt4 access

  63. 1:54

    to puppets here a headless browser

  64. 1:56

    that's often used for web scraping the

  65. 1:58

    video script contains a bunch of code

  66. 1:59

    code Snippets and for each one of them I