UNPKG

n8n-nodes-aimlapi

Version:

Custom n8n node for integrating with the AI/ML API platform (AIMLAPI) to interact with LLMs and multimodal AI models such as chat completion endpoints.

12 lines (11 loc) 558 B
import type { IDataObject, IExecuteFunctions } from 'n8n-workflow'; type MediaType = 'audio' | 'video'; interface GenerationOptions { mediaType: MediaType; pollIntervalMs?: number; maxAttempts?: number; } export declare function extractAudioOutputs(payload: unknown): IDataObject[]; export declare function extractVideoOutputs(payload: unknown): IDataObject[]; export declare function resolveGenerationResponse(context: IExecuteFunctions, baseURL: string, path: string, initial: unknown, options: GenerationOptions): Promise<unknown>; export {};