Actions37
- Index Spoken Words
- Get Transcript
- Search in a Video
- Generate Stream
- Index Scenes
- List Scene Indexes
- Get Scene Index
- Delete Scene Index
- Add Subtitle
- Generate Audio URL
- Generate Image URL
- Create Collection
- Download
- Get Collection
- Update Collection
- YouTube Search
- Delete Audio
- Delete Image
- Delete Video
- Delete Collection
- Dub Video
- Generate Image
- Generate Music
- Generate Sound Effect
- Generate Voice
- Generate Video
- Generate Text
- Get Audio
- Get Audios
- Get Image
- Get Images
- Get Video
- Get Videos
- Search in a Collection
- Upload
- Record Meeting
- Get Meeting
Overview
This node integrates with the VideoDB API to retrieve various media assets such as videos, audios, and images from specified collections. Specifically, the "Get Image" operation fetches a particular image by its name or ID within a chosen collection. This is useful for workflows that need to dynamically access and process media content stored in VideoDB collections, such as automating media retrieval for publishing, archiving, or further processing.
Practical examples include:
- Automatically fetching a specific image from a media collection to use in social media posts.
- Retrieving images for inclusion in reports or newsletters.
- Integrating with other systems that require media assets identified by collection and image IDs.
Properties
| Name | Meaning |
|---|---|
| Collection Name or ID | Select or specify the ID of the collection containing the desired image. |
| Image Name or ID | Select or specify the name or ID of the image to retrieve from the selected collection. |
The "Collection Name or ID" property loads available collections dynamically from the VideoDB API. The "Image Name or ID" property depends on the selected collection and lists images within it for selection.
Output
The node outputs an array with one item per input item processed. Each output item contains a json field holding the raw response data from the VideoDB API for the requested image. This JSON includes all metadata and details about the image as returned by the API.
If the API provides binary data (e.g., the actual image file), it would typically be included in the output's binary property; however, based on the static code, this node returns only JSON data representing the image metadata and not the binary image content itself.
Dependencies
- Requires an API key credential for authenticating with the VideoDB API.
- The base URL for the API defaults to
https://api.videodb.iobut can be customized via credentials. - Uses HTTP requests with authentication to communicate with the VideoDB API endpoints.
Troubleshooting
- Missing or invalid API key: The node requires a valid API key credential. Ensure the API key is correctly configured in n8n credentials.
- Invalid collection or image ID: Selecting or specifying a non-existent collection or image ID will result in errors or empty responses. Use the dynamic dropdowns to select valid options or verify IDs manually.
- Network issues or API downtime: Connectivity problems or VideoDB service outages will cause request failures. Check network connectivity and VideoDB service status.
- Permission errors: If the API key lacks permissions for the requested collection or resource, the API may return authorization errors.
Common error messages usually relate to authentication failures, resource not found, or malformed requests. Verifying credentials, input parameters, and API availability typically resolves these issues.
Links and References
- VideoDB API Documentation (assumed URL based on base URL)
- n8n Expressions Documentation - for using expressions in property fields