modelscope.cn

byted-las-asr-pro

ASR (Automatic Speech Recognition) — enhanced speech-to-text built on Doubao large model, with audio preprocessing, denoising, and extended analysis capabilities. Async API. Choose this skill when: - Input is a video file (mp4/mov/mkv) — auto-extracts audio track - Audio needs denoising before recognition - File exceeds 512MB or 5 hours (no size limit) - Audio source is a TOS internal path (tos://bucket/key) - Need structured JSON output with timestamped utterances and metadata - Need speaker d…

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,114 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

LAS-ASR-PRO(lasasrpro)

本 Skill 用于把「LAS-ASR-PRO 接口文档」里的 submit/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 未找到:设置环境变量 LASAPIKEY 或提供 env.sh
  • Parameter.Invalid:检查字段结构/枚举值是否符合文档(推荐先最小化 payload,再逐项加字段)。
  • audio_format 不正确:请确保容器格式与真实音频一致(以服务端支持为准)。