ComfyUI Native Support for YuE2 Music Generation Model: A Hands-On Guide

ComfyUI adds native YuE2 support, enabling AI music generation within node-based workflows.
ComfyUI is introducing native support for the YuE2 music generation model via a new Pull Request, enabling users to generate complete songs with vocals and accompaniment directly within its node-based workflow interface. The article covers the YuE2 model's capabilities, a three-step early access tutorial (switch branch, download weights, import workflow), and the broader significance of multimodal unification in open-source AI creation tools.
ComfyUI Gains Music Generation Capabilities
ComfyUI, the most popular open-source AI generative workflow platform today, has long been known for its modular, node-based architecture. Previously focused primarily on image and video generation, a new Pull Request (PR #16250) is now officially bringing native support for the YuE2 music generation model into the ComfyUI ecosystem. This means users will soon be able to generate music content within the familiar node-based interface through a unified workflow, without relying on separate audio generation toolchains.
For users who have been leveraging ComfyUI for multimodal creation, this is a noteworthy development. It further confirms ComfyUI's evolution from an "image generation tool" to a "general-purpose AI creation platform" — unifying image, video, audio, and other modalities within a single visual workflow framework.

Introducing the YuE2 Music Generation Model
YuE (pronounced similarly to the Chinese character "乐", meaning "music") is an open-source music generation model series focused on generating complete music segments with vocals and accompaniment from text prompts or lyrics. Compared to traditional instrument-only generation models, a standout feature of the YuE series is its ability to handle lyrics-to-vocal mapping, producing structurally complete songs.
YuE2, as the iterative version, brings further improvements in generation quality and consistency. The model weights prepared for ComfyUI have been uploaded to the Hugging Face repository (Comfy-Org/Yue2), hosted and adapted by the official Comfy-Org organization to ensure compatibility with the ComfyUI framework.
How Music Generation Differs from Image Generation
Music generation has fundamentally different computational characteristics compared to image generation. Audio is a temporal signal, and models need to maintain coherence over long time spans — melodic progression, rhythmic stability, and the alignment of vocals with accompaniment. Any break in these elements significantly affects the listening experience. Integrating such models into a workflow engine primarily designed for image/video requires specialized adaptation in sampling scheduling, memory management, and output formatting.
Early Access Tutorial for ComfyUI YuE2
For users who don't want to wait for the official merge into the main branch, the team has already provided a way to try it out early. Here are the core steps:
Step 1: Switch to the YuE2 Development Branch
First, switch your local ComfyUI repository to the corresponding development commit:
git checkout d87e12ad1430409ca303440525df239bb675ae7b
This step switches the codebase to the specific commit that includes YuE2 support. Note that this is a development branch commit and may have stability issues. It's recommended to operate in a test environment to avoid affecting your production workflows.
Step 2: Download YuE2 Model Weights
Download the YuE2 model weight files from Hugging Face and place them in the model/checkpoints directory. ComfyUI automatically detects available models in the checkpoints directory, so once placed in the correct path, they can be selected within nodes.
Step 3: Load the Example Workflow
The team also provides a ready-made example workflow file (yue2_workflow.json) that users can import directly into ComfyUI to quickly set up the complete music generation pipeline without manually connecting nodes from scratch. This significantly lowers the barrier to entry, allowing new users to see results quickly.
The Broader Significance of This Development
Multimodal Integration in the Open-Source Ecosystem
The greatest value of ComfyUI introducing YuE2 support lies in ecosystem-level unification. In the past, image, video, and audio generation typically belonged to separate open-source projects, forcing users to switch between multiple toolsets, convert formats, and manually bridge outputs. ComfyUI's node-based architecture is naturally suited to linking these modalities together — in theory, users could eventually generate illustrations, videos, and background music within a single workflow, achieving truly one-stop multimodal content creation.
Reliability Through Official Hosting
It's worth noting that the model weights are hosted by the official Comfy-Org organization rather than relying on third-party community uploads. This official adaptation approach typically means better version compatibility and ongoing maintenance support, while also reducing the effort users spend finding and verifying model sources.
From Tool to Platform
From a product positioning perspective, this move reflects the ComfyUI team's ambition: it no longer aims to be just a "GUI for Stable Diffusion" but rather a full-modality open-source AI creation infrastructure. With the addition of audio models like YuE2, ComfyUI's use cases will expand from visual creation into music production, podcast creation, multimedia content generation, and far broader domains.
Conclusion
ComfyUI's native support for YuE2 music generation marks another milestone in the open-source AI creation tool's march toward multimodal unification. While it's still at the Pull Request stage and hasn't been officially merged into the main branch, the team has already provided a complete early access path — switch branches, download weights, and import the workflow in three simple steps. For creators interested in AI music generation and open-source workflows, this is a new feature worth watching closely and trying hands-on. Once the official version is merged, music generation is poised to become a standard capability within ComfyUI.
Related articles

LangChain + MCP: From Core Concepts to Agent Tool Calling in Practice
Learn how LangChain and MCP work together — covering LLM tool calling, Agent architecture, and conversation history management to build real-world AI applications.

Probabilistic Machine Learning: Why It's the Cornerstone to Unlocking the ML Black Box
Without probability theory, ML is always a black box. This article explores why probabilistic foundations are essential for understanding machine learning algorithms, Bayes' theorem, MLE, and more.

Optimization Pitfalls in Self-Evolving LLM Agents: Value Concentration and Budget-Splitting Problems
HARNESSEVO research reveals 3 key LLM agent harness optimization findings: value concentrates in reflection/control slots, uniform budget splitting is harmful, and credit assignment must precede structured evolution.