video-arrow-up-rightGenerating using a template

To generate a video based on a template:

  1. Head over to Colossyan and create your desired video draft using our web-based studio

  2. 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"

circle-info

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 pricing page.arrow-up-right

  1. 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.

circle-exclamation
  1. Now you have everything to send us a video generation request using the API endpoint below.

Create a video generation job from a template

post

Submits a new video generation job using a template

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
templateJobIdstringRequired

The ID of the template job.

dynamicVariablesobjectRequired

Dynamic variables to be loaded into the template.

callbackUrlstring · nullableOptional

URL for the callback after job completion.

callbackPayloadobject · nullableOptional

Callback payload to return with the generated video once it's ready.

Responses
chevron-right
200

Job created successfully

application/json
idstringOptional

The ID of the created video-generation-job.

videoIdstringOptional

The provisioned ID of the generated video.

post
/video-generation-jobs/template-jobs

Last updated

Was this helpful?