360 Secure SkillHub
360 安全技能中心

Aliyun Qwen Livetranslate

该 Skill 面向阿里云百炼 Qwen LiveTranslate 实时语音翻译,定义了 qwen3-livetranslate-flash 与 realtime 两个模型的规范化接口(源语言、目标语言、音频格式、采样率),并提供请求载荷准备脚本,输出翻译文本、源文本与可选音频结果,保存到指定输出目录。

cinience
cinience
热度 43.44
最近更新 2026-05-11 17:39:08
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:翻译

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add aliyun-qwen-livetranslate
Metadata
name
aliyun-qwen-livetranslate
description
Use when live speech translation is needed with Alibaba Cloud Model Studio Qwen LiveTranslate models, including bilingual meetings, realtime interpretation, and speech-to-speech or speech-to-text translation flows.
version
1.0.0

Category: provider

Model Studio Qwen LiveTranslate

Validation

mkdir -p output/aliyun-qwen-livetranslate
python -m py_compile skills/ai/audio/aliyun-qwen-livetranslate/scripts/prepare_livetranslate_request.py && echo "py_compile_ok" > output/aliyun-qwen-livetranslate/validate.txt

Pass criteria: command exits 0 and output/aliyun-qwen-livetranslate/validate.txt is generated.

Output And Evidence

  • Save translation session payloads and response summaries under output/aliyun-qwen-livetranslate/.

Critical model names

Use one of these exact model strings:

  • qwen3-livetranslate-flash
  • qwen3-livetranslate-flash-realtime

Typical use

  • Chinese/English meeting interpretation
  • Live subtitles in another language
  • Call-center agent assist with translated captions

Normalized interface (audio.livetranslate)

Request

  • model (string, optional): default qwen3-livetranslate-flash
  • source_language (string, required)
  • target_language (string, required)
  • audio_format (string, optional): e.g. pcm
  • sample_rate (int, optional): e.g. 16000

Response

  • translated_text (string)
  • source_text (string, optional)
  • audio_url or audio_chunk (optional, model dependent)

Quick start

python skills/ai/audio/aliyun-qwen-livetranslate/scripts/prepare_livetranslate_request.py \
  --source-language zh \
  --target-language en \
  --output output/aliyun-qwen-livetranslate/request.json

Notes

  • Prefer the realtime model for continuous streaming sessions.
  • Prefer the non-realtime flash model for simpler integration and lower client complexity.

References

  • references/sources.md