Actions2
Overview
This node, named "SL LLMs" (StrangeLogic LLM Node), provides two main operations: generating text responses using large language models (LLMs) and processing videos via an external video processing service.
For the Process Video operation, the node accepts a video URL and a prompt, sends these to a remote video processing API, and returns the processed results. This is useful for scenarios where you want to analyze or extract information from videos using AI-powered services, such as summarizing video content, extracting metadata, or generating captions based on the video and a user prompt.
Practical examples include:
- Automatically generating summaries or insights from educational or marketing videos.
- Extracting key moments or highlights from long video files.
- Enhancing video content with AI-generated annotations or descriptions.
Properties
| Name | Meaning |
|---|---|
| Video URL | The URL of the video file that you want the node to process. |
| Prompt | A textual prompt or instruction related to the video processing task. |
Note: The Model Type property is not applicable for the "Process Video" operation and thus hidden in this context.
Output
The node outputs a JSON object containing the response from the video processing API. This typically includes the processed data or analysis results derived from the input video and prompt.
The output structure is:
{
"json": {
// Response data returned by the video processing API
}
}
If an error occurs during the request, the output JSON will contain an error field with the error message.
The node does not output binary data for the video processing operation.
Dependencies
- Requires an API key credential for authentication with the external AI service.
- Sends HTTP POST requests to a fixed external endpoint (
https://k8fm9r7b-8000.uks1.devtunnels.ms/process-video) for video processing. - The node expects the external service to accept JSON payloads with
promptandvideoUrlfields and return JSON responses.
Troubleshooting
No credentials returned!
This error indicates that the required API key credential was not provided or configured correctly. Ensure that the API key credential is set up in n8n before running the node.Request errors when calling the video processing API
Network issues, invalid video URLs, or server-side problems can cause request failures. Check the video URL validity and network connectivity. If the external service is down or unreachable, the node will throw an error unless "Continue On Fail" is enabled.Invalid or empty video URL
Providing an incorrect or empty video URL may result in errors or unexpected responses from the video processing API. Verify the URL points to a valid accessible video resource.Unexpected response format
If the external API changes its response format, the node's output might not be as expected. In such cases, review the API documentation or contact the service provider.
Links and References
- No direct links are embedded in the code. For more information about the external video processing API, consult the service provider associated with the endpoint
https://k8fm9r7b-8000.uks1.devtunnels.ms/process-video. - General n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/
