AI Music Generator: Create Songs and BGM with Chinese Prompts in AI Assistant

Introduction

When producing short videos, podcasts, or brand content, you often need a piece of original music that is ready to use. Sourcing from stock libraries often leads to style clashes, while outsourcing takes too long. On the other hand, throwing requirements at a general LLM often only yields text proposals without a finished product. If you want to clarify your creative ideas, lyrics, or scenarios in Chinese within the same conversational environment used for writing and editing, and receive preview links and downloadable audio, you need to make “Music Generation” an Agent-callable Skill, rather than switching to a standalone web tool every time.

Below is an introduction to the AI Music Generator (@user_87b8e34f/ai-music-generator, version 1.3.2) on SkillHub, along with installation instructions and typical usage scenarios.

What is this

The AI Music Generator is a skill sourced from the SkillHub community (community), published by user_87b8e34f and categorized under design-media. It is designed for Chinese creators looking for an AI music generator, music generator, AI music creation, or BGM generator. By entering creative ideas, full lyrics, video scenarios, or brand requirements into the AI assistant, it can generate songs, background music, preview links, and downloadable audio. Creations are synced to a Haimian Music (Sponge Music) account and can be further managed via the “Haimian Music AI Songwriting” Mini Program and the lexuan.club web page.

Skill Coordinate: @user_87b8e34f/ai-music-generator.
Official Endpoint: https://api.skillhub.cn/user_87b8e34f/ai-music-generator;
SkillHub Display Page: https://www.skillhub.cn/skills/user_87b8e34f/ai-music-generator.

According to the Skill instructions, the Agent should invoke the local aimv CLI via the Node entry, rather than redirecting the user to a disjointed web workflow (refer to the SKILL.md in the installation directory for specific commands).

Core Features

The following capabilities are derived from the official SkillHub description; once installed and enabled, the Agent will invoke them according to the skill documentation:

  1. Multi-format Input: A one-sentence creative idea, full lyrics, a video scene description, or brand-related requirements can all serve as the basis for generation.
  2. Songs & BGM: Can generate music solutions with vocals or optimized for background usage.
  3. Preview & Download: Outputs include preview links and audio downloads, facilitating direct integration into workflows.
  4. Account Sync: Works are synced to the Haimian Music account and can be managed via the Mini Program and lexuan.club.
  5. API Key: The skill is tagged with requires_api_key=true; keys or account connection configuration must be completed before use.

Current statistics on the SkillHub page (based on the display page and scraped data): Rating 100000, Downloads 7337.

Installation & Activation

Method 1: Let the AI install via official guidance

In clients supporting Skills (such as Cursor, Claude Code, Codex CLI), you can send the following prompt to the Agent to read the SkillHub Installation Documentation and complete the installation:

Please install `@user_87b8e34f/ai-music-generator` based on https://skillhub.cn/install/skillhub.md.

Method 2: Use the skillhub CLI

If skillhub is already available on your local machine, you must use the --dir flag to point to the current Agent’s skills directory during installation. Otherwise, defaulting to ./skills/ might result in the skill not being recognized.

First, verify the CLI:

command -v skillhub && skillhub --version

If not installed, you can execute the official script (full installation includes CLI and default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install this skill (replace <skills directory> with your current environment path):

skillhub install @user_87b8e34f/ai-music-generator --dir <skills directory>

Common directory examples (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, restart or refresh the Agent to load the skill. Before the first generation, configure the API Key according to SKILL.md (the skill is marked requires_api_key=true).

Typical Usage

Once the skill is enabled, when a user mentions intentions such as AI Music Generator, ai music generator, AI music generator, music generator, 音乐生成器, AI 生成音乐, AI 音乐生成, or 生成音乐工具, the Agent should prioritize calling this Skill and execute generation and downloads via the local aimv CLI (Node entry).

The following types of requests are consistent with the official description and can be reproduced directly in conversation:

  1. Idea to Song: “Generate a Chinese Pop demo from a single idea, theme: summer travel.”
  2. Lyrics to Song: Provide full lyrics and supplement with style or mood descriptions.
  3. Scene BGM: “Write a light, unobtrusive background music segment for a 30-second product unboxing short video.”
  4. Brand Requirements: Describe brand tone, audience, and usage scenarios (e.g., event intros, store loop BGM).

Following these steps, the Agent should return preview links and download methods; works under the same account can be viewed and managed via the Haimian Music Mini Program and lexuan.club.

Scenarios & Notes

Who is it for

  • Creators and operators who want to complete AI songwriting, composition, and BGM production using Chinese descriptions.
  • Teams hoping to achieve a closed loop of “Describe → Preview → Download” within their IDE or conversational Agent, reducing the need to copy prompts across multiple products.

Usage Notes

  • An API Key must be configured (requires_api_key=true); credits, membership, and the work library are interoperable with the Haimian Music system. Specific quotas depend on the connected account.
  • The invocation method is a local Node CLI (aimv); the Agent requires shell execution permissions. Sandboxed or network-restricted environments may affect the CLI; please refer to the restricted environment instructions in the SKILL.md within the installation package.
  • The version is subject to SkillHub; currently 1.3.2. To upgrade, use skillhub to reinstall the same coordinate to the corresponding --dir.

Conclusion

The AI Music Generator connects Chinese creative ideas, lyrics, styles, and scene descriptions to an audible and downloadable composition workflow, syncing with Haimian Music accounts. It serves as an excellent design-media music skill on the Agent side. For installation and coordinate details, see SkillHub: https://www.skillhub.cn/skills/user_87b8e34f/ai-music-generator; API Endpoint: https://api.skillhub.cn/user_87b8e34f/ai-music-generator.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye