In this no-code tutorial, you'll learn how to create AI-generated videos for social media using ChatGPT (GPT-4) and video automation.
Undoubtedly, ChatGPT has brought about a significant transformation in how we approach automation. With its capacity to produce text that is almost indistinguishable from human writing, ChatGPT has found numerous applications across diverse sectors, including marketing, customer service, and content creation. And now, there's yet another reason to be excited about ChatGPT – it can aid you in creating videos as well! By simply providing a topic, you can easily generate compelling content that can be transformed into captivating videos. This is well-suited for a variety of video types, ranging from product demos to social media videos, marketing campaigns to storytelling, and more.
The aim of this tutorial is to show you how to use ChatGPT to create social media videos, focusing on producing a collection of quote videos. However, you can use this technique for any video automation as long as it sticks to a specified format.
Below is an example of an auto-generated video. This video is generated from content written by ChatGPT, which is then converted to a video using a video API. Regardless, if you would like to generate a completely different video using AI, the template editor enables you to do so.
Rather than using a spreadsheet to generate videos, you can set up a completely automated workflow. To do that, take a look at these articles:
👉 How to use ChatGPT to auto-create social media content with Zapier
👉 Using ChatGPT's API to auto-create social media videos by code.
Here are the tools we'll use:
First, we'll ask ChatGPT to generate a bunch of quotes for us, which we'll save as a CSV file using Google Sheets. After that, we'll create a template in Creatomate that will serve as the foundation for our videos. Then, we'll create a feed, which is essentially a spreadsheet that generates videos based on a template and data. Here, we'll import the CSV file with our quotes. Finally, with just a few clicks, we'll generate the videos and download them to our device.
Let's get started!
Log in to your ChatGPT account. Start a new conversation and send the following prompt:
“Could you please give me a CSV file containing 30 quotes about productivity? It would be great if there were two columns, one for the author and another for the quote. The quote should only contain one sentence”.
In response, ChatGPT will generate a list of quotes. Here's an example:
Since ChatGPT is an AI language model, it is not able to generate a downloadable CSV file. So, we have to copy and paste the response into a spreadsheet tool, like Google Sheets, and then download the file with a .csv extension.
To do that, click Copy code. Now, open a new Google Sheets document and paste the ChatGPT response in the first cell. Then, from the Data tab, click Split text to columns. To download it, go to the File tab, click Download, and select the Comma-separated values (.csv) option.
A CSV file will be downloaded to your device. We'll use it later. Let's make a template first.
Log in to your Creatomate account and navigate to the Templates page. Click + New to browse the template gallery. You can pick any template you like or design your own from scratch. But for this tutorial, let's use the Big Quote w/ Image template from the Quote category. Let's go with 1:1 Square for now, but you can pick any size that suits your needs. Click Create Template to open it in the editor:
As you can see from the left side panel, our template consists of three elements. Among them, the Quote and Name are marked as dynamic. This means we can replace their content with other text values through the feed we're about to create:
If you wish, you can customize the template in any way you like. You can, for instance, change the background image to one more appropriate to the quotes' subject matter. To do this, select the image element, right-click to select Replace Media, and select a file from your device:
Tip: It is also possible to provide each video with a different image. Rather than replacing the image in the template, make this element dynamic in the right side panel. This will add an extra column to the feed we'll create next, so you can upload an image for each row.
Next, we'll create a feed.
Click the Use Template button at the top right of the template editor. Click on Spreadsheet to Video and select Create new feed. After clicking Continue, we'll be taken to the newly created feed:
You can think of the feed as a spreadsheet for video generation. As you can see, the template's dynamic elements are mapped to the columns of the feed: Name and Quote. When we import our CSV, each row will become a unique video.
Start by clicking Import Data and select the CSV file we've downloaded in step 1. Next, make sure the columns of the CSV are mapped to the corresponding columns in the feed, then click Continue. It is recommended to select a merge column with unique data, such as Name, before proceeding. Click Continue once more. Click Import Data on the summary screen to add your quotes to the feed:
When the import is completed, make sure to click Save. The status column updates from Unsaved Row to No Render, indicating that the data in the feed has been saved, but the videos have not yet been rendered:
In the next step, we'll generate the videos and download them to our device.
On the right side of the feed, we can see a preview of the final video for each row. If the preview looks fine, click Create render to generate it. The video is ready when the status is Rendered:
There is an even easier way to render multiple videos at once, and that's by selecting the corresponding rows, clicking × Rows Selected, and clicking Create Renders:
We can now download these videos by clicking × Rows Selected, then Download Renders. You can choose a file name by selecting a column, like Name, and click Download. A ZIP file will be downloaded to your device:
Tip: A single video can be downloaded by clicking the Download render button below its preview.
That's it! With just four simple steps, you've created videos using ChatGPT. In this tutorial, we demonstrated how to create videos for quotes, but this is just one idea. By using a different template and prompt, you can generate various types of videos.
Additionally, it's possible to fully automate the process of video generation instead of relying on a spreadsheet. You can achieve this by setting up a no-code workflow using Zapier or integrating with the API. To assist you in getting started, we've created three tutorials. Check ‘em out: