https://www.charlieholtz.com/articles/how-i-make-ai-movies [image] Menu * Projects * Random * Writing * Interviews Making movie trailers with Zeroscope, ElevenLabs, and GPT-4 June 29, 2023 My new favorite hobby is making trailers for films that don't exist. In this blog post, I'll walk you through how I make these AI movies, and how you can too. Bugsy Shadows -- A New York Mystery: Vanderbilt Express by Wes Anderson: Planet Zearth narrated by David Ai-ttenborough (skip to 1:40 for the fight scene): Script It all starts with the script. Like any good AI filmmaker, let's ask ChatGPT for a rough draft. Here's the conversation I had with GPT-4 to create the David Attenborough movie: chatgpt_1 chatgpt_script ChatGPT is a solid starting point, but I find the scripts need a bit of a human touch (I thought it would be funnier if the glow leopard encounters a penguin rather than a fungi). GPT is really good at silly puns. or at least better than me. Here's a chat I had to create a Barbie-Oppenheimer crossover: puns Note that the AI is good at brainstorming a lot of ideas fast. But many of these scripts are missing something that's hard to put a finger on. That's where us humans come in :) Narrator Phase II -- let's bring in a narrator to our production. There are two ways you can do this: the break the terms of service way, and the this is what you're supposed to do way. I shouldn't talk much about the first way, but it may involve finding a YouTube clip of an speaker you like, downloading it as an mp3 using pytube, uploading it into audacity and trimming the best parts, and then uploading to ElevenLabs voice cloning feature. The second way is to use a community generated voice, which are pretty good too. I use [Ixel] Male older American voice, fairly deep too as a narrator for a few of these videos -- he makes a good trailer narrator. ixel Videos + Music + Editing (the fun part) Now comes the fun part: making the videos and music, and stitching everything together. Open up iMovie and start a new movie project. Screenshot 2023-06-29 at 11 40 35 AM Making AI videos is an iterative process. The videos that you create zeroscope are amazing, but also weird, so it helps to make a lot of videos and then keep the best ones. I made a Python script that makes this easy. The script creates X number of videos/music for you and then saves the output locally. It all runs in the background. Then you can open up Finder in the directory where the clips are saved and drag the ones you like into iMovie. Open up a terminal and clone the ai-studio repo: git clone https://github.com/cbh123/ai-studio cd ai-studio Install Replicate: pip install replicate export REPLICATE_API_TOKEN= If you don't have an API token, you can create a Replicate account here. Optionally, change the PROJECT_NAME on line 7 in main.py to a project name of your choice. This tells ai studio where to save your output. Now, you can run the script with this command, and the prompts will save to the ai-studio/videos/ directory: python main.py "prompt for your content" --type