diff --git a/CHANGELOG.md b/CHANGELOG.md index 0208ed3..3258902 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index aefe26e..36fbdab 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/nodes.py b/nodes.py index f5ad582..6603c20 100644 --- a/nodes.py +++ b/nodes.py @@ -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", {}), diff --git a/pyproject.toml b/pyproject.toml index 34e3d23..c8e3180 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"