From c553fb1e09e84ccdcfa9a160bee5a6ccd829830f Mon Sep 17 00:00:00 2001 From: Algo Kamishiro Date: Sat, 24 May 2025 11:47:48 +0900 Subject: [PATCH] =?UTF-8?q?README:=20=E4=BD=BF=E3=81=84=E6=96=B9=EF=BC=88?= =?UTF-8?q?=E6=97=A5=E6=9C=AC=E8=AA=9E=E3=83=BB=E8=8B=B1=E8=AA=9E=EF=BC=89?= =?UTF-8?q?=E3=81=A8=E6=A6=82=E8=A6=81=E3=82=92=E8=BF=BD=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d584041..c626a05 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,31 @@ # Universal LLM Node for ComfyUI -修正済みバージョン。ClaudeのAPIキーを明示的に設定済み。 +## これはなに? + +UniversalLLMNodeは、OpenAI・Anthropic(Claude)・Google Gemini・Groq・Mistralなど複数の大手LLM APIを共通インターフェースで利用できるComfyUI用カスタムノードです。 +画像生成向けの高品質なSDXLプロンプトを自動生成する用途などに最適です。 + +## 使い方(日本語) + +1. **provider** で利用したいLLMサービス(openai, anthropic, google, groq, mistral)を選択します。 +2. **model** で利用したいモデル名を選択します(リストから選択)。 +3. **prompt** にシーンやタグなど、画像生成に使いたい内容を入力します。 +4. **max_tokens** で返答の最大トークン数を指定します(通常は300程度で十分です)。 +5. ノードを実行すると、各社LLM APIを使ってSDXL用の高品質なプロンプトが自動生成されます。 + +> ※ providerごとに利用できるモデル名は異なります。APIキーの設定も忘れずに行ってください。 + +## What is this? + +UniversalLLMNode is a custom node for ComfyUI that lets you use multiple major LLM APIs (OpenAI, Anthropic/Claude, Google Gemini, Groq, Mistral) with a unified interface. +It is ideal for automatically generating high-quality SDXL prompts for image generation and similar tasks. + +## Usage (English) + +1. Select the **provider** (openai, anthropic, google, groq, mistral) you want to use. +2. Choose the **model** from the list of available models for the selected provider. +3. Enter your scene description or tags in the **prompt** field. +4. Set **max_tokens** to limit the maximum number of tokens in the response (300 is usually enough). +5. Run the node. It will use the selected LLM API to automatically generate a high-quality SDXL prompt. + +> *Note: Available models depend on the provider. Make sure to set your API keys for each service.* \ No newline at end of file