360 Secure SkillHub
360 安全技能中心

SenseAudio-ASR

这是SenseAudio语音识别专属工具,核心功能含离线HTTP文件转录、实时WebSocket流式转写、音频质量分析、识别历史查询,可按需选择Lite/ASR/Pro/DeepThink等模型。支持构建合规请求、校验参数兼容性、解析返回结果,需通过SENSEAUDIO_API_KEY鉴权,适用于离线转写、实时语音交互、音频质检等场景。

scikkk
scikkk
热度 58.91
最近更新 2026-05-11 17:31:25
分类:开发依赖:第三方 API / 内部调用大模型应用场景:API 集成 / 调试排错 / 翻译 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add senseaudio-asr
Metadata
name
senseaudio-asr
description
Build and troubleshoot SenseAudio speech recognition integrations, including HTTP transcription (`/v1/audio/transcriptions`), realtime WebSocket ASR (`/ws/v1/audio/transcriptions`), audio quality analysis (`/v1/audio/analysis`), and recognition record queries (`/v1/audio/records`). Use this whenever user asks for speech-to-text, diarization, translation, streaming ASR, or ASR model/parameter selection.
version
1.0.0
metadata
{"openclaw":{"requires":{"env":["SENSEAUDIO_API_KEY"]},"primaryEnv":"SENSEAUDIO_API_KEY","homepage":"https://senseaudio.cn"}}

SenseAudio ASR

Use this skill for all SenseAudio speech recognition tasks.

Credential source: read the API key from SENSEAUDIO_API_KEY and send it only in the Authorization: Bearer ... header. Do not place API keys in query parameters, logs, transcripts, or saved examples.

Read First

  • references/asr.md

Workflow

  1. Pick recognition mode:
  • HTTP file transcription for offline audio.
  • WebSocket for realtime streaming microphone/audio chunks.
  • Audio analysis for noise and quality checks before recognition.
  • Records query for recent recognition history lookup.
  1. Choose model by feature needs:
  • Lite for low-cost basic transcription.
  • ASR for streaming, translation, diarization, sentiment, and timestamps.
  • Pro when diarization plus explicit max_speakers control is needed.
  • DeepThink for streaming, translation, and intelligent editing; do not send language, diarization, sentiment, timestamps, ITN, or punctuation controls.
  1. Build minimal request:
  • Required auth, file/audio format, model.
  • Add optional controls only when needed.
  • Keep uploaded files at or below 10MB; split longer audio before sending.
  1. Validate compatibility:
  • Check model-parameter support before sending.
  • Enforce WS pcm / 16000Hz / mono requirements.
  • For HTTP stream=true, expect SSE text deltas only, not structured verbose fields.
  1. Parse robustly:
  • Handle JSON/text/verbose/SSE forms.
  • Handle WS terminal events and failures.
  • Treat returned audio URLs, api_key, session_id, and trace_id as sensitive operational data.