n8n-nodes-selfhosthub
Version:
Collection of n8n nodes for self-hosted AI services, including Leonardo.ai integration for AI image and content generation capabilities.
22 lines (21 loc) • 1.13 kB
TypeScript
import { IDataObject, IExecuteFunctions, NodeParameterValue } from 'n8n-workflow';
/**
* Helper function to retrieve a parameter value for a given operation and mode
*/
export declare function getParameterValue(this: IExecuteFunctions, parameterName: string, itemIndex?: number, defaultValue?: NodeParameterValue): NodeParameterValue;
/**
* Builds a JSON2Video request body based on provided parameters
*/
export declare function buildRequestBody(this: IExecuteFunctions, operation: string, itemIndex?: number, isAdvancedMode?: boolean): IDataObject;
/**
* Builds the request body for the createMovie operation in basic mode
*/
export declare function buildCreateMovieRequestBody(this: IExecuteFunctions, itemIndex?: number): IDataObject;
/**
* Builds the request body for the mergeVideoAudio operation in basic mode
*/
export declare function buildMergeVideoAudioRequestBody(this: IExecuteFunctions, itemIndex?: number): IDataObject;
/**
* Builds the request body for the mergeVideos operation in basic mode
*/
export declare function buildMergeVideosRequestBody(this: IExecuteFunctions, itemIndex?: number): IDataObject;