ComfyUI Node
Gemini Text Embeddings
A ComfyUI node in API Toolkit/Gemini/Embeddings with 6 inputs and 2 outputs.
Gemini Text Embeddings
- embedding_json
- dim
◄api_key►
◄modelgemini-embedding-001►
◄text►
◄custom_model►
◄task_typeSEMANTIC_SIMILARITY►
◄output_dim768►
CategoryAPI Toolkit/Gemini/Embeddings
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — | |
| model | COMBO | gemini-embedding-001 | 3 options: gemini-embedding-2, gemini-embedding-2-preview, gemini-embedding-001 |
| text | STRING | — | |
| custom_modelopt | STRING | — | |
| task_typeopt | COMBO | SEMANTIC_SIMILARITY | Optimize the embedding for this downstream task. |
| output_dimopt | INT | 768128–3072 | Output dimensionality. 768 is default. Larger = more expressive. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| embedding_json | STRING | — |
| dim | INT | — |