Lyrics-to-Song AI: Generating Audible, Downloadable Full Songs from Lyrics within an Agent

Introduction

Lyricists and musicians typically start with lyrics and then seek arrangement services or demo channels. Building your own music generation API, handling polling and downloads, is costly; simply clicking “generate” on a webpage makes it difficult to integrate with the workflow of coding assistants like Cursor or Codex. Here, we introduce the community Skill “Lyrics to Song AI” (@user_87b8e34f/lyrics-to-song) on SkillHub: after providing lyrics, a title, and a style in the conversation, the Agent invokes a local aimv CLI to generate the song via the Sponge Music (海绵音乐) backend, returning preview and download capabilities.

What is this

“Lyrics to Song AI” is an Agent Skill designed for content-creation scenarios. The current version is 1.3.2, maintained by the community publisher user_87b8e34f, and Powered by Sponge Music. It encapsulates the process “Chinese or English lyrics → complete song” into a standard SKILL.md description + local Node CLI (bin/aimv.js), rather than acting as a standalone MCP service.

Generation results are synced to your Sponge Music account and can be managed further via the “Sponge Music AI Songwriting” mini-program and lexuan.club. The SkillHub tag indicates requires_api_key=true; first-time users must complete account connection and configure the API Key on the webpage.

Core Features

Verified via documentation within the Skill package, the capabilities include:

  • Input: Provide full lyrics (Chinese or English) accompanied by a Title, Style (e.g., mandopop warm), and vocal direction to generate a complete song.
  • Output: Use the CLI’s --wait flag to wait for generation to finish, obtaining a preview link and audio download. Each project typically produces two candidates, which should be presented to the user together.
  • Agent Integration: The recommended tool name on the Agent side is aimv, underlying node <install_dir>/bin/aimv.js; it also supports reading lyrics from a file via song create --lyrics-file.
  • Account & Billing: Account, credits, membership, and the work library are interoperable with the Sponge Music mini-program / lexuan.club. In cases of not being logged in, insufficient credits, or quota limits, the CLI outputs structured prompts containing connect_url / pay_url.
  • Sandbox Support: If the sandbox only allows curl, you can set AIMV_FORCE_CURL=1 to retry, or use the from-lyrics API as described in SKILL.md to handle creation, polling, and downloading.

Trigger Semantics: Covers scenarios such as lyrics to song, generating songs from lyrics, lyrics composition, AI lyrics to song, Chinese lyrics to song, AI composition, turning lyrics into a song, and “lyrics to song”.

Installation and Activation

1. Install the SkillHub CLI (if not already installed)

First, check if the CLI is available:

command -v skillhub && skillhub --version

If not installed, you can install just the CLI (see SkillHub Installation Docs for full installation):

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

2. Install “Lyrics to Song AI” to the current Agent’s skills directory

When installing, you must use --dir to point to the skills directory recognized by your current Agent; otherwise, installing to the default ./skills/ might result in it not being loaded. Common path examples:

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

Taking Cursor as an example:

skillhub install @user_87b8e34f/lyrics-to-song --dir ~/.cursor/skills/

Once installed, the directory is generally .../skills/@user_87b8e34f/lyrics-to-song, containing SKILL.md and bin/aimv.js. The runtime requires Node.js >= 18. The runtime code is bundled in the package, so pnpm install is not required.

3. Initialize the API Key

After entering the Skill installation directory, run the following via the Agent or your local machine:

node ./bin/aimv.js init

The CLI will provide a connection page (https://lexuan.club/skills/connect?slug=lyrics-to-song&from=skill). After the user logs in on the webpage (new users are auto-registered), they copy the API Key and run:

node ./bin/aimv.js init --api-key <KEY>

You can also write the Key non-interactively:

node ./bin/aimv.js config set-api-key --stdin

Codex: You can copy SKILL.md to ~/.codex/skills/lyrics-to-song/ and restart Codex. Do not use codex mcp add to register aimv (it is a local CLI, not an MCP server).
Claude Code / Claude Desktop: Depending on whether the client supports local Skills or local command tools, place SKILL.md or register aimv as a node + bin/aimv.js path.

Typical Usage

Assuming initialization is complete and the Agent can execute shell commands, lyricists can describe their needs directly in the conversation, and the Agent will run the recommended commands. Verify configuration:

node ./bin/aimv.js config show

Example for lyrics to song (inline lyrics):

node ./bin/aimv.js song create --lyrics "..." --title "海风里" --style mandopop warm --wait

Reading lyrics from a file:

node ./bin/aimv.js song create --lyrics-file ./lyrics.txt --title "海风里" --style mandopop warm --wait

--wait blocks until the task completes or times out. If code=wait_timeout appears, the task may still be generating in the background, and you need to query it later according to the CLI’s [hint].
Example user phrasing: “Turn these lyrics into a warm Chinese folk song,” “Turn these English lyrics into an emotional indie pop song.” The Agent should call the CLI directly instead of asking the user to copy commands to the terminal (unless the environment lacks command execution permissions).

When using the lyrics-to-song API, the creation endpoint is from-lyrics. The request body fields are lyrics, title, and style_tags (see the curl example in SKILL.md within the installation directory for details). The default API Base is https://music.68zysm.cn/api/v3.

Use Cases and Notes

Who is it for: Lyricists, musicians, short-video creators, and content creators who need “lyrics to song”, “fill-in-lyrics to song”, or “Chinese lyrics to song” capabilities. It is ideal for those who want to manage both demo samples and final works uniformly within their Sponge Music account.

Notes on Use:

  • Depends on a Sponge Music account and API Key; rules regarding credits, membership, and quotas are subject to the 402 / 429 responses and pay_url returned by the backend.
  • aimv is a generic CLI tool name; this Skill focuses on lyrics-to-song. Do not register bin/aimv.js as an MCP stdio service.
  • This is a SkillHub community source. You can view the version and description on the SkillHub page before installing. The current SkillHub display shows a rating of approximately 100000 and about 3491 downloads (based on page statistics, which vary over time).

Conclusion

“Lyrics to Song AI” consolidates lyrics, titles, and styles into a local CLI workflow executable by an Agent, connecting with Sponge Music for previews, downloads, and account syncing. If you want to complete “lyrics to song” tasks within your IDE, you can install @user_87b8e34f/lyrics-to-song from SkillHub:

  • SkillHub Page: https://www.skillhub.cn/skills/user_87b8e34f/lyrics-to-song
  • Skill Coordinate API: https://api.skillhub.cn/user_87b8e34f/lyrics-to-song
羽毛球分组比赛记分
小程序二维码

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

Xiaoye