Actions2
Overview
This node integrates with StrangeLogic's LLM (Large Language Model) API to perform two main operations: generating text based on a prompt and processing videos via a provided video URL. It is useful for automating content generation, video analysis, or extracting insights from video content using AI models. For example, users can generate creative text responses or analyze video content by providing a URL and a prompt.
Use Case Examples
- Generating creative text responses from a prompt using a selected AI model.
- Processing a video by providing its URL and a prompt to extract or analyze content.
Properties
| Name | Meaning |
|---|---|
| Video URL | URL of the video to be processed, used when the operation is 'Process Video'. |
| Model Name or ID | The AI model to use for text generation, selected from a list or specified by ID, required for text generation operation. |
| Prompt | The input prompt or message that the LLM will respond to, used in both text generation and video processing operations. |
Output
JSON
json- The JSON response from the API call, containing either the generated text or the processed video data.
Dependencies
- Requires an API key credential for authentication with the StrangeLogic AI API.
Troubleshooting
- Common issues include missing or invalid API credentials, which will cause the node to throw an error 'No credentials returned!'.
- API request failures due to network issues or invalid parameters will result in error messages from the API being returned in the node output if 'Continue On Fail' is enabled, otherwise the node execution will stop with an error.
- Ensure the 'Video URL' is valid and accessible when using the 'Process Video' operation to avoid processing errors.
Links
- n8n Expressions Documentation - Documentation on how to use expressions in n8n, useful for dynamically setting the Model Name or ID.
