n8n-nodes-selfhosthub
Version:
Collection of n8n nodes for self-hosted AI services, including Leonardo.ai integration for AI image and content generation capabilities.
32 lines (31 loc) • 1.03 kB
TypeScript
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
/**
* n8n node for creating videos using the JSON2Video API
*/
export declare class CreateJ2vMovie implements INodeType {
description: INodeTypeDescription;
/**
* Execute the node for each input item
*/
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}
/**
* Extract error message from various error types
*/
export declare function extractErrorMessage(error: unknown): string;
/**
* Extract parameter-specific error messages
*/
export declare function extractParameterErrorMessage(error: unknown): string;
/**
* Extract main error by removing common error prefixes
*/
export declare function extractMainErrorMessage(message: string): string;
/**
* Check if request contains meaningful content
*/
export declare function isEmptyRequest(request: any): boolean;
/**
* Create base return array structure
*/
export declare function createBaseArray(): INodeExecutionData[][];