Custom node to use Gemini 1.5 and above for Comfyui to generates theme related prompts for image generators Fork from Magifactory, added many feature on top of it.
- 复制
config.json.default
为config.json
. 在config.json
中填入您的 Gemini API 密钥:
{
"GEMINI_API_KEY": "YOUR_API_KEY_HERE"
}
Now support Gemini 2.0 Flash!
Added System prompt override support, it can turn into a LLM Please, Leave the Override system prompt area empty, if you wish to use this node as a normal Prompt Generator. Unless you have other needs.
cd ur custom_nodes folder location ie. E:\ComfyUI_windows_portable\ComfyUI\custom_nodes then type following:
git clone https://github.com/LiJT/ComfyUI-Gemini-Prompt-Generator-JT
The Seed actually is NOT for Gemini, just tell ComfyUI when to generate the new prompt, if the seed is fixed, then Node wont generate a new one Input your API Key here: config.json