SkillsGrove
SkillsGrove/Producción de vídeo/bolecodex/volcano-videocut-openclaw/LAS 大模型语音识别

LAS 大模型语音识别

Instalación

$npx skills add https://github.com/bolecodex/volcano-videocut-openclaw --skill 'LAS 大模型语音识别'
$git clone --depth 1 https://github.com/bolecodex/volcano-videocut-openclaw.git /tmp/volcano-videocut-openclaw && mkdir -p ~/.claude/skills && cp -r /tmp/volcano-videocut-openclaw/skills/byted-las-asr-pro ~/.claude/skills/LAS-大模型语音识别
Instala por favor esta Agent Skill por mí: https://github.com/bolecodex/volcano-videocut-openclaw/tree/ccd47a63e74afcac7cfa3daaab2df2df512ace1a/skills/byted-las-asr-pro. Lee primero su SKILL.md y sus scripts, y solo instálala en mi carpeta de skills cuando hayas confirmado que es segura.

Resumen

Descripción original · Apache-2.0基于豆包大模型 ASR(LAS-ASR-PRO)的高精度语音转写:支持视频自动抽取音轨、降噪预处理、超大文件与超长时长、 TOS 内网路径(tos://)输入;输出带时间戳的分句 JSON,可选说话人分离、情感/性别/语速、敏感词过滤等扩展分析。 异步 submit/poll。适用于台词精转、会议纪要、多语言音视频(支持多格式与自动语种检测)。需 LAS 侧鉴权与算子配置。
El SKILL.md siguiente se reproduce de bolecodex/volcano-videocut-openclaw (commit ccd47a6) bajo la licencia Apache-2.0. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.. Licencia: skills/byted-las-asr-pro/LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.

LAS-ASR-PRO(las_asr_pro)

本 Skill 用于把「LAS-ASR-PRO 接口文档」里的 submit/poll 异步调用流程,封装成可重复使用的脚本化工作流:

  • POST https://operator.las.cn-beijing.volces.com/api/v1/submit 提交转写任务
  • POST https://operator.las.cn-beijing.volces.com/api/v1/poll 轮询任务状态并获取识别结果

快速开始

在本 skill 目录执行:

python3 scripts/skill.py --help

提交并等待

python3 scripts/skill.py submit \
  --audio-url "https://example.com/audio.wav" \
  --audio-format wav \
  --model-name bigmodel \
  --region cn-beijing \
  --out result.json

仅提交(返回 task_id)

python3 scripts/skill.py submit \
  --audio-url "https://example.com/audio.wav" \
  --audio-format wav \
  --no-wait

轮询 / 等待

python3 scripts/skill.py poll <task_id>
python3 scripts/skill.py wait <task_id> --timeout 1800 --out result.json

参数与返回字段

详见 references/api.md。

常见问题

  • API Key 未找到:设置环境变量 LAS_API_KEY 或提供 env.sh。
  • Parameter.Invalid:检查字段结构/枚举值是否符合文档(推荐先最小化 payload,再逐项加字段)。
  • audio_format 不正确:请确保容器格式与真实音频一致(以服务端支持为准)。
Ver el texto completo de la licencia (Apache-2.0)
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.