Gemini-Multimodal
Feed it images, video, or audio and get Gemini's read on it
- image_1
- image_2
- image_3
- image_4
- video
- audio
- response
- thought_signature
- usage_info
Most nodes in this pack generate images. This one understands them. Gemini-Multimodal is the analysis node: wire in up to four images, a video, or an audio clip, type a question, and Gemini responds with text. "请对所有提供的媒体进行详细的综合分析" is the default prompt - "please provide a detailed comprehensive analysis of all provided media." You'd use it to caption a reference frame, sanity-check a video clip before deciding on prompts, transcribe audio context, or feed an image's description into a prompt-generation chain.
It's the same Gemini generateContent machinery as the pack's image nodes, but with media going in and only text coming out (plus diagnostics). And like the Banana2 node, it got the unified endpoint/auth upgrade - base_url, version, auth_mode - so it works against Google's official API or any of the mirrors/proxies in the pack.
How it works
Each media input is base64-encoded and sent as inline_data parts alongside your prompt. The model input is the thing to watch: gemini-3-pro-preview (default), gemini-3-pro-preview-thinking (labeled for which providers carry it), and the 2.x models. The thinking_level switch (high/low) only does anything on models that actually have a thinking mode - on a plain gemini-2.0-flash it's cosmetic.
The inputs that matter
prompt- what you're asking about the media.model- pick the thinking model if you want reasoning quality; it's slower and costlier.api_provider- google, comet, the T8/Comfly mirrors, aabao, or custom. The[all]/[comet/T8...]tags on the model names tell you which providers carry each model.api_key,base_url,version,auth_mode- the unified endpoint/auth controls (Auto version picksv1betaon Google domains,v1on mirrors).max_output_tokens- up to 8192.temperature- 0–2, default 1.media_resolution- Auto / low / medium / high. Matters for video and high-detail images; higher is more accurate and more expensive.image_1…image_4(optional IMAGE),video(optional VIDEO),audio(optional AUDIO),system_instruction(optional).
Outputs: response (STRING, the analysis), thought_signature (STRING, present when a thinking model runs), and usage_info (STRING, token/cost diagnostics).
Install
ComfyUI Manager → ComfyUI_LLM_Banana, or:
cd ComfyUI/custom_nodes
git clone https://github.com/xuchenxu168/ComfyUI_LLM_Banana
cd ComfyUI_LLM_Banana
pip install -r requirements.txt
Restart. Video/audio support needs the pack's opencv-python/pydub/scipy deps, which requirements.txt installs.
Gotchas
The practical trap is media_resolution staying on Auto/low while you're analyzing detailed images - the model sees a downscaled version and misses fine detail; bump it up for real work. And on the thinking model, thought_signature is a nice debugging artifact but means you're paying for reasoning tokens on every call. If the model label has a [comet/...]-style tag, don't pair it with a provider outside that list - the node will 404 or return "model not found."
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | 请对所有提供的媒体进行详细的综合分析。 | — |
| model | COMBO | gemini-3-pro-preview [all] | 6 options: gemini-3-pro-preview [all], gemini-3-pro-preview-thinking [comet/T8的贞贞AI工坊/T8-Comfly/T8-HK/T8-US/comfly/Comfly-HK/Comfly-US/aabao], gemini-2.5-pro-preview-05-06 [all], gemini-2.5-flash-preview-04-17 [all], gemini-2.0-flash [all], gemini-1.5-flash [all] |
| api_provider | COMBO | 11 options: google, comet, T8的贞贞AI工坊, T8-Comfly, T8-HK, T8-US, +5 | |
| api_key | STRING | — | |
| base_url | STRING | — | |
| version | COMBO | Auto | 4 options: Auto, v1, v1alpha, v1beta |
| auth_mode | COMBO | auto | 3 options: auto, google_xgoog, bearer |
| max_output_tokens | INT | 81921–8192 | — |
| temperature | FLOAT | 1.000–2 | — |
| thinking_level | COMBO | high | 2 options: high, low |
| media_resolution | COMBO | Auto | 4 options: Auto, media_resolution_low, media_resolution_medium, media_resolution_high |
| image_1opt | IMAGE | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| videoopt | VIDEO | — | |
| audioopt | AUDIO | — | |
| system_instructionopt | STRING | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| response | STRING | — |
| thought_signature | STRING | — |
| usage_info | STRING | — |