heartmula

Generate multilingual songs from lyrics and tags using HeartMuLa.

Updated May 8, 2026
One-click install
npx skills add https://github.com/gztcode/my-skills --skill heartmula-gztcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: heartmula
Source: https://github.com/gztcode/my-skills/tree/main/heartmula
Command: npx skills add https://github.com/gztcode/my-skills --skill heartmula-gztcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires heartlib, transformers, datasets, torchtune, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of generating music based on text inputs such as lyrics and tags, providing a convenient way to create songs programmatically.

Core Features & Use Cases

  • Music Generation: Create full-length songs from provided lyrics and tags.
  • Multilingual Support: Generate music in multiple languages.
  • Open Source Tools: Utilizes HeartMuLa, HeartCodec, and other open-source tools for music generation.
  • Use Case: Ideal for content creators, musicians, and AI enthusiasts who wish to experiment with generating music from textual inputs.

Quick Start

Use the heartmula skill to generate a song from the lyrics "I want to hear the sweet melody of the stars" and the tag "space, dreamy, electronic".

Frequently Asked Questions about heartmula

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate music from lyrics and tags using open-source tools?

You can generate music from lyrics and tags using the HeartMuLa open-source framework, which creates full-length songs from textual inputs. It supports multilingual song creation and leverages tools like HeartCodec for audio synthesis.

Do I need a CUDA GPU to run AI music generation with HeartMuLa?

Yes, running AI music generation with HeartMuLa requires a GPU with CUDA support. The framework operates within a Python environment and offers both lazy loading for VRAM efficiency and full GPU usage for faster processing speeds.

Can I generate multilingual songs from text inputs?

Yes, you can generate multilingual songs from text inputs. The music generation framework supports creating songs in multiple languages, allowing content creators and musicians to produce diverse audio tracks programmatically.

What is the best way to manage VRAM when generating AI music?

The best way to manage VRAM when generating AI music is to use the lazy loading option provided by the framework. This approach prioritizes VRAM efficiency, whereas full GPU usage prioritizes generation speed at the cost of higher memory consumption.

What Python libraries are required for text-to-music generation?

Text-to-music generation requires the Python environment to have specific libraries installed, including heartlib, transformers, datasets, and torchtune. These dependencies support the underlying HeartMuLa framework and its processing logic.