Interface GoogleGeminiNodeParameters

Source
interface GoogleGeminiNodeParameters {
    audioUrls?: string;
    binaryPropertyName?: string;
    builtInTools?: {
        codeExecution?: boolean;
        fileSearch?: {
            fileSearchStoreNames: string;
            metadataFilter?: string;
        };
        googleMaps?: { latitude?: number; longitude?: number };
        googleSearch?: boolean;
        urlContext?: boolean;
    };
    displayName?: string;
    documentUrls?: string;
    fileSearchStoreName?: string;
    fileUrl?: string;
    force?: boolean;
    images?: { values: { binaryPropertyName?: string }[] };
    imageUrls?: string;
    inputType?: "url" | "binary";
    jsonOutput?: boolean;
    messages?: {
        values: {
            content?: string;
            role?: "user" | "model";
        }[];
    };
    modelId?: { mode: "id"
    | "list"; value: string };
    operation?:
        | "edit"
        | "upload"
        | "analyze"
        | "generate"
        | "message"
        | "download"
        | "transcribe"
        | "createStore"
        | "deleteStore"
        | "listStores"
        | "uploadToStore";
    options?: | { maxOutputTokens?: number }
    | { endTime?: string; startTime?: string }
    | { binaryPropertyOutput?: string }
    | {
        binaryPropertyOutput?: string;
        sampleCount?: number;
    }
    | {
        candidateCount?: number;
        codeExecution?: boolean;
        frequencyPenalty?: number;
        includeMergedResponse?: boolean;
        maxOutputTokens?: number;
        maxToolsIterations?: number;
        presencePenalty?: number;
        systemMessage?: string;
        temperature?: number;
        thinkingBudget?: number;
        topK?: number;
        topP?: number;
    }
    | {
        aspectRatio?: "16:9"
        | "9:16";
        binaryPropertyOutput?: string;
        durationSeconds?: number;
        personGeneration?:
            | "dont_allow"
            | "allow_adult"
            | "allow_all";
        sampleCount?: number;
    };
    pageSize?: number;
    pageToken?: string;
    prompt?: string;
    resource?: | "file"
    | "video"
    | "document"
    | "image"
    | "text"
    | "audio"
    | "fileSearch";
    returnAs?: "url"
    | "video";
    simplify?: boolean;
    text?: string;
    url?: string;
    videoUrls?: string;
}

Properties§

Source§

readonly audioUrls?: string

URL(s) of the audio(s) to analyze, multiple URLs can be added separated by comma

Source§

readonly binaryPropertyName?: string

Name of the binary field(s) which contains the audio(s), seperate multiple field names with commas Default: "data"

Source§

readonly builtInTools?: {
    codeExecution?: boolean;
    fileSearch?: {
        fileSearchStoreNames: string;
        metadataFilter?: string;
    };
    googleMaps?: { latitude?: number; longitude?: number };
    googleSearch?: boolean;
    urlContext?: boolean;
}

Default: {}

Source§

readonly displayName?: string

A human-readable name for the File Search store

Source§

readonly documentUrls?: string

URL(s) of the document(s) to analyze, multiple URLs can be added separated by comma

Source§

readonly fileSearchStoreName?: string

The full name of the File Search store to delete (format: fileSearchStores/...)

Source§

readonly fileUrl?: string

URL of the file to upload

Source§

readonly force?: boolean

Whether to delete related Documents and objects. If false, deletion will fail if the store contains any Documents.

Source§

readonly images?: { values: { binaryPropertyName?: string }[] }

Add one or more binary fields to include images with your prompt Default: {"values":[{"binaryPropertyName":"data"}]} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Image"}

Source§

readonly imageUrls?: string

URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma

Source§

readonly inputType?: "url" | "binary"

Default: "url"

Source§

readonly jsonOutput?: boolean

Whether to attempt to return the response in JSON format

Source§

readonly messages?: { values: { content?: string; role?: "user" | "model" }[] }

Default: {"values":[{"content":""}]} Type options: {"sortable":true,"multipleValues":true}

Source§

readonly modelId?: { mode: "id" | "list"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly operation?:
    | "edit"
    | "upload"
    | "analyze"
    | "generate"
    | "message"
    | "download"
    | "transcribe"
    | "createStore"
    | "deleteStore"
    | "listStores"
    | "uploadToStore"

Default: "transcribe"

Source§

readonly options?:
    | { maxOutputTokens?: number }
    | { endTime?: string; startTime?: string }
    | { binaryPropertyOutput?: string }
    | {
        binaryPropertyOutput?: string;
        sampleCount?: number;
    }
    | {
        candidateCount?: number;
        codeExecution?: boolean;
        frequencyPenalty?: number;
        includeMergedResponse?: boolean;
        maxOutputTokens?: number;
        maxToolsIterations?: number;
        presencePenalty?: number;
        systemMessage?: string;
        temperature?: number;
        thinkingBudget?: number;
        topK?: number;
        topP?: number;
    }
    | {
        aspectRatio?: "16:9"
        | "9:16";
        binaryPropertyOutput?: string;
        durationSeconds?: number;
        personGeneration?:
            | "dont_allow"
            | "allow_adult"
            | "allow_all";
        sampleCount?: number;
    }

Default: {}

Source§

readonly pageSize?: number

Maximum number of File Search stores to return per page (max 20) Default: 10 Type options: {"minValue":1,"maxValue":20}

Source§

readonly pageToken?: string

Token from a previous page to retrieve the next page of results

Source§

readonly prompt?: string

Instruction describing how to edit the image Type options: {"rows":2}

Source§

readonly resource?:
    | "file"
    | "video"
    | "document"
    | "image"
    | "text"
    | "audio"
    | "fileSearch"

Default: "text"

Source§

readonly returnAs?: "url" | "video"

Whether to return the video as a binary file or a URL that can be used to download the video later Default: "video"

Source§

readonly simplify?: boolean

Whether to simplify the response or not Default: true

Source§

readonly text?: string

Default: "What's in this audio?" Type options: {"rows":2}

Source§

readonly url?: string

The URL from Google Gemini API to download the video from

Source§

readonly videoUrls?: string

URL(s) of the video(s) to analyze, multiple URLs can be added separated by comma