Actions2
Overview
This node, named "StrangeLogic LLM Node," provides two main operations: generating text responses from a large language model (LLM) and processing videos via an API. The "Process Video" operation allows users to submit a video URL along with a prompt to an external service that processes the video content and returns a response.
Typical use cases for the "Process Video" operation include:
- Analyzing or extracting information from videos by providing a descriptive prompt.
- Automating video content understanding or summarization.
- Integrating video processing capabilities into workflows where video URLs are dynamically provided.
For example, a user might input a video URL of a lecture and a prompt asking for a summary of key points. The node sends this data to the external API and returns the processed result.
Properties
| Name | Meaning |
|---|---|
| Video URL | URL of the video to be processed. |
| Prompt | A prompt that you want the LLM to respond to, used here as context or instructions for video processing. |
Note: The "Model Type" property is not applicable for the "Process Video" operation and thus hidden in this context.
Output
The output JSON contains the response returned by the external API after processing the video. It typically includes structured data or analysis results related to the video content based on the prompt provided.
Example structure of the output JSON:
{
"json": {
// API response fields, e.g.:
"result": "...",
"metadata": { ... }
}
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential to authenticate requests to the external StrangeLogic AI API.
- The node makes HTTP POST requests to the
/process-videoendpoint of the configured API domain. - Network connectivity to the external API service is necessary.
- Timeout for the request is set to 120 seconds.
Troubleshooting
No credentials returned!
This error occurs if the required API authentication token is missing or not configured properly in n8n credentials. Ensure the API key credential is set up correctly.Request timeout or network errors
Since the video processing can take time, network issues or slow responses may cause timeouts. Verify network connectivity and consider increasing timeout settings if possible.API error messages
If the external API returns an error, it will be included in the node's output JSON under anerrorfield. Review the error message for details such as invalid video URL, unsupported formats, or prompt issues.Continue on Fail option
If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.
Links and References
- No direct links available from the source code. For more information, consult the StrangeLogic AI API documentation or your API provider's resources.
