| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- # Dashscope (阿里云通义千问) Fun-ASR Configuration
- # For details, see: https://help.aliyun.com/zh/dashscope/developer-reference/asr-api
- NAME: dashscopeASR
- VERSION: "v2.0.0"
- DESC: "阿里云通义千问 Fun-ASR 实时语音识别(支持通义千问3-ASR-Flash)"
- META:
- official: "https://help.aliyun.com/zh/dashscope/"
- tips: "使用阿里云通义千问的 Fun-ASR API 进行语音识别,支持中英文混合识别。推荐使用 fun-asr-realtime 模型(通义千问3-ASR-Flash)"
- fee: "付费"
- infer_type: "normal"
- CUSTOM:
- api_key: "sk-b4c852e0727f4b0c90bb191842dfe0a0"
- PARAMETERS: [
- {
- name: "model",
- description: "识别模型(推荐使用fun-asr-realtime,即通义千问3-ASR-Flash)",
- type: "string",
- required: false,
- choices: ["fun-asr-realtime", "paraformer-realtime-v2", "paraformer-v2"],
- default: "fun-asr-realtime"
- },
- {
- name: "sample_rate",
- description: "音频采样率",
- type: "int",
- required: false,
- choices: [8000, 16000],
- default: 16000
- },
- {
- name: "format",
- description: "音频格式",
- type: "string",
- required: false,
- choices: ["pcm", "wav", "mp3", "opus", "speex", "aac"],
- default: "mp3"
- },
- {
- name: "language_hints",
- description: "语言提示(仅 paraformer-realtime-v2 和 paraformer-v2 支持)",
- type: "list",
- required: false,
- choices: [],
- default: ["zh", "en"]
- }
- ,
- {
- name: "wake_word",
- description: "唤醒词(识别到后才开始交互)",
- type: "string",
- required: false,
- choices: [],
- default: "小天小天"
- }
- ,
- {
- name: "inactivity_seconds",
- description: "空闲超时秒数(识别调用超时)",
- type: "int",
- required: false,
- choices: [],
- default: 300
- }
- ]
|