VideoDB icon

VideoDB

Interact with the VideoDB API

Overview

This node integrates with the VideoDB API to interact with video collections and their associated data. Specifically, the "Get Transcript" operation retrieves the transcript of a selected video within a specified collection. This is useful for workflows that need to process or analyze video transcripts, such as generating subtitles, performing text analysis, or archiving video content metadata.

Practical examples include:

  • Automatically fetching video transcripts for content indexing.
  • Using transcripts to generate searchable text for video libraries.
  • Integrating video transcripts into other automation workflows like translation or summarization.

Properties

Name Meaning
Collection Name or ID Select a video collection from a dropdown list or specify its ID via an expression.
Video Name or ID Select a video within the chosen collection from a dropdown list or specify its ID via an expression.
Force Boolean flag indicating whether to force retrieval of a new transcript instead of using cached data.

Output

The node outputs JSON data containing the response from the VideoDB API for the requested transcript. The exact structure depends on the API's response but typically includes the transcript text and related metadata about the video.

No binary data output is indicated by the code.

Example output JSON (conceptual):

{
  "transcript": "Full transcript text here...",
  "videoId": "abc123",
  "collectionId": "col456",
  "language": "en",
  "timestamp": "2024-01-01T12:00:00Z"
}

Dependencies

  • Requires an API key credential for authenticating with the VideoDB API.
  • The base URL defaults to https://api.videodb.io but can be customized in the credential configuration.
  • Uses HTTP requests with authentication to communicate with the VideoDB service.

Troubleshooting

  • Common issues:

    • Invalid or missing API key will cause authentication failures.
    • Selecting a non-existent collection or video ID may result in empty or error responses.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors typically indicate invalid credentials; verify the API key.
    • "Not Found" or similar errors suggest incorrect collection or video IDs; double-check selections.
    • Timeout or connection errors require checking network access and API availability.

Links and References

Discussion