Qwen 3.0 (also known as Qwen3) is a powerful open-source LLM from Alibaba Cloud built for text generation, reasoning, and structured analysis. It is natively supported in ComfyUI through the built-inDocumentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
TextGenerate node.
Model highlights:
- Strong reasoning — Qwen3-4B-Thinking supports step-by-step chain-of-thought reasoning
- Text generation focused — optimized for structured text output, analysis, and coding tasks
- ComfyUI native — works with the built-in
TextGeneratenode, no custom nodes needed - Lightweight — shares the same text encoder format as Qwen3.5, available in 2B, 4B, and 9B variants to fit different hardware
Use Cases
Qwen 3.0 is well-suited for tasks that require structured text generation and intelligent reasoning within a ComfyUI workflow:- Prompt optimization — feed existing prompts to Qwen 3.0 and ask it to rewrite, expand, or refine them for better image generation results. For example, convert a short keyword prompt into detailed, structured descriptions with style, lighting, and composition details.
- Workflow logic reasoning — use the model to analyze workflow parameters, suggest processing steps, or generate structured instructions that feed into other nodes.
- Text-based analysis — extract information, classify content, or generate structured reports from text inputs.
- Chain-of-thought reasoning — enable thinking mode for complex multi-step tasks that benefit from intermediate reasoning before producing the final output.
Available workflow
Qwen 3.0: Text Generation
Download Workflow
Download JSON or search “Qwen 3.0 Text Generation” in Template Library
Run on Comfy Cloud
Open in Comfy Cloud
This workflow demonstrates the core text generation capabilities of Qwen 3.0. It accepts a text prompt and generates detailed, structured responses using the model’s built-in reasoning capabilities.
Inputs:
- Text prompt — your question, instruction, or task description
- Max length — maximum number of tokens to generate (default 256)
- Sampling mode — toggle sampling on/off and adjust temperature, top-k, top-p, repetition penalty, and seed
- Thinking mode — enable step-by-step reasoning before the final answer
- Use default template — apply the built-in system prompt for the model
- Generated text — the model’s response as a plain text string
Learn about Subgraph
This workflow uses Subgraph nodes for modular processing. Check out the Subgraph documentation to learn how to customize and extend the workflow.
Model Download
Qwen 3.0 models are loaded as text encoders in ComfyUI. The model files are shared with Qwen3.5 — download the variant that best fits your hardware:Qwen3.5 2B (bf16)
Lightweight, ~4.5 GB. Best for low VRAM setups and fast downloads.
Qwen3.5 4B (bf16)
Balanced size and quality. Recommended for most consumer GPUs.
Qwen3.5 9B (bf16)
Largest variant, ~19 GB. Higher quality output, requires more VRAM.
.safetensors file in: