VideoDB icon

VideoDB

Interact with the VideoDB API

Overview

This node integrates with the VideoDB API to perform video-related operations, specifically generating videos based on user input. It is useful for automating video creation workflows where users want to generate videos dynamically from prompts and collections of media assets. For example, a marketing team could use this node to automatically create promotional videos by specifying a collection of media and a descriptive prompt, optionally setting the duration and a callback URL for asynchronous processing.

Properties

Name Meaning
Collection Name or ID Select a media collection from VideoDB or specify its ID. This collection provides the source assets for video generation.
Prompt A text description or instruction that guides the content or style of the generated video.
Duration The desired length of the generated video in seconds.
Callback URL An optional URL to receive a callback notification once the video generation process completes.

Output

The node outputs JSON data containing the response from the VideoDB API after requesting video generation. This typically includes metadata about the generated video such as its ID, status, and possibly URLs to access the video. The output does not explicitly handle binary data; it focuses on JSON responses describing the video generation result.

Dependencies

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

Troubleshooting

  • Common issues:
    • Invalid or missing API key will cause authentication failures.
    • Incorrect collection ID or prompt may lead to errors or empty results.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:
    • Authentication errors usually indicate invalid credentials; verify the API key.
    • "Collection not found" or similar errors suggest the specified collection ID does not exist.
    • Timeout or connection errors require checking network access and API availability.

Links and References

Discussion