Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

controlfoley-audio-generatorControlfoley 音频发生器

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

5,958

周安装

241

GitHub Stars

2

下载量

1,870
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:controlfoley-audio-generator(Controlfoley 音频发生器)
来源仓库:https://github.com/yjx-research/controlfoley-audio-generator
安装命令:
openclaw skills install controlfoley-audio-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install controlfoley-audio-generator

简介

A multi-functional audio generation tool for SFX generation, video-to-audio and text-to-audio. 多功能音频生成工具,集成可控视频生成音频、文本生成音频等功能.

SKILL.md

name
controlfoley-audio-generator
description
>

ControlFoley Audio Generator

A multi-functional audio generation tool powered by the ControlFoley model, integrating video sound effect (SFX) generation, video background music composition, text-to-audio and other functions to realize diversified creative audio generation.

This tool supports four modes: Video-to-Audio (V2A), Text-Controlled Video-to-Audio (TC-V2A), Audio-Controlled Video-to-Audio (AC-V2A), and Text-to-Audio (T2A).

Basic Info

FieldValue
Service OperatorXiaomi LLM Plus Team
API Endpointhttps://controlfoley.ai.xiaomi.com
Open Source Repohttps://github.com/xiaomi-research/controlfoley
Project Pagehttps://yjx-research.github.io/ControlFoley_web_page/
Online Demohttps://yjx-research.github.io/ControlFoley_web_page/#try-gen
Model Weightshttps://huggingface.co/YJX-Xiaomi/ControlFoley/
API KeyNot required
Script Pathscripts/foley.py

Prerequisites

python3 --version   # Python 3.x
curl --version      # curl for API submission
ffmpeg -version     # optional, for audio format conversion

Modes

ModeCommandInputOutputDescription
V2Av2a video.mp4Video file.mp4 + .flacGenerate audio matching the video content
TC-V2Av2a video.mp4 --prompt "text"Video + text.mp4 + .flacGenerate audio aligned with text prompts while staying synchronized with the video
AC-V2Av2a video.mp4 --ref-audio ref.wavVideo + reference audio.mp4 + .flacGenerate audio with timbre matching reference audio while staying synchronized with the video
T2At2a "prompt"Text description.flacGenerate audio from text descriptions

Usage (CLI version)

1. Text-to-Audio (T2A, default 8s)

python3 scripts/foley.py t2a "dog barking loudly in a park"

2. Video-to-Audio (V2A)

python3 scripts/foley.py v2a input.mp4

3. Text-Controlled Video-to-Audio (TC-V2A)

python3 scripts/foley.py v2a input.mp4 --prompt "footsteps on gravel with birds chirping"

4. Audio-Controlled Video-to-Audio (AC-V2A)

python3 scripts/foley.py v2a input.mp4 --ref-audio reference.wav

5. Specify duration

python3 scripts/foley.py t2a "A mountain stream murmurs, its gentle current lapping against the pebbles." --duration 15

6. Generate multiple candidates

python3 scripts/foley.py t2a "cat purring softly" --count 3

7. Fixed seed (reproducible results)

python3 scripts/foley.py t2a "rain on a tin roof" --seed 42

8. List available models

python3 scripts/foley.py models

Usage (API version)

POST

curl -X POST "https://controlfoley.ai.xiaomi.com/api/v1/v2a/submit" -F "file=@video_path" -F "prompt=footsteps on gravel with birds chirping"

return

{"taskId": "xxx", "message": "Task submitted successfully"}

GET

1. Available Models

curl -X GET "https://controlfoley.ai.xiaomi.com/api/v1/v2a/models" 

return

{"models":[{"name":"ControlFoley","enabled":true}]}

2. Status Inquiry

curl -X GET "https://controlfoley.ai.xiaomi.com/api/v1/v2a/status/{taskId}" 

return

  1. success:
{"urls":["{Domain name}/ControlFoley_output/{taskId}/{filename}"],"status":"success","done":true}
  1. processing:
{"status":"processing","done":false}
  1. pending:
{"status":"pending","queue_pos":1,"queue_position":1,"total_queue":2,"done":false}

3. Result Download

curl -X GET "https://controlfoley.ai.xiaomi.com/api/v1/v2a/ControlFoley_output/{taskId}/{filename}" --output ./output.flac

4. Status Inquiry & Result Download

curl -X GET "https://controlfoley.ai.xiaomi.com/api/v1/v2a/status_download/{taskId}" --output-dir ./output --output audio.zip

Parameters

T2A (Text-to-Audio)

ParameterDescriptionDefaultExample
promptAudio description text (required)"dog barking in park"
--modelModel IDControlFoley--model ControlFoley
--durationAudio length in seconds (max 30)8--duration 15
--negativeNegative prompt to exclude unwanted sounds--negative "noise, human voice"
--cfgCFG strength — higher = stricter prompt adherence4.5--cfg 6.0
--countNumber of variants to generate (1–5)1--count 3
--seedFixed random seed for reproducibility--seed 42
-o/--outdirOutput directory./output-o ./my_audio

V2A (Video-to-Audio)

ParameterDescriptionDefaultExample
videoInput video path (required)input.mp4
--modelModel IDControlFoley--model ControlFoley
--promptText prompt to guide audio generation (TC-V2A)--prompt "keyboard tapping"
--negativeNegative prompt to exclude unwanted sounds--negative "music, noise"
--ref-audioReference audio file for timbre control (AC-V2A)--ref-audio reference.wav
--cfgCFG strength4.5--cfg 7.0
--countNumber of variants to generate (1–5)1--count 2
--seedFixed random seed (not forwarded to API currently)--seed 42
-o/--outdirOutput directory./output-o ./results

Prompt Tips

  • Be specific: "cat footsteps on wooden floor" beats "cat sound"
  • Use negative prompts: --negative "human voice, music, noise" to filter unwanted audio
  • CFG tuning: high CFG (6.0–7.5) for precise control, low CFG (3.0–4.5) for creative freedom

Output & Post-Processing

  • Audio: .flac (44100 Hz, lossless)
  • Video: .mp4 (original video + generated audio track)
  • Results saved to --outdir, paths printed to stdout

Convert to MP3 for sharing:

ffmpeg -i output.flac -codec:a libmp3lame -qscale:a 2 output.mp3

Error Handling

IssueCauseFix
Internal URL inaccessibleResult URL uses .xiaomi.srv internal domainScript auto-falls back to /api/v1/v2a/ControlFoley_output/{task_id}/{filename}
Queue busyTask is waitingScript auto-polls up to ~5 min; check load via curl $API_BASE/health
Model unavailableModel not enabledRun foley.py models to see available models
Task timeoutService overloadedResubmit the task

API Reference

See ./references/api-reference.md for full endpoint documentation.

⚠️ Privacy & Security

  • Service Operator: Cloud processing is operated by the Xiaomi LLM Plus Team at https://controlfoley.ai.xiaomi.com
  • Data Upload: V2A/TC-V2A/AC-V2A modes upload the full video file to the remote service for processing. Do not upload videos containing sensitive personal or identifiable information
  • Data Processing: Uploaded videos and audio are used solely for audio generation. Results are returned via URL. Refer to the Xiaomi LLM Plus Team's terms of service for data retention and access control policies
  • No API Key Required: The service requires no authentication — please use it responsibly to avoid unnecessary load
  • Recommendation: Before first use, validate with a small, non-sensitive test clip

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.99%
按下载量换算1,739

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills