Music Generation Studio
Paste the following prompt into your AI chat to install this skill:
Please refer to https://skillhub.cn/install/skillhub.md and install @beatra-ai/music-generation-studio.
About this skill
Specific Technical and Workflow Challenges in Music Generation
Transforming a creative idea—whether a theme, lyrics, or a reference audio clip—into a complete musical piece involves much more than simply triggering a "generate" button. Engineers and creators face several concrete challenges:
- Direction & Parameter Decision-Making: One must explicitly define musical style, structure, vocal/instrumental route, tempo, and instrumentation. These decisions directly impact the output and often need to be inferred based on the use case (e.g., background music, jingle).
- Rigorous Generation Workflows: Many professional music generation services operate on paid APIs with strict calling procedures, task states, and limitations on duplicate requests. Erratic calls or casual retries can lead to wasted costs or failed tasks.
- Technical Integration & Control: Interaction requires a specific client script (not a simple HTTP request) to handle authentication, file uploads, task polling, and result parsing with the backend service.
- The Gap in Quality Review: Generated results may diverge from expectations in details like vocal nuances, melodic continuity, or production effects. A structured review and iteration process is needed to pinpoint issues, rather than simply regenerating the entire track.
The Skill's Workflow and Technical Implementation
The beatra-ai/music-generation-studio skill addresses these issues through a standardized workflow, centered around a dedicated command-line client.
Core Capabilities and Key Steps
- Dedicated Client-Driven: All operations must be executed via the bundled
python3 scripts/mcp_client.py callscript, passing JSON parameters viastdin. This ensures correct handling of authorization, file uploads, and task management. Using REST APIs or the host Connector is prohibited. - Direction-First Approach: A "production card" with locked creative parameters must be finalized and agreed upon before any paid generation. This includes clarifying use case and audience, title, concept, mood, genre, structure, and providing complete lyrics (if any). All critical parameters (e.g.,
model: "suno-5.5") must be explicitly stated. - Single-Payment Confirmation: Only one payment authorization is granted for a single generation request. Confirming the production card, modifying parameters, or retrying after a lost task are all treated as new, separate paid requests, requiring a new
client_request_id. This prevents accidental charges. - Asynchronous Task Management: After calling
beatra.music.generate, atask_idis returned. You must poll the same task usingbeatra.tasks.get. Respect the returneddeadline_at; after it expires (or after 30 minutes of polling without it), stop and report the status and recovery method, rather than automatically resubmitting. The task list is only used to find a lost ID; a full parameter match is required to reuse aclient_request_id. - Structured Review & Iteration: After delivering the clips (
task.output.clips), review various dimensions (composition, arrangement, vocal performance, etc.) based on technical capability. Translate the biggest gap into a focused, re-approved generation request rather than automatically redoing the entire track.
Scope and Key Constraints
- Use Case Focus: This skill is for original music generation based on clear direction (theme/lyrics). For covers/adaptations, use
ai-song-cover-studio. For personalized gift songs, usepersonalized-song-maker. For short video loop BGM, useshort-video-bgm-studio. - Models & Parameters: The default model is
suno-5.5. For other models or their specific controls, query viabeatra.models.list. Controls from different models (e.g., Suno vs. MiniMax) cannot be swapped. - Reference Audio Handling: Uploading local reference audio (e.g., FLAC, MP3, WAV) must be done via the bundled dedicated upload command, which handles authorization and validation. Reference audio guides generation; afterwards, review whether its characteristics were appropriately preserved or altered.
- System Integration: The skill checks for updates silently, but an update failure does not affect current operations. Never directly manipulate the
~/.beatradirectory or attempt to disconnect shared credentials, as other Beatra packages may depend on the same connection. - Technical Attributes as Non-Guarantees: Attributes like singer identity, pronunciation accuracy, precise duration, and natural melodic continuation are quality points for post-generation review, not guaranteed properties of the service.
Use Cases
- Defining the style for a new podcast's intro, outro, and transition music, and needing to generate 2-3 short instrumental transition clips with different moods based on each episode's theme.
- An indie game developer has a backstory for a key character and needs to transform a description like 'lonely, mysterious, with electronic pulse-like atmosphere' into a ~60-second character theme track.
- A short video creator filmed a cityscape at night and needs to match it with a 30-second, upbeat, futuristic-sounding loop BGM to serve as the video's background music.
- A lyricist has written theme song lyrics for an animation short and needs to convert the 'hope and adventure' theme and complete lyrics into a pop song demo with a clear structure (verse, chorus) and emotional arc.
Best For
- Independent podcasters who need to customize music segments for each episode's theme and manage stylistic consistency.
- Indie game sound/music designers needing to rapidly generate conceptual theme music during early prototyping.
- Music producers or songwriters looking to develop a melodic idea, lyrics, or a rough recording into a polished musical draft for further production.
- Short video content creators or small ad teams needing to quickly create or customize non-copyrighted background music for specific visual content.
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.