Skip to content
TakoAPI
Back to skills

music-generator

by wells1137

AI & LLMs
—Not yet rated
Your rating

Brief

Generates music from a structured Composition Plan.

Description

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

INPUT

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

AGENT
  1. 1

    Load the Composition Plan JSON file

  2. 2

    Configure generation parameters: duration_ms, output format (WAV/MP3), and instrumental flag

  3. 3

    Call the music generation model API with the plan and parameters

  4. 4

    Validate output for duration match (±0.5s), style consistency, and audio fidelity

  5. 5

    Return 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

Installation

clawhub install wells1137/music-generator

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links