Last updated
Last updated
To generate a video based on a template:
Head over to Colossyan and create your desired template video using our web-based studio
You can create dynamic variables in the script on any scene, by simply typing a key between curly braces at any point of the script. For example in the following script... Dear {name}, I have seen that you haven't logged into your account for the past two months. Should we catch up quickly? Since then we released several cool stuff, such as {cool_stuff_1} and {cool_stuff_2}. Let me know if you have a free slot on your calendar next week!
...you have created three dynamic variables:
name
cool_stuff_1
cool_stuff_2
Once you are done, click on the "Export to API" button on the top right corner of your editor
On the top right corner of the appearing popup click "Save job as a template" and make note of the appearing ID. This is the ID of your template job.
The template job ID refers to the state of the draft when you saved it. If later you edit this draft, you'll need to create another template id to represent the changes.
Now you have everything to send us a video-generation-job using the API endpoint below.
Note that this button is only visible if you have a plan which has access to the API. For more information, head over to our
Submits a new video generation job using a template
The ID of the template job.
Dynamic variables to be loaded into the template.
URL for the callback after job completion.
Callback payload to return with the generated video once it's ready.
Job created successfully
The ID of the created video-generation-job.
The provisioned ID of the generated video.