Generate track subtitle

This endpoint allows you to generate subtitles for an existing audio track in a media file. By calling this API, you can generate subtitles automatically using speech recognition

How it works

  1. Send a POST request to this endpoint, replacing {mediaId} with the media ID and {trackId} with the track ID.

  2. Provide the necessary details in the request body, including the languageName and languageCode.

  3. You receive a response containing a unique subtitle track ID and its details.

Webhook Events

  1. After the subtitle track is generated and ready, you receive the webhook event video.media.subtitle.generated.ready.

  2. Finally the video.media.updated event notifies your system about the media’s updated status.


Related guide: Add auto-generated subtitles

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!