new gemini-2.0-flash model

Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
Alexander Piskun
2025-02-10 09:58:53 +02:00
committed by bigcat88
parent f9a25a573f
commit 476fce3e0d
4 changed files with 16 additions and 3 deletions
+12
View File
@@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.
## [1.0.3 - 2025-02-10]
### Added
- New `gemini-2.0-flash` model.
## [1.0.2 - 2025-02-08]
### Added
- Optional `seed` parameter.
## [1.0.1 - 2024-10-20]
### Added
+2 -1
View File
@@ -46,7 +46,8 @@ These nodes integrate the Gemini API into ComfyUI, allowing you to send prompts
- **model (CHOICE)**:
- Selects the Gemini model to use.
- Options:
- `gemini-1.5-flash-002`: Standard model.
- `gemini-1.5-flash-002`: Old version of the fast and free model.
- `gemini-2.0-flash-001`: New version of the free and even better model.
- `gemini-1.5-pro-002`: Pro model with advanced capabilities.
- **api_key (STRING, Optional)**:
- Your Gemini API key.
+1 -1
View File
@@ -18,7 +18,7 @@ class GeminiNode:
"prompt": ("STRING", {"default": "Why number 42 is important?", "multiline": True}),
"safety_settings": (["BLOCK_NONE", "BLOCK_ONLY_HIGH", "BLOCK_MEDIUM_AND_ABOVE"],),
"response_type": (["text", "json"],),
"model": (["gemini-1.5-flash-002", "gemini-1.5-pro-002"],),
"model": (["gemini-1.5-flash-002", "gemini-2.0-flash-001", "gemini-1.5-pro-002"],),
},
"optional": {
"api_key": ("STRING", {}),
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "comfyui-gemini"
version = "1.0.2"
version = "1.0.3"
description = "Nodes for Google Gemini API, focusing on backward compatibility and stability within ComfyUI."
license = { file = "LICENSE" }
requires-python = ">=3.10"