Authenticating Request

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

Creating a Project

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-us"
}

The expected response will be:

{
  "success": true,
  "projectId": "project-id"
}

Accepted file containers: mp4.

Generating Video with Subtitles

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:

{
  "projectId": "project-id",
  "highlightColor": "#04FC31"
}

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.