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§
readonly audio Urls?: stringreadonly binary Property Name?: stringName of the binary field(s) which contains the audio(s), seperate multiple field names with commas Default: "data"
readonly built In Tools?: { ... }Default: {}
readonly display Name?: stringA human-readable name for the File Search store
readonly document Urls?: stringURL(s) of the document(s) to analyze, multiple URLs can be added separated by comma
readonly file Search Store Name?: stringThe full name of the File Search store to delete (format: fileSearchStores/...)
readonly file Url?: stringURL of the file to upload
readonly force?: booleanWhether to delete related Documents and objects. If false, deletion will fail if the store contains any Documents.
readonly images?: { ... }Add one or more binary fields to include images with your prompt Default: {"values":[{"binaryPropertyName":"data"}]} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Image"}
readonly image Urls?: stringURL(s) of the image(s) to analyze, multiple URLs can be added separated by comma
readonly input Type?: "url" | "binary"Default: "url"
readonly json Output?: booleanWhether to attempt to return the response in JSON format
readonly messages?: { ... }Default: {"values":[{"content":""}]} Type options: {"sortable":true,"multipleValues":true}
readonly model Id?: { ... }Default: {"mode":"list","value":""}
readonly operation?:
| "edit"
| "upload"
| "analyze"
| "generate"
| "message"
| "download"
| "transcribe"
| "createStore"
| "deleteStore"
| "listStores"
| "uploadToStore"Default: "transcribe"
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: {}
readonly page Size?: numberMaximum number of File Search stores to return per page (max 20) Default: 10 Type options: {"minValue":1,"maxValue":20}
readonly page Token?: stringToken from a previous page to retrieve the next page of results
readonly prompt?: stringInstruction describing how to edit the image Type options: {"rows":2}
readonly resource?:
| "file"
| "video"
| "document"
| "image"
| "text"
| "audio"
| "fileSearch"Default: "text"
readonly return As?: "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"
readonly simplify?: booleanWhether to simplify the response or not Default: true
readonly text?: stringDefault: "What's in this audio?" Type options: {"rows":2}
readonly url?: stringThe URL from Google Gemini API to download the video from
readonly video Urls?: stringURL(s) of the video(s) to analyze, multiple URLs can be added separated by comma
URL(s) of the audio(s) to analyze, multiple URLs can be added separated by comma