AI Song Generator
Paste the following prompt into your AI chat to install this skill:
Please refer to https://skillhub.cn/install/skillhub.md to install @user_87b8e34f/ai-song.
About this skill
The Problem It Solves
For developers needing to rapidly prototype or create custom audio content, producing a complete song from scratch involves complex steps like lyric writing, composition, arrangement, and recording, which typically require specialized software and audio engineering expertise. This process is time-consuming and has a high barrier to entry. This skill encapsulates this workflow via an AI model into a programmatically callable command-line tool, allowing developers to generate complete, audition-ready song audio and project files directly from textual descriptions (e.g., theme, mood, style, lyrics), drastically shortening the path from创意 to deliverable.
Core Workflow & Capabilities
The core of this skill is the aimv command-line tool, which serves as the unified interface to interact with the backend AI generation service and the 海绵音乐 (Haimian Music) platform. The workflow revolves around key steps:
- Authentication: First-time use requires linking with a
海绵音乐account via theaimv initcommand. The tool generates a dedicated connection page URL; after user login, anAPI Keyis obtained to complete authentication. All subsequent operations use thisAPI Keyfor identity verification. - Song Generation: This is the core capability. Developers invoke the
aimv song createcommand and provide a text prompt (e.g.,--prompt "A light pop song about a summer trip"). The AI model generates complete song audio (typically two candidate versions), lyrics, and metadata based on the prompt. The generation process occurs asynchronously in the cloud. - Status Query & Management: Generation tasks may take time. Their status and results can be checked via commands like
aimv session listoraimv song status. All generated works are synced to the海绵音乐platform, and can be further played, managed, and downloaded via the accompanying WeChat Mini Program or thelexuan.clubweb interface. - Error Handling: The tool provides structured error codes. For instance, a
code=auth_requirederror returns a login URL;code=insufficient_pointsreturns a payment URL. This allows an Agent to automatically parse errors and guide users to the next step (e.g., login or payment) instead of merely reporting an error.
Boundaries & Considerations
- Environmental Dependencies: Skill execution relies on network connectivity. In some restricted Agent sandbox environments, if the
aimvcommand fails due to network limits, try setting the environment variableAIMV_FORCE_CURL=1to make the tool use the systemcurlfor transport. Ifaimvis completely unusable, fallback to directly calling its REST API withcurl. - Pay Model & Quotas: Song generation consumes credits or membership quota on the
海绵音乐platform. When encountering errors likecode=insufficient_points(402) orcode=quota_limited(429), the user must be directed to visit the returnedpay_urlto top up credits or subscribe to a membership plan. This is a user-participatory payment step. - Content Dependence: Generation quality heavily depends on the AI model's capabilities and the quality of the user's text prompt. Copyright, originality, and style of generated songs may be ambiguous, and the level of finish may not meet all professional demands. It is best suited for scenarios like rapid exploration, demo creation, or background music for short videos.
Use Cases
- Quickly create original background music for short-form video platforms (e.g., Douyin, Bilibili) that matches a specific mood and style, avoiding copyright risks and saving time searching for tracks.
- In the early stages of content creation, directly convert a piece of lyric text or a thematic concept into a complete, auditionable song demo to evaluate and iterate on arrangement and melody directions.
- Batch-generate multiple candidate theme songs in various styles (e.g., pop, traditional Chinese) for an online event or product promotion, suitable for internal team voting or A/B testing.
Best For
- Independent musicians or songwriters who need to quickly develop melody fragments or lyric snippets into complete demos to test market reception or seek collaboration.
- Social media content operators responsible for regularly producing short videos for a brand account, requiring a steady supply of original background music to maintain content freshness.
- Audio designers for games or films who need to quickly provide multiple stylistic ambient music proposals for trailers or cutscenes during the early project stages.
Related Skills
Restyle a short video into a new visual style while preserving core elements such as characters, actions, and composition, suitable for various creative conversions like anime, illustration, ink wash, etc.
Create Douyin vertical video covers from topics, hooks, or materials with support for creative generation, image synthesis, and refinement.
An AI tool that transforms real photos into specified illustration styles while preserving subject recognition.
An engineering-driven solution that integrates design styles, UX workflows, design systems, and multi-platform implementation to solve cross-project design consistency.