Last updated
Last updated
Follow the next steps to generate your first video using Colossyan's API.
Grab your token as described in the page.
Send your first request
In the snippet above, we post a new video generation job. Let's walk through what you should expect the generated video to look like.
The videos name will be My first video.
It will have a width of 1920px and a height of 1080px.
It will consist of a single scene
We added an actor track to it, with the actor being karen.
We configured the actor to say This is my first video generated with Colossyan! Amazing! using the voice of aquXcfLbkxpW4BBI5qKm.
The actor is set to be 1080px * 1080px in size and it's top-left will be in the (420;0) coordinates, counting from the top-left, resulting in the actor being in the middle of the video.
If you successfully sent the request, you should have received two things in return.
An id
that you can use to delete or request status updates on the job
A videoId
that you'll be able to query the generated video with once it's ready.
Navigate to the workspace where you have created your API key. You should see the video generate. Once it's ready, it should look exactly like this
Congratulations! 🎉 You just generated your first video using our API!
Generating the payloads for complex videos can get very complicated, very quickly (multiple scenes, and images and videos etc...). To get ahead of this, we provide a way to export the request body from the Colossyan video editor.
This way you can use our UI to craft your video templates easily, and then customize them at the last mile.