跳到正文
TakoAPI
返回技能列表

music-generator

由 wells1137 提供

AI & LLMs
—暂无评分
你的评分

简介

Generates music from a structured Composition Plan.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

安装

clawhub install wells1137/music-generator

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接