SL LLMs icon

SL LLMs

StrangeLogic LLM Node

Overview

This node, named "StrangeLogic LLM Node," provides two main operations: generating text using large language models (LLMs) and processing videos via an external API. The focus here is on the Process Video operation.

In the Process Video operation, the node accepts a video URL and a prompt, then sends these to an external service endpoint dedicated to video processing. The service presumably analyzes or processes the video based on the prompt and returns a JSON response with the results.

Practical Use Cases

  • Automatically extracting insights or summaries from video content by providing a descriptive prompt.
  • Analyzing video data for specific information or metadata extraction.
  • Integrating video understanding capabilities into automated workflows without manual intervention.

Properties

Name Meaning
Video URL The URL of the video that you want the node to process.
Prompt A textual prompt describing what you want the model or service to do with the video.

Note: The Model Type property is not applicable for the "Process Video" operation and thus hidden in this context.

Output

The output is a single JSON object containing the response from the external video processing API. This JSON typically includes the processed data or analysis results related to the input video and prompt.

Example structure:

{
  "result": "...",
  "metadata": { ... },
  "error": "..." // if any error occurred
}

If an error occurs during the API request, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authentication with the external StrangeLogic AI API.
  • The node makes HTTP POST requests to the /process-video endpoint of the configured API domain.
  • Proper network access to the external API endpoint is necessary.
  • The user must provide a valid video URL accessible by the API service.

Troubleshooting

  • No credentials returned!
    This error indicates missing or misconfigured API credentials. Ensure that the required API key credential is set up correctly in n8n.

  • API request failures (network errors, invalid URL, etc.)
    These errors occur if the video URL is invalid, inaccessible, or if there are connectivity issues with the external API. Verify the video URL and network connectivity.

  • Error responses from the API
    If the API returns an error, it will be included in the output JSON under the error field. Review the error message for details and adjust the prompt or video URL accordingly.

  • Continue On Fail behavior
    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 provided in the source code. For more information, consult the StrangeLogic AI API documentation or your API provider's resources.

Discussion