Login

Generate track subtitle

This endpoint allows you to generate subtitles for an existing audio track in a media file using its media ID and track ID. You need to provide the language name and language code in the request payload.

How it works

  1. Send a POST request to /on-demand/{mediaId}/track/{trackId}/generate-subtitles, replacing {mediaId} with the media ID and {trackId} with the track ID.

  2. Provide the necessary details in the request body, including the language name and language code.

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

Webhook Events

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

  2. Finally, an update event video.media.updated will notify your system about the media's updated status.

Use case:
Suppose you have a video uploaded to the FastPix platform, and you want to generate a subtitle track for an existing audio track associated with the media. By calling this API, you can generate subtitles automatically using speech recognition.

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