LibreAI / AI Music / yue2.cpp
// ai-music Β· ServeurpersoCom/yue2.cpp

yue2.cpp

Run the YuE2 music generator locally in C++.

πŸ’Ž Hidden gemβ˜… 32 starsβ‘‚ 6 forksMITupdated 2026-09
β–¦ visual β€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

yue2.cpp is an open-source ai music project by ServeurpersoCom (ServeurpersoCom/yue2.cpp on GitHub). It has 32 GitHub stars and 6 forks, is released under the MIT license, and was last updated on GitHub on 28 September 2026.

GitHub stars
32
Forks
6
License
MIT
Last updated on GitHub
28 September 2026
Category
AI Music
Listing
Hidden gem β€” a shorter page for a lesser-known project
Official site
GitHub
// how it works

How it works

  1. Clarify your goal

    Decide what you want the project to do before installing anything.

  2. Clone the repo

    Grab the source and skim the README for setup requirements.

  3. Install and configure

    Install dependencies and add any API keys or settings it needs.

  4. Run your first task

    Launch it and follow the example workflow from the docs.

// features

Why people love it

Research implementations

Faithful ports of published models.

Open source

Tweak models and pipelines freely.

Source separation

Splits songs into vocals, drums, bass, and more.

Text-to-music

Describe a track and get audio back.

Local inference

Generate music without cloud APIs.

High-quality output

Studio-grade sample rates and formats.

Advertisement
// run it

Run it yourself

  1. Step 1 β€” Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/ServeurpersoCom/yue2.cpp.git
    cd yue2.cpp
  2. Step 2 β€” Configure and build

    Generate the build files and compile with CMake.

    cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build
  3. Step 3 β€” Run it

    Launch the compiled binary and check its help output.

    ./build/app --help
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains yue2.cpp?

It is an open-source project at ServeurpersoCom/yue2.cpp with 6 forks. Check the repo’s contributors and recent commits to judge how active maintenance is.

Is yue2.cpp free to use?

Yes. It is MIT licensed, so you can use it commercially with attribution.

What quality is the output?

Typically 44.1–48kHz stereo β€” good enough for demos and remixes.

Do I need a GPU?

Separation and generation run much faster on GPU, but CPU works for short tracks.

Can I use the results commercially?

Check the model's license β€” the code license and model weights may differ.

// keep exploring

Similar tools

AI Music

moseca

Separate vocals and instruments in the browser with Demucs.

β˜… 397 starsMIT
View guide β†’
AI Music

moises-light

A resource-efficient music source separation model in PyTorch.

β˜… 36 starsMIT
View guide β†’
AI Music

torch-l1-snr

Loss functions for training audio source separation models.

β˜… 45 starsMIT
View guide β†’
AI Music

minimaxmusic.cpp

Run the MiniMax Music 3 generator locally in C++.

β˜… 35 starsMIT
View guide β†’
AI Music

acestep.cpp

Run the ACE-Step 1.5 music generator locally in C++.

β˜… 430 starsMIT
View guide β†’
AI Music

HOT-Step-CPP

Dial-driven local music generator β€” GGML-powered bangers, now with more C++.

β˜… 166 starsMIT
View guide β†’
// alternatives

Alternatives in AI Music

The most-starred other AI Music projects in the LibreAI catalogue β€” the realistic shortlist if yue2.cpp is not the right fit.

Get yue2.cpp

Free and open β€” grab the source, star the repo, and start creating.