Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cinience avatar

Alicloud Ai Audio Asr

  • 285 installs
  • 396 repo stars
  • Updated July 18, 2026
  • cinience/alicloud-skills

alicloud-ai-audio-asr is an agent skill that integrates Alibaba Cloud automatic speech recognition for developers who need to transcribe user audio in voice agents, support tools, and meeting applications.

About

alicloud-ai-audio-asr is a cinience/alicloud-skills agent workflow that integrates Alibaba Cloud automatic speech recognition to transcribe user audio in voice agents, support tools, meeting apps, and hands-free product workflows. The skill guides SDK or API setup, authentication against Alibaba Cloud AI services, audio format handling, and callback or streaming patterns so agents receive reliable text transcripts from microphone or file input. Developers invoke alicloud-ai-audio-asr when building Mandarin or multilingual voice interfaces, customer-support bots, or meeting capture features that must run on Alibaba Cloud rather than generic cloud STT providers. The skill fits backend and agent engineers embedding ASR into Node, Python, or mobile clients who need vendor-specific request signing, endpoint selection, and error handling spelled out. alicloud-ai-audio-asr complements other alicloud-skills for vision or LLM services when products combine speech input with downstream language model reasoning. Reach for it during PRD-to-code phases where audio ingestion, batch transcription, and realtime partial results must land in production services.

  • Speech-to-text wiring
  • Streaming ASR support
  • Multi-format audio ingest
  • AliCloud AI audio APIs
  • Agent voice input enablement

Alicloud Ai Audio Asr by the numbers

  • 285 all-time installs (skills.sh)
  • Ranked #2,318 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-ai-audio-asr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs285
repo stars396
Last updatedJuly 18, 2026
Repositorycinience/alicloud-skills

How do you integrate Alibaba Cloud speech recognition?

Integrate Alibaba Cloud automatic speech recognition to transcribe user audio in voice agents, support tools, meeting apps, and hands-free product workflows.

Who is it for?

Developers building voice agents or apps on Alibaba Cloud who need automatic speech recognition wired with correct auth and audio handling.

Skip if: Teams standardized on non-Alibaba STT providers such as AWS Transcribe or Google Speech without Alibaba Cloud requirements.

When should I use this skill?

A developer adds Alibaba Cloud ASR to transcribe microphone or file audio in voice agents, support tools, or meeting applications.

What you get

Alibaba Cloud ASR SDK or API integration, auth configuration, audio pipeline wiring, and transcription output handlers for agent or app workflows.

  • ASR integration code
  • Auth configuration
  • Transcription handler wiring

Files

SKILL.mdMarkdownGitHub ↗

Category: provider

Model Studio Qwen ASR (Non-Realtime)

Validation

mkdir -p output/alicloud-ai-audio-asr
python -m py_compile skills/ai/audio/alicloud-ai-audio-asr/scripts/transcribe_audio.py && echo "py_compile_ok" > output/alicloud-ai-audio-asr/validate.txt

Pass criteria: command exits 0 and output/alicloud-ai-audio-asr/validate.txt is generated.

Output And Evidence

  • Store transcripts and API responses under output/alicloud-ai-audio-asr/.
  • Keep one command log or sample response per run.

Use Qwen ASR for recorded audio transcription (non-realtime), including short audio sync calls and long audio async jobs.

Critical model names

Use one of these exact model strings:

  • qwen3-asr-flash
  • qwen3-asr-flash-2026-02-10
  • qwen-audio-asr
  • qwen3-asr-flash-filetrans
  • qwen3-asr-flash-filetrans-2025-11-17

Selection guidance:

  • Use qwen3-asr-flash, qwen3-asr-flash-2026-02-10, or qwen-audio-asr for short/normal recordings (sync).
  • Use qwen3-asr-flash-filetrans or qwen3-asr-flash-filetrans-2025-11-17 for long-file transcription (async task workflow).

Prerequisites

  • Install SDK dependencies (script uses Python stdlib only):
python3 -m venv .venv
. .venv/bin/activate
  • Set DASHSCOPE_API_KEY in environment, or add dashscope_api_key to ~/.alibabacloud/credentials.

Normalized interface (asr.transcribe)

