LaunchKit · 2026
Back to Skills

music-generator

AI & LLMsv1.0.0

Generates music from a structured Composition Plan.

0
0 downloads
by @wells1137

Setup & Installation

openclaw skills install @wells1137/music-generator

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install music-generator

What This Skill Does

Takes a structured Composition Plan JSON and generates an audio file using an AI music model. Validates the output against duration, style, and fidelity criteria, then retries generation up to three times on failure.

Built-in quality validation and automatic retries reduce manual review cycles compared to calling a music API directly.

When to use it

  • Generating background music for a video after designing the composition
  • Producing instrumental tracks with precise duration matching
  • Automating audio output in a content production pipeline
  • Retrying music generation when initial output fails quality checks
  • Validating audio fidelity before delivery in a music workflow

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Generate the final audio file from my composition plan

AGENT
  1. 1Load the Composition Plan JSON file
  2. 2Configure generation parameters: duration_ms, output format (WAV/MP3), and instrumental flag
  3. 3Call the music generation model API with the plan and parameters
  4. 4Validate output for duration match (±0.5s), style consistency, and audio fidelity
  5. 5Return the validated file or retry up to 3 times on quality failure
OUTPUT

A validated WAV or MP3 audio file matching the Composition Plan specifications