ComfyUI Extension: ComfyUI-TextGenerateGemma3Prompt
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
ComfyUI custom node for LTX Video 2.3 that uses Gemma3-12b-it LLM for text generation with support for LTX-2.3 prompt extensions and custom system prompts. (Description by CC)
README
LTX-2.3 ComfyUI Custom Nodes
LTX Video 2.3 向け ComfyUI カスタムノード集。
ノード一覧
ComfyUI-TextGenerateGemma3Prompt
LTX Video 2.3 に使われている Gemma3-12b-it を使ってLLM的に利用できるノード。LTX-2.3 Prompt 拡張及び、Custom System Prompt による独自ルールも利用可能
カテゴリ: LTX-2.3
ノード名: Text Generate Gemma3 Prompt
入力
| 名前 | 型 | デフォルト | 説明 |
|---|---|---|---|
| clip | CLIP | — | Gemma3 LLM モデル(LTX2 CLIP) |
| prompt | STRING | "" | ユーザープロンプト |
| mode | COMBO | LTX-2.3 | LTX-2.3: 組み込みシステムプロンプト / Custom: カスタムシステムプロンプト |
| custom_system_prompt | STRING | — | Custom モード時のシステムプロンプト |
| max_length | INT | 256 | 最大生成トークン数 (1–4096) |
| do_sample | BOOLEAN | True | サンプリング ON/OFF |
| temperature | FLOAT | 0.7 | 生成温度 (0.0–2.0) |
| top_k | INT | 64 | Top-K サンプリング (0–1000) |
| top_p | FLOAT | 0.95 | Top-P サンプリング (0.0–1.0) |
| min_p | FLOAT | 0.05 | Min-P サンプリング (0.0–1.0) |
| repetition_penalty | FLOAT | 1.05 | 繰り返しペナルティ (1.0–2.0) |
| seed | INT | 0 | 乱数シード |
| image | IMAGE | (optional) | 入力画像。接続すると I2V モード、なければ T2V モードで動作 |
出力
| 名前 | 型 | 説明 | |---|---|---| | prompt | STRING | 生成されたプロンプト |
動作ロジック
imageなし → T2V モード(テキストからビデオ)imageあり → I2V モード(画像からビデオ)、ユーザーメッセージに<image_soft_token>を自動挿入mode == "LTX-2.3"→ T2V/I2V それぞれの組み込みシステムプロンプトを使用mode == "Custom"→custom_system_promptをシステムプロンプトに使用(imageの有無は自動判断)
Workflow サンプル

インストール
custom_nodes/ 以下に直接配置。ComfyUI 再起動後に反映されます。
参考
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.