DataSetPrepare-Gemini

详情

下载文件

模型描述

请阅读我的LoRA训练指南:

https://civitai.com/articles/7365/flux-lora-training-low-gpu-kohya-ssdscript-linux

请准备好此工具及节点,以确保其高度准确和快速运行。

开始吧!

  1. 将此仓库克隆到您的ComfyUI的custom_nodes目录中:
cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/al-swaiti/ComfyUI-OllamaGemini
  1. 安装所需依赖:
pip install google-generativeai requests vtracer

配置

- Gemini API 密钥设置

  1. Google AI Studio 获取您的免费API密钥。

  2. 创建一个新API密钥或使用现有密钥。

  3. 复制该API密钥。

  4. 将您的API密钥添加到节点目录中的config.json文件:

{
  "GEMINI_API_KEY": "your_api_key_here"
}

- 数据集设置

  1. 输入您的LoRA关键词(例如:goldxxx > 这将用于图像生成)

  1. 输入您的图像路径

  1. 启用自动队列

运行工作流!

此模型生成的图像

未找到图像。