interface GoogleGeminiNodeParameters {
audioUrls?: string;
binaryPropertyName?: string;
documentUrls?: string;
fileUrl?: string;
imageUrls?: string;
inputType?: "url" | "binary";
jsonOutput?: boolean;
messages?: {
values: {
content?: string;
role?: "user" | "model";
}[];
};
modelId?: { mode: "id"
| "list"; value: string };
operation?:
| "upload"
| "analyze"
| "generate"
| "message"
| "download"
| "transcribe";
options?: | { maxOutputTokens?: number }
| { endTime?: string; startTime?: string }
| {
binaryPropertyOutput?: string;
sampleCount?: number;
}
| {
candidateCount?: number;
codeExecution?: boolean;
frequencyPenalty?: number;
maxOutputTokens?: number;
maxToolsIterations?: number;
presencePenalty?: number;
systemMessage?: string;
temperature?: number;
topK?: number;
topP?: number;
}
| { binaryPropertyOutput?: string }
| {
aspectRatio?: "16:9" | "9:16";
binaryPropertyOutput?: string;
durationSeconds?: number;
personGeneration?:
| "dont_allow"
| "allow_adult"
| "allow_all";
sampleCount?: number;
};
prompt?: string;
resource?: | "file"
| "video"
| "document"
| "image"
| "text"
| "audio";
returnAs?: "url"
| "video";
simplify?: boolean;
text?: string;
url?: string;
videoUrls?: string;
}
Properties§
Source§readonly binary Property Name?: string
readonly binary Property Name?: string
Name of the binary field(s) which contains the audio(s), seperate multiple field names with commas Default: "data"
Source§readonly document Urls?: string
readonly document Urls?: string
URL(s) of the document(s) to analyze, multiple URLs can be added separated by comma
Source§readonly image Urls?: string
readonly image Urls?: string
URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma
Source§readonly messages?: { values: { content?: string; role?: "user" | "model" }[] }
readonly messages?: { values: { content?: string; role?: "user" | "model" }[] }
Default: {"values":[{"content":""}]} Type options: {"sortable":true,"multipleValues":true}
Source§readonly operation?:
| "upload"
| "analyze"
| "generate"
| "message"
| "download"
| "transcribe"
readonly operation?:
| "upload"
| "analyze"
| "generate"
| "message"
| "download"
| "transcribe"
Default: "transcribe"
Source§readonly options?:
| { maxOutputTokens?: number }
| { endTime?: string; startTime?: string }
| {
binaryPropertyOutput?: string;
sampleCount?: number;
}
| {
candidateCount?: number;
codeExecution?: boolean;
frequencyPenalty?: number;
maxOutputTokens?: number;
maxToolsIterations?: number;
presencePenalty?: number;
systemMessage?: string;
temperature?: number;
topK?: number;
topP?: number;
}
| { binaryPropertyOutput?: string }
| {
aspectRatio?: "16:9" | "9:16";
binaryPropertyOutput?: string;
durationSeconds?: number;
personGeneration?:
| "dont_allow"
| "allow_adult"
| "allow_all";
sampleCount?: number;
}
readonly options?:
| { maxOutputTokens?: number }
| { endTime?: string; startTime?: string }
| {
binaryPropertyOutput?: string;
sampleCount?: number;
}
| {
candidateCount?: number;
codeExecution?: boolean;
frequencyPenalty?: number;
maxOutputTokens?: number;
maxToolsIterations?: number;
presencePenalty?: number;
systemMessage?: string;
temperature?: number;
topK?: number;
topP?: number;
}
| { binaryPropertyOutput?: string }
| {
aspectRatio?: "16:9" | "9:16";
binaryPropertyOutput?: string;
durationSeconds?: number;
personGeneration?:
| "dont_allow"
| "allow_adult"
| "allow_all";
sampleCount?: number;
}
Default: {}
Source§readonly resource?: "file" | "video" | "document" | "image" | "text" | "audio"
readonly resource?: "file" | "video" | "document" | "image" | "text" | "audio"
Default: "text"
URL(s) of the audio(s) to analyze, multiple URLs can be added separated by comma