> ## 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 判定（画像を選択） - ComfyUI Built-in Node Documentation

> バッチ内から最適な画像を 1 枚選択します。選択した画像を保持するには、index を Get Image from Batch に接続します。

バッチ内から最適な画像を 1 枚選択します。選択した画像を保持するには、`index` を Get Image from Batch に接続します。これにより、ワークフローの残りの部分は選択された画像に対してのみ実行されます。

## 入力

| パラメータ | 説明 | データ型 | 必須 | 範囲 |
| - | - | - | - | - |
| `model` | 使用するモデル（デフォルト: `"gemini-decision-1"`）。 | COMBO | はい | `"gemini-decision-1"` |
| `question` | 選択する画像（デフォルト: "Which image best matches the prompt in text? If there is no text, which image has the best quality?"）。 | STRING | はい | 1～5000 文字 |
| `images` | 選択対象の画像。バッチ、または単一のフレームバッチとして指定します。 | IMAGE | はい | 2～64 枚の画像 |
| `text` | 質問の対象となるテキスト。画像の生成元プロンプトなど。最大 20000 文字。 | STRING | いいえ | 最大 20000 文字 |

このノードは 2～64 枚の画像を必要とし、1 枚だけの画像ではエラーを発生させます。画像の品質だけでなくプロンプトに従って選択する場合は、`text` を接続してください。

## 出力

| 出力名 | 説明 | データ型 |
| - | - | - |
| `index` | バッチ内で選択された画像の位置（0 から開始）。 | INT |
| `confidence` | 選択に対する信頼度（0～1）。 | FLOAT |

> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください！ [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/GeminiDecisionPickImage/ja.md)

***

**Source fingerprint (SHA-256):** `55eb604923cb66b42f23f37d0c710a97033cc2c5d95880d45397bba10e44dab0`


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