> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Gemini Decision (Choice) - ComfyUI Built-in Node Documentation

> Pick one of your own options for the text, images, audio or video you connect, and get back the chosen option, its position and a confidence.

Pick one of your own options for the text, images, audio or video you connect, and get back the chosen option, its position and a confidence. Connect `choice` to a Branch node whose inputs carry the same option names, or route on `option_index`. A Branch node accepts at most 32 inputs, so route larger option sets with `option_index`.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `model` | Model to use (default: `"gemini-decision-1"`). | COMBO | Yes | `"gemini-decision-1"` |
| `question` | The question the options answer, up to 5000 characters (default: "What style is the image?"). | STRING | Yes | 1 to 5000 characters |
| `options` | One option per line, used exactly as typed, up to 128 characters each. Add an option such as `other` for inputs that fit none of them (default: `photo`, `illustration`, `3d render`, `anime`, `sketch`, `other`). | STRING | Yes | 2 to 255 options |
| `images` | Images to classify, up to 16 across the growable slots (`image_1` ... `image_16`). A batched image counts once per image. | IMAGE | No | Up to 16 images |
| `audio` | Audio clip to classify. | AUDIO | No | - |
| `video` | Video clip to classify. | VIDEO | No | - |
| `text` | Text the question is about, such as a prompt or an LLM response, up to 20000 characters. | STRING | No | Up to 20000 characters |

Give at least 2 and at most 255 options, and list none of them twice; the node raises an error otherwise. Connect at least one of `text`, `images`, `audio` or `video`, and name several images `image_1`, `image_2` and so on inside the question.

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `choice` | The chosen option, exactly as it was written in `options`. | STRING |
| `option_index` | Position of the chosen option in `options`, starting at 0. | INT |
| `confidence` | Confidence in the choice, between 0 and 1. | FLOAT |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/GeminiDecisionChoice/en.md)

***

**Source fingerprint (SHA-256):** `200c63a9197cd95ba0a21da88c5f3117014b37b0651541094a775219381afe43`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.