Boks Music
From lyrics to music generation, mastering and lyric videos — project by project, on your own PC
Overview
Boks Music is an Electron desktop app for creating and managing AI music by project. It generates vocal songs and instrumentals with the locally run YuE2 3B model, and handles covers, vocal/instrumental separation, multitrack stems and mastering in the same job queue. Lyrics are written through a subscription login to Claude Code or Codex CLI, without calling paid APIs directly. Finished tracks can be turned into playlist videos with automatic lyric timing and 37 GPU canvas templates.
The problem
Making AI music usually means hopping between separate services and tools for lyrics, generation, stem separation, loudness, lyric sync and video, on top of setting up models and runtimes by hand. Boks Music ties everything from installing an engine and model suited to the PC, through managing results, to exporting video into one local app organized by project.
Built for
- Creators who want to make AI music on a local GPU
- Users who want to publish playlists with tracks and lyric videos together
- Users who already have a Claude Code or Codex CLI subscription
Capabilities
Key capabilities
- Generation01
Local music generation
Generate vocal songs and instrumentals, and create covers, with the YuE2 3B model. Genre presets and style prompts set the direction, and every generation runs on your own PC.
- AI Lyrics02
AI lyrics and composition planning
Write and refine lyrics, and plan instrumentals, through a Claude Code or Codex CLI subscription login. Expressions that contain registered forbidden words are rephrased.
- Stems03
Stem separation and mastering
Split vocal/instrumental and multitrack stems with BS-RoFormer. Mastering analyzes loudness with FFmpeg, then processes to your chosen target loudness (-14 to -8 LUFS), true peak and character.
- Lyric Sync04
Lyric timing
Automatically time Korean and English lyrics with Qwen3-ASR and ForcedAligner, then fine-tune them in the editor. LRC and SRT files can be imported and exported.
- Video05
Playlist video production
Create lyric and instrumental videos from 37 GPU canvas scene templates, encoded with WebCodecs hardware H.264 at up to 2160p. The album art's dominant color becomes the scene's accent.
- Setup06
Spec-aware installation
It analyzes GPU, VRAM, RAM and disk to recommend a configuration, then installs the runtime engines and models together. Every download is a prebuilt file with a pinned size and SHA-256, and configurations that cannot be installed are shown with the reason.
Architecture
A music studio that runs on your PC
The UI, job queue, music and image engines and storage all run locally. AI agents run only through the local CLI's subscription login, and API keys or cloud provider environment variables are never passed to child processes.
Workflow
How it works
- 01
Install engines and models
Pick a YuE2 configuration that fits the PC in settings, and the runtime engine, cover and stem models, FFmpeg and the Python environment are installed together.
- 02
Prepare the project and lyrics
Create a project, choose a preset or style prompt, then write the lyrics yourself or with an AI agent.
- 03
Generation queue
Generation and cover requests enter the job queue and run in order, and interrupted or failed jobs can be run again.
- 04
Post-processing
Split stems from finished tracks, master them, and create album art with Codex or a local image model.
- 05
Lyric alignment and video export
Time the lyrics, gather tracks into a playlist, then pick a template to render a lyric or instrumental video.
Tech stack
- Electron 44Desktop shell with a custom title bar and the main process
- React 19 + TypeScriptProject management, playback, lyric editing and video-making screens
- Vite 8Renderer dev server and build
- YuE2 3B GGUFMusic generation model run on yue2.cpp (CUDA) and audio.cpp (Metal)
- BS-RoFormerVocal/instrumental and multitrack stem separation
- Qwen3-ASR · ForcedAlignerAutomatic lyric timing
- stable-diffusion.cppLocal album art generation
- FFmpeg · WebCodecsMastering and hardware H.264 video encoding
- Claude Code · Codex CLILyric and planning agents run through a subscription login
Requirements
- Windows 10/11 (NVIDIA GPU, CUDA recommended) or Apple Silicon macOS (Metal)
- Node.js 22.12 or later for development mode
- 16GB+ RAM and 6GB+ VRAM depending on the music model configuration
- 35–39GB+ of free disk space depending on the music model configuration
- Claude Code CLI or Codex CLI logged in with a subscription account for AI lyrics and planning
git clone https://github.com/boksajang/boks-music.git
cd boks-music
npm ci
npm start