Request

  • audio (string, required): public URL or local file path.
  • model (string, optional): default qwen3-asr-flash.
  • language_hints (array<string>, optional): e.g. zh, en.
  • sample_rate (number, optional)
  • vocabulary_id (string, optional)
  • disfluency_removal_enabled (bool, optional)
  • timestamp_granularities (array<string>, optional): e.g. sentence.
  • async (bool, optional): default false for sync models, true for qwen3-asr-flash-filetrans.

Response

  • text (string): normalized transcript text.
  • task_id (string, optional): present for async submission.
  • status (string): SUCCEEDED or submission status.
  • raw (object): original API response.

Quick start (official HTTP API)

Sync transcription (OpenAI-compatible protocol):

curl -sS --location 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions' \
  --header "Authorization: Bearer $DASHSCOPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "qwen3-asr-flash",
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "input_audio",
            "input_audio": {
              "data": "https://dashscope.oss-cn-beijing.aliyuncs.com/audios/welcome.mp3"
            }
          }
        ]
      }
    ],
    "stream": false,
    "asr_options": {
      "enable_itn": false
    }
  }'

Async long-file transcription (DashScope protocol):

curl -sS --location 'https://dashscope.aliyuncs.com/api/v1/services/audio/asr/transcription' \
  --header "Authorization: Bearer $DASHSCOPE_API_KEY" \
  --header 'X-DashScope-Async: enable' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "qwen3-asr-flash-filetrans",
    "input": {
      "file_url": "https://dashscope.oss-cn-beijing.aliyuncs.com/audios/welcome.mp3"
    }
  }'

Poll task result:

curl -sS --location "https://dashscope.aliyuncs.com/api/v1/tasks/<task_id>" \
  --header "Authorization: Bearer $DASHSCOPE_API_KEY"

Local helper script

Use the bundled script for URL/local-file input and optional async polling:

python skills/ai/audio/alicloud-ai-audio-asr/scripts/transcribe_audio.py \
  --audio "https://dashscope.oss-cn-beijing.aliyuncs.com/audios/welcome.mp3" \
  --model qwen3-asr-flash \
  --language-hints zh,en \
  --print-response

Long-file mode:

python skills/ai/audio/alicloud-ai-audio-asr/scripts/transcribe_audio.py \
  --audio "https://dashscope.oss-cn-beijing.aliyuncs.com/audios/welcome.mp3" \
  --model qwen3-asr-flash-filetrans \
  --async \
  --wait

Operational guidance

  • For local files, use input_audio.data (data URI) when direct URL is unavailable.
  • Keep language_hints minimal to reduce recognition ambiguity.
  • For async tasks, use 5-20s polling interval with max retry guard.
  • Save normalized outputs under output/alicloud-ai-audio-asr/transcripts/.

Output location

  • Default output: output/alicloud-ai-audio-asr/transcripts/
  • Override base dir with OUTPUT_DIR.

Workflow

1) Confirm user intent, region, identifiers, and whether the operation is read-only or mutating. 2) Run one minimal read-only query first to verify connectivity and permissions. 3) Execute the target operation with explicit parameters and bounded scope. 4) Verify results and save output/evidence files.

References

  • references/api_reference.md
  • references/sources.md
  • Realtime synthesis is provided by skills/ai/audio/alicloud-ai-audio-tts-realtime/.

Related skills

How it compares

Use alicloud-ai-audio-asr for Alibaba Cloud STT; pick other cloud ASR skills when the deployment must stay on AWS, GCP, or Azure speech services.

FAQ

What workloads does alicloud-ai-audio-asr target?

alicloud-ai-audio-asr targets voice agents, customer support tools, meeting applications, and hands-free product workflows that need Alibaba Cloud automatic speech recognition. The skill focuses on integrating ASR rather than generic LLM chat without audio input.

Does alicloud-ai-audio-asr require Alibaba Cloud credentials?

alicloud-ai-audio-asr assumes developers configure Alibaba Cloud authentication and AI service endpoints as part of SDK or API integration. The skill guides wiring and transcription handlers so agents produce reliable text output from user audio streams or uploaded files.

AI & Agent Buildingllmautomationagents

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.