Actions2
Overview
This node, named "SL LLMs," provides two main operations: generating text using large language models (LLMs) and processing videos via an external video processing service. The "Process Video" operation accepts a video URL and sends it to a remote API endpoint for processing.
The node is useful in scenarios where users want to analyze or extract information from videos programmatically within an n8n workflow. For example, it could be used to transcribe video content, generate summaries, detect objects/scenes, or perform other AI-driven video analyses by leveraging the external service.
Properties
| Name | Meaning |
|---|---|
| Video URL | URL of the video to be processed. |
| Model Type | Not applicable for "Process Video" operation. (Listed but hidden when operation is "video") |
Note: The "Model Type" property is defined but hidden when the "Process Video" operation is selected, so it does not apply here.
Output
The output JSON contains the response returned by the external video processing API at:
https://k8fm9r7b-8000.uks1.devtunnels.ms/process-video
The structure of the output JSON depends on that API's response format. If the request fails and "Continue On Fail" is enabled, the output will contain an error message under json.error.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential (referred generically as "an API key credential") to authenticate requests.
- Sends HTTP POST requests to a fixed external video processing endpoint.
- The node expects the external service to accept JSON with fields
prompt(a user message) andvideoUrl(the video URL). - No additional environment variables or configurations are indicated.
Troubleshooting
Common issues:
- Missing or invalid API credentials will cause the node to throw an error "No credentials returned!".
- Network errors or invalid video URLs may cause the HTTP request to fail.
- If the external video processing service is down or unreachable, the node will throw an error unless "Continue On Fail" is enabled.
Error messages:
- Errors from the HTTP request are caught and either thrown as node errors or returned in the output JSON under
error. - To resolve errors, verify the API key credential, ensure the video URL is accessible, and confirm the external service endpoint is operational.
- Errors from the HTTP request are caught and either thrown as node errors or returned in the output JSON under
Links and References
- No direct links provided in the source code.
- For more details on the external video processing API, consult the service provider's documentation if available.
