Generating using a template
Last updated
Was this helpful?
Last updated
Was this helpful?
To generate a video based on a template:
Head over to Colossyan and create your desired video draft using our web-based studio
Once you are done, click on the "Generate" button on the top right corner of your editor, than in the dialog appeared click "Export to API"
On the top right corner of the appearing dialog click "Save job as a template" and make note of the appearing ID. This is the ID of your template job, you can send this id with your request to start generate the video.
Keep in mind: 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 request using the API endpoint below.
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.