Field | Type | Required | Description |
---|---|---|---|
subtitle | File | Required | The base subtitle file |
second-subtitle | File | Required | The merge subtitle. This file will be glued to the end of the base subtitle. |
glueVideoLength | String | Required | The length of the base video in hh:mm:ss format |
baseSubtitleColor | String | Required | A hex color, for example #ffff54. This color will be applied to text of the base subtitle. If you don't want to color the text, send null. |
mergeSubtitleColor | String | Required | A hex color, for example #ffff54. This color will be applied to text of the merge subtitle. If you don't want to color the text, send null. |
{
errors: null,
download_url: "https://subtitletools.com/api/v1/download/6436c844e3"
}
Or, when a validation error occurs:
{
errors: [
"The subtitle field is required."
],
download_url: null
}