Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Resources → Render Subtitle.

AI-generated

Summary

Fetches and renders a subtitle resource by its unique identifier in a specified subtitle file format.

Inputs

  • Authentication — Select the authentication method to use: OAuth2 or API Key.
  • Subtitle (required) — The unique identifier of the subtitle to render.
  • Format (required) — The subtitle file format to render. Supported values include 'srt', 'vtt', 'sub', 'stl', 'sbv', 'json', 'txt', 'dxfp', and 'ttml'.
  • Return Full Response — Whether to return the full API response or just the rendered subtitle content.

Output shape

A JSON object or raw subtitle content depending on the 'Return Full Response' option.

If 'Return Full Response' is set to true, the output includes full API response details; otherwise, only the rendered subtitle content is returned.

Examples

Example 1: Rendering subtitle in SRT format with OAuth2 authentication.

Provide the subtitle ID, choose 'srt' as format, select OAuth2 authentication, and optionally toggle full response return.

Links

Discussion