ComfyUI-Qwen-TeleStyle
Reproduces Qwen TeleStyle's style-transfer pipeline as native ComfyUI nodes with weights read directly from ComfyUI's model folders.
ComfyUI-Qwen-TeleStyle
This custom node pack reproduces /home/linkray/TeleStyleV2/app.py's style-transfer pipeline
as native ComfyUI nodes. It does not depend on that project's directory or its separate venv -
weights are read directly from ComfyUI's own model folders.
Nodes:
Qwen TeleStyle Loader- pick anarchitecture(2509or2511) and adevice. Resolves (downloading from HuggingFace if missing) the transformer, text encoder, VAE, and the two TeleStyleV2 LoRAs, builds the pipeline once, and outputs it as aTELESTYLE_MODELSsocket.Qwen TeleStyle Apply- takes thatmodelssocket pluscontent_ref/style_refimages and the usual generation controls (prompt,seed,cfg,steps,minedge,infer_with_content_prompt/infer_with_style_prompt). Its generation logic is app.py'sinfer()line-for-line, including outputting the generatedcontent_prompt/style_promptcaptions as their own STRING sockets (wire these into a text-display node to see them - ComfyUI has no Gradio-style auto-filled textbox).Qwen TeleStyle Unload- frees the cached pipeline.
Expected files (auto-downloaded on first use if missing):
- transformer (2509):
models/diffusion_models/Qwen-Image-Edit-2509.safetensors- pulled as a single pre-merged file from troopa/TeleStyleV2-Qwen-Image-Edit-2509. - transformer (2511):
models/diffusion_models/Qwen-Image-Edit-2511.safetensors- no pre-merged repo yet, so this one still downloads the original shards and merges them once. - text encoder:
models/text_encoders/qwen_2.5_vl_7b.safetensors(shared across architectures) - vae:
models/vae/qwen_image_vae.safetensors(shared across architectures) - style LoRA:
models/loras/diffusers-TeleStyleV2-QIE-2509-Lora-bf16.safetensors(or-2511) - speed LoRA:
models/loras/QIE-2509-Lightning-4steps-V1.0-bf16.safetensors(or-2511)
Each weight file is loaded once, directly into this pipeline's own modules - no ComfyUI MODEL/CLIP/VAE objects are involved. An earlier version bridged live comfy MODEL/CLIP/VAE sockets instead; that duplicated the ~54GB checkpoint in memory (once as comfy's own resident copy, once as this pipeline's independent copy) and reliably OOM-killed ComfyUI on boxes with much less system RAM than VRAM (e.g. 62GB RAM vs 97GB VRAM here) - this version avoids that architecture entirely.
infer_with_content_prompt/infer_with_style_prompt (the Qwen-VL prompt-enhancer) work here
because the text encoder file loaded includes lm_head - a live comfy CLIP object never
carries it (comfy only keeps the LLM for conditioning, not generation).