AssemblyAI icon

AssemblyAI

Transcribe audio and video files using AssemblyAI's speech-to-text and speech understanding AI models.

Transcript → Get Subtitles

AI-generated

Overview

This node operation retrieves subtitles for a specified transcript from AssemblyAI. It supports fetching subtitles in different formats (SRT or VTT) and allows customization of the maximum number of characters per caption. This is useful for applications that need to display or process subtitles from audio or video transcriptions, such as video players, accessibility tools, or content analysis platforms.

Use Case Examples

  1. Fetch SRT subtitles for a transcript to display captions in a video player.
  2. Retrieve VTT subtitles with a custom character limit for use in a web-based media player.

Properties

Name Meaning
Transcript ID The unique identifier of the transcript for which subtitles are to be retrieved.
Format The format of the subtitles to retrieve, either SRT or VTT.
Characters Per Caption The maximum number of characters allowed per caption in the subtitle output.

Output

JSON

  • data - The subtitle content returned from AssemblyAI in the requested format.

Dependencies

  • Requires an AssemblyAI API key credential for authentication.

Troubleshooting

  • Ensure the Transcript ID is valid and corresponds to an existing transcript in AssemblyAI.
  • Check that the API key credential is correctly configured and has the necessary permissions.
  • If subtitles are not returned, verify that the transcript has completed processing and subtitles are available.
  • The 'Characters Per Caption' value should be a positive number; invalid values may cause errors.

Links

Discussion