Instructions to use t8star/qwen-image-2.1-comfy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use t8star/qwen-image-2.1-comfy with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf t8star/qwen-image-2.1-comfy:Q4_K_M # Run inference directly in the terminal: llama cli -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf t8star/qwen-image-2.1-comfy:Q4_K_M # Run inference directly in the terminal: llama cli -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf t8star/qwen-image-2.1-comfy:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf t8star/qwen-image-2.1-comfy:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Use Docker
docker model run hf.co/t8star/qwen-image-2.1-comfy:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use t8star/qwen-image-2.1-comfy with Ollama:
ollama run hf.co/t8star/qwen-image-2.1-comfy:Q4_K_M
- Unsloth Desktop
- Pi
How to use t8star/qwen-image-2.1-comfy with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "t8star/qwen-image-2.1-comfy:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use t8star/qwen-image-2.1-comfy with Docker Model Runner:
docker model run hf.co/t8star/qwen-image-2.1-comfy:Q4_K_M
- Lemonade
How to use t8star/qwen-image-2.1-comfy with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull t8star/qwen-image-2.1-comfy:Q4_K_M
Run and chat with the model
lemonade run user.qwen-image-2.1-comfy-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use t8star/qwen-image-2.1-comfy with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default t8star/qwen-image-2.1-comfy:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use t8star/qwen-image-2.1-comfy with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf t8star/qwen-image-2.1-comfy:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "t8star/qwen-image-2.1-comfy:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen Image 2.1 Prompt Enhancer GGUF for ComfyUI / Qwen Image 2.1 ๆ็คบ่ฏๆนๅๆจกๅ
This repository is a convenience mirror of four existing Q4_K_M prompt-enhancer GGUF models and two BF16 vision projectors for ComfyUI-Qwen-Image-Prompt-Rewrite-T8, also available in the ComfyUI Registry. The files were not trained or quantized by T8star. They retain their original filenames and SHA256 checksums. This is a prompt-rewriting collection, not the Qwen Image 2.1 image-generation diffusion model, text encoder, or VAE.
ๆฌไปๅบ้ไธญๅญๆพ็จไบ ComfyUI ๆ็คบ่ฏๆนๅ่็น็ๅไธช Q4_K_M GGUF ไธปๆจกๅๅไธคไธช BF16 ่ง่ง็ปไปถใT8star ๅนถ้ๅๆจกๅ่ฎญ็ป่ ๆ้ๅไฝ่ ใ่ฟ้็ๆ้ๅช่ด่ดฃๆนๅๆ็คบ่ฏ๏ผไธ่ฝๅ็ฌๅบๅพใ
| File / ๆไปถ | Purpose / ็จ้ | Original repository / ๅไปๅบ | SHA256 |
|---|---|---|---|
Qwen-Image-2.1-PE-T2I.Q4_K_M.gguf |
Standard text-to-image rewriting / ๆ ๅๆ็ๅพๆนๅ | prithivMLmods/Qwen-Image-2.1-PE-T2I-GGUF | 340feb42c784e35b704a0f0d8d1c679a3fe60437bd9ea44a7a6fd2d730470506 |
Qwen-Image-2.1-PE-I2I.Q4_K_M.gguf |
Image-aware edit rewriting / ็ๅพ็ผ่พๆนๅ | prithivMLmods/Qwen-Image-2.1-PE-I2I-GGUF | a5c6cb28cbaf838834d1335c8392619af5809d9fe95d0ebd321e15751866dfe9 |
Qwen-Image-2.1-PE-I2I.mmproj-bf16.gguf |
I2I vision projector / I2I ่ง่ง็ปไปถ | prithivMLmods/Qwen-Image-2.1-PE-I2I-GGUF | 8dedb71dbc3092dc47de9108ad373d68a12854e2527d59bd9399601738f3bce1 |
pe_t2i_heretic-Q4_K_M.gguf |
Optional Heretic T2I rewriting / ๅฏ้ Heretic ๆ็ๅพๆนๅ | pottokao/Qwen-Image-2.1-PE-T2I-Heretic-GGUF | fe176ded062942ac8858290a33c9303a6e9c09c31405020a22ad0d47fa7b9b69 |
pe_i2i_heretic-Q4_K_M.gguf |
Optional Heretic image-edit rewriting / ๅฏ้ Heretic ๅพๅ็ผ่พๆนๅ | pottokao/Qwen-Image-2.1-PE-I2I-Heretic-GGUF | 4fa7d846acc6b6366f2b959293fb073f304d18c2d0a73d7a193cb09cc87bf074 |
pe_i2i_heretic.mmproj-bf16.gguf |
Heretic I2I vision projector / Heretic I2I ่ง่ง็ปไปถ | pottokao/Qwen-Image-2.1-PE-I2I-Heretic-GGUF | 171a59a76e498252fb0ee5c145633c6f3a2eaaad03a171e3d5828de230369807 |
The original Qwen prompt-enhancer checkpoints are Qwen/Qwen-Image-2.1-PE-T2I and Qwen/Qwen-Image-2.1-PE-I2I. The Heretic GGUFs are based on pottokao/Qwen-Image-2.1-PE-T2I-Heretic and pottokao/Qwen-Image-2.1-PE-I2I-Heretic. Built with Qwen. See each source repository for its own authorship and technical details.
Install / ๅฎ่ฃ
Download the files for your chosen task into ComfyUI/custom_nodes/Comfyui-Qwen-Image-Prompt-Rewrite-T8/models/llm/qwenimage-pe/, or into ComfyUI/models/llm/qwenimage-pe/. The node can also read a directory selected by QWEN_PE_MODEL_DIR. Use the node repository for installation steps, runtime requirements, and drag-and-drop workflows. Each I2I model requires its matching mmproj-bf16.gguf; select Auto for the node's vision model to pair them. The source repositories do not provide a Q4 vision projector. Do not pair either projector with a T2I weight.
ๆไปปๅกไธ่ฝฝๆ้ๆไปถๅนถๆพ่ฟ่็น็ฎๅฝ็ models/llm/qwenimage-pe/๏ผไนๅฏๆพ่ฟ ComfyUI/models/llm/qwenimage-pe/๏ผๆ็จ QWEN_PE_MODEL_DIR ๆๅฎ็ฎๅฝใๅธฆๅพ็ผ่พๅฟ
้กปๅๆถไฝฟ็จๅฏนๅบ็ BF16 mmproj๏ผ่ง่งๆจกๅ้ๆฉ Auto ๅณๅฏ่ชๅจ้
ๅฏนใ่็น README ๆไพๅฎ่ฃ
ๅๅทฅไฝๆต่ฏดๆใ
The default node profile uses the standard T2I model for text-only requests and standard I2I plus its vision projector for requests with 1โ10 reference images. Heretic T2I and I2I are optional alternatives; a quality advantage is not established. For Heretic image editing, choose pe_i2i_heretic-Q4_K_M.gguf as edit_model and Auto as vision_model. Image generation still needs a separate Qwen Image 2.1 diffusion pipeline.
License and redistribution / ่ฎธๅฏไธ่ฝฌ่ฝฝ
These Qwen-derived weights are distributed under the Qwen Research License Agreement, included as LICENSE. It grants use and redistribution for non-commercial research or evaluation only; commercial use requires a separate license from the Qwen rightsholder. Preserve the agreement and NOTICE when redistributing. No commercial-use license is supplied by this mirror. Source and derivative authors retain their respective rights.
ๆฌ้ๅ้ๅธฆ Qwen Research ่ฎธๅฏ่ฏๅ NOTICEใๅ ถๆๆ่ๅดไธบ้ๅไธ็ ็ฉถๆ่ฏไผฐ๏ผๅไธไฝฟ็จ้ๅฆๅๆๅฉไบบๅๅพ่ฎธๅฏใๆฌ้กต็ๅ ถไป้พๆฅไธๆนๅๆจกๅ่ฎธๅฏใ
T8star links / ็ธๅ ณ้พๆฅ
- Downloads last month
- 10,032
4-bit