Extensions/OdinSam Text2Image
ComfyUI Extension

OdinSam Text2Image

Integrated text-to-image ComfyUI node with internal CLIP load, text/Qwen-vision encoding, and optional OdinSamKit UI sections.

By odinGitGmail·Created a day ago·Updated about 23 hours ago· 0
odinGitGmail/ComfyUI-OdinSam-Text2Image
Nodes—
On cloudLocal install
Stars0
Updatedabout 23 hours ago
Readme
<div align="center"> <h1>Text2Image</h1> <p> <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg"></a> <a href="pyproject.toml"><img alt="Version" src="https://img.shields.io/badge/version-0.2.0-blue.svg"></a> <a href="https://github.com/comfyanonymous/ComfyUI"><img alt="ComfyUI" src="https://img.shields.io/badge/ComfyUI-Custom%20Node-00b894.svg"></a> <a href="https://www.python.org/"><img alt="Python" src="https://img.shields.io/badge/Python-%3E%3D3.9-3776AB.svg"></a> <a href="https://registry.comfy.org"><img alt="Registry" src="https://img.shields.io/badge/Registry-odinsam--text2image-6c5ce7.svg"></a> </p> <p> <a href="README.md">English</a> · <a href="README.zh-CN.md">中文</a> </p> <p> Integrated <b>ComfyUI text-to-image</b> node: loads CLIP internally, supports text / Qwen-vision / Z-Image-vision conditioning, takes external <code>MODEL</code> + <code>VAE</code>, outputs <code>IMAGE</code> for preview. </p> <p> <b>Node:</b> <code>Text2Image</code> / 文生图整合 (OdinSam)<br> <b>Category:</b> <code>OdinSam/Text2Image</code> · <b>Registry:</b> <code>odinsam-text2image</code> </p> <p> <img src="docs/images/node.png" alt="Text2Image node" width="420"> </p> </div>

Features

  • Internal CLIP: clip_name + clip_type
  • Process: 文本 (default) / Qwen视觉 / ZImage视觉 / Flux视觉 (Flux not implemented — use external conditioning)
  • Optional image / image2 / image3 / image_encoder (CLIP_VISION)
  • Z-Image T2I: lumina2 + text + sd3_qwen; AuraFlow stays external
  • Optional external CONDITIONING bypasses internal encode per side
  • KSampler-Advanced-like params (defaults: 4 steps, cfg 1, euler, simple)
  • Latent: sd3_qwen (16-ch, default) or sd (4-ch)
  • Output: IMAGE
  • Optional OdinSamKit UI: sections, labels, visibility

OdinSamKit

Business logic does not require KIT. Without it the node still runs.

| Item | Requirement | |------|-------------| | Minimum KIT version | OdinSamKit ≥ 0.2.0 | | Check | Browser console: window.OdinSamKit.version | | Relationship | Weak / optional enhancement |

Embedded config includes labels, sections (CLIP / 提示词 / 模型), and visibility (image-related inputs when process type is not text). You do not need to bump the minimum for every kit patch.

Install

cd ComfyUI/custom_nodes
git clone https://github.com/odinGitGmail/ComfyUI-OdinSam-Text2Image.git Text2Image
# optional UI kit
git clone <OdinSamKit-repo> OdinSamKit

Restart ComfyUI. Node: 文生图整合 (OdinSam) under OdinSam/Text2Image.

Or install via Comfy Registry / Manager: odinsam-text2image.

License

MIT