Variables allow you to create customizable videos at scale. This can be achieved through the API, but can also be done through Synthesia. To start using variables in your video you will need to save it as a template.
To add a variable to your script:
Right-click in the script box to open the options menu.
Select Variable.
Provide a name for the variable.
If necessary, set the default value.
To add a variable to a media asset:
Select the media element on the canvas.
Within the Inspector panel on the right hand side, click the three dots next to the media settings.
Select Add Variable.
Provide a name for the variable.
The current media element will be the default value.
To create a variable for a text element:
Add a text element to the canvas.
Type the name of your variable and enclose with two curly brackets on either side.
Add two curly brackets, the variable name, and close with two curly brackets:
{{variable_name}}
No default value can be set, so you will have to provide the variable value each time.
To save your video as a template:
Select Generate in the top right-hand side.
Add a Title and Description, if needed.
Select Generate, and you will be prompted to convert your video to template.
Select Convert.
Click Publish template.
You can find your template in the Template section of Library.
Notes:
Variables can be added to a script, images, videos, and text elements.
Any videos with variables require being converted into a template.