Learn how to use the Creatify.ai Custom Templates API to generate videos using custom templates and data.
avatar_id
is the unique identifier of an avatar. You can get the avatar_id
by calling the Get avatar endpoint.
{{variable_name}}
syntax to specify variable content replacement. The default content will be an empty string.
Example: Text Content Replacement
If your project contains a text element with the content: Welcome to {{company_name}}!
When generating the video, you can pass the variable in the API request as follows:
Welcome to Creatify Inc.!
If company_name
variable is not provided in the variables, the resulting text in the video will be: Welcome to !
voice_id
is the unique identifier of the voice. You can get the voice_id by calling the Get voices interface.
done
, you can download the video, the link of the video is in the video_output
field.