get video
To get a video you need to make a GET call to the following url :
http://api.lingopal.ai/video/get
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | The id of the video. |
secret_key | String | Your API key. |
create video
To create a video you need to make a POST call to the following url :
http://api.lingopal.ai/video/create
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
languages | String | Languages to translate to. |
video_link | String | Link to hosted video. |
secret_key | String | Your API key. |
regenerate video
To regenerate a video you need to make a POST call to the following url :
http://api.lingopal.ai/video/regenerate
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | ID of video to regenerate. |
languages | String | Languages to translate to. |
transcript | String | Updated transcript to use. |
secret_key | String | Your API key. |
add languages
To add languages to a video you need to make a POST call to the following url :
http://api.lingopal.ai/video/add-languages
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | ID of video. |
languages | String | Languages to add. |
secret_key | String | Your API key. |
delete video
To delete a video you need to make a DELETE call to the following url :
http://api.lingopal.ai/video/delete
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | The id of the video. |
secret_key | String | Your API key. |
get transcript
To get a transcript for a video you need to make a GET call to the following url :
http://api.lingopal.ai/transcript/get
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | ID of video that transcript belongs to. |
languages | String | Language of transcript. |
secret_key | String | Your API key. |
get subtitles
To get a subtitle .vtt file for a video you need to make a GET call to the following url :
http://api.lingopal.ai/subtitles/get
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | ID of video that subtitles belong to. |
languages | String | Language of subtitle. |
secret_key | String | Your API key. |
add facial mapping
To add facial mapping to a video you need to make a POST call to the following url :
http://api.lingopal.ai/facialmapping/add
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
video_id | String | The id of the video. |
secret_key | String | Your API key. |
create stream
To create a stream you need to make a POST call to the following url :
http://api.lingopal.ai/stream/create
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
url | String | The url of the stream to ingest. |
languages | String | Languages to translate stream to. |
format | String | Format of stream that will be ingested. |
output_platforms | String | Platforms that the stream should be directed towards. |
lingopal_hosted | Boolean | Lingopal can host the stream for you. |
end stream
To end a stream you need to make a POST call to the following url :
http://api.lingopal.ai/stream/end
QUERY PARAMETERS
Field | Type | Description |
---|---|---|
stream_id | String | The ID of the stream. |