Opencast

Speech to Text Service REST Documentation

/speechtotext
Create subtitles for video or audio clips.

General Notes

Table of Contents

Write methods

Method / Path: POST /speechtotext
Description: Generates subtitles for media files with audio.
Path params: NONE
Required (form) params: mediaFilePath: Location of to the media file.
Optional (form) params: language: Language of the media file.
translate: Enable translation to english
Response formats: text/xml
Status codes: 200: OK, Subtitles created successfully
400: Bad Request, Invalid data
500: Internal Server Error, Internal error
Notes:
  • Return value description: Returns the path to the generated subtitles file.
Testing:
Sample: /speechtotext
Testing form (click to reveal)