To authenticate your request, you need to include the X-API-Key as a header in every API call. You can find your API key under the team settings page at https://slick.is/team-settings.
Make sure to add the X-API-Key header with your API key value in each request you send to the Slick API.
For example:
X-API-Key: your-api-key
Your API key can be found under team settings page https://slick.is/team-settings
To create a project, send a POST request to https://slick.is/api/project/create. Include the X-API-Key as a header, which can be found on your team settings page. In the request body, send the videoUrl in the following format:
{
"videoUrl": "<https://your-video-url.mp4>",
"language": "en",
"theme": "hormozi_1",
"videoLengthInSeconds": 70,
}
The expected response will be:
{
"success": true,
"projectId": "project-id"
}
Accepted file containers: mp4.
To render the video with styled captions, send a POST request to https://slick.is/api/project/render. This request also requires the X-API-Key in the header. The request body should include the projectId and highlightColor in the following format:
Available theme enums: highlight | reveal | shimmy | cray | cyberpunk |ali | cursor | hormozi_1 | hormozi_2 | iman | david | devin | mr_beast_1 | mr_beast_2 | dhruv | noah
Looking to override caption styles or adjust frame position? Refer to Customising Caption Styles & Customising Frame Properties
{
"projectId": "project-id",
"theme": "hormozi_1"
}
The expected response will be:
{
"success": true,
"renderedVideoUrl": "<https://s3.us-east-1.amazonaws.com/your-rendered-video-url.mp4>"
}
The renderedVideoUrl refers to the S3 URL of the final rendered video that includes the styled subtitles.
When creating or updating a project, captionStyles object can be specified to override the default theme properties