In this tutorial we will use JSON2Video API and Make.com to create a small no-code application that turns text into a video with AI. You can create your own videos with this text to video API.

The application will use Airtable as a database to store the text, Make.com to automate the process and JSON2Video API to generate the videos.

JSON2Video API integrates with Flux Pro to generate images and ElevenLabs to generate voices.

Example of a video generated in this tutorial

Text to video prompt Resulting video

What Schools Don’t Teach You About Money: Filling in gaps in traditional education with financial literacy basics.

Create the Text to Video app

Step 1: Create an Airtable base

First we need to create an Airtable base to manage the list of videos to generate. You can clone the following base and then edit it to manage your own list of videos:

Text to video Airtable base

Clone the Text to video Airtable base

Step 2: Create the Make.com scenario

Now we need to create the Make.com scenario that will be used to generate the videos.

Text to video Make.com scenario

Download the scenario blueprint

Once you have downloaded the blueprint, you can import it into a new scenario in your Make.com account.

Step 3: Configure the connections

Now we need to configure the connections to your Airtable account and JSON2Video API:

Generate your first video from text

Once you have configured the connections, you can start generating videos:

Step 1: Add a new record to the Airtable base

Text to video Airtable base with new record

Step 2: Run the scenario in Make.com

Run the scenario in Make.com by clicking on the Run button.

The scenario will take a few minutes to complete.

Step 3: Check the Airtable base

Check now the Airtable base, and the Status field should have been changed to Done and the VideoURL field should have been populated with the video URL.

Examples

Here are some examples of videos generated with the text to video app:

Prompt Video

10 Kitchen Hacks That Will Change the Way You Cook: Innovative tips to simplify cooking and food preparation.

Cleopatra Lived Closer to the Moon Landing Than the Pyramids: A mind-blowing perspective on historical timelines

How Rich People Avoid Taxes (Legally): Explaining strategies like trusts, deductions, and loopholes.

How the app works

Let's dive into the details of the Make scenario and how it works.

Understanding the video template

The template used in this example defines the design of the output video and the variables that will be replaced by the JSON2Video API.

Text to video video template

Open the video template

The template defines a vertical video, with a background image, an animation at the bottom, an overlaid text and a voice over.

The template receives 2 variables:

The scene (using the iterate property) will be populated for each item in the scenes array, creating a video with as many scenes as the scenes array has items.

Published on November 18th, 2024

Author
David Bosch
David Bosch David is an experienced engineer, now collaborating with JSON2Video.