dLazy AIdLazy AI
模型参考音频模型

keling-sfx

音效生成模型:可文本生音效,也可对参考视频生成配套音效/配乐。适合拟音、环境声与短视频声音补全。

音效生成模型:可文本生音效,也可对参考视频生成配套音效/配乐。适合拟音、环境声与短视频声音补全。

概览

字段
Model IDkeling-audio-sfx
CLIdlazy keling-sfx
MCPkeling-sfx(在 Claude Code 中显示为 mcp__dlazy__keling-sfx
类型audio
执行异步任务,默认轮询直到完成(--no-wait 可立即返回 generateId
批量支持 --batch <n> 并行扇出

参数

参数类型必填说明
promptstringNo提示词;默认 "";仅当 videos is empty
videosarray<url>No参考视频;video(接受 URL、本地路径或 data: URL);最多 1 项
duration"3" | "4" | "5" | "6" | "7" | "8" | "9" | "10"No时长(秒);默认 "5";仅当 videos is empty
prompt_mode"音效" | "配乐" | "无"No生成类型;默认 "音效";仅当 videos is non-empty
sound_effect_promptstringNo音效提示词;默认 "";仅当 videos is non-empty && !(prompt_mode!="音效")
bgm_promptstringNo配乐提示词;默认 "";仅当 videos is non-empty && !(prompt_mode!="配乐")
asmr_modestringNoASMR 模式;默认 false;仅当 videos is non-empty

--input @file.json--input '{...}' 也可一次性提供所有参数;命令行 flag 优先级更高。

CLI 示例

dlazy keling-sfx --help
dlazy keling-sfx --prompt "" --videos "https://example.com/source.mp4" --duration "5"
dlazy keling-sfx --prompt "" --videos "./local-video.mp4" --duration "5"
dlazy keling-sfx --prompt "" --videos "https://example.com/source.mp4" --duration "5" --dry-run
dlazy keling-sfx --prompt "" --videos "https://example.com/source.mp4" --duration "5" --no-wait
dlazy keling-sfx --prompt "" --videos "https://example.com/source.mp4" --duration "5" --batch 4

与管道组合

dlazy seedance-2.0-fast --prompt "参考视频" \
  | dlazy keling-sfx --videos - --prompt ""

MCP

MCP 由 AI 客户端调用,无需手写示例。把 dLazy 注册成 MCP server 后,工具会自动出现在客户端的工具列表里——Claude Code 中名字是 mcp__dlazy__keling-sfx,OpenClaw 等通用客户端按裸 keling-sfx 调用。

添加 MCP server 见 MCP 集成

输出

{
  "outputs": [
    { "type": "audio", "id": "o_...", "url": "https://files.dlazy.com/result.mp3", "mimeType": "audio/mpeg" }
  ]
}

媒体类型工具返回 image / video / audio / file output;可通过 --output url 让 stdout 只保留 URL。

On this page