白嫖!免费的ASR语音转文字在线API,速速用起!Freebie! Free ASR speech-to-text online API, start using it


AI free token/AI免费积分

 

 

零成本、高准确率,一行代码搞定 ASR 语音识别

图片

🆓 推荐的免费 ASR 模型

目前平台提供以下完全免费的语音识别模型:

图片
支持的模型

1️⃣ DianXin/TeleSpeechASR

  • • 特点:高准确率,支持中英文混合识别
  • • 适合:通用场景、会议转写

2️⃣ FunAudioLLM/SenseVoiceSmall

  • • 特点:轻量快速,中文识别表现优秀
  • • 适合:实时语音交互、短语音识别

3️⃣ Qwen2-Audio-7B-Instruct

  • • 特点:支持音频理解与问答,能力更强
  • • 适合:音频内容深度分析

🚀 如何调用 API

第一步:获取 API Key

注册平台账号并登录( https://siliconflow.cn ),在控制台中获取你的 API Key。

第二步:构建请求

ASR 功能通过多模态模型接口调用,使用 audio_url 参数传入音频文件地址。

图片
API 代码示例

请求参数说明

参数
说明
必填
model
模型名称,如 DianXin/TeleSpeechASR
✅
messages
消息内容,包含音频 URL
✅
audio_url
音频文件的 URL 地址(公网可访问)
✅

第三步:处理返回

API 返回标准 JSON 格式结果,从中提取识别出的文本内容即可。


🔄 工作流程

图片
工作流程

整个流程非常简单:

  1. 1. 准备音频文件 → 支持 wav、mp3、ogg、flac 等常见格式
  2. 2. 构建请求 → 使用 audio_url 传入音频地址
  3. 3. 调用 API → POST 请求到 /v1/chat/completions
  4. 4. 获取文本 → 从返回 JSON 中提取识别结果

💡 使用场景

  • • 🎤 语音输入法:为用户提供语音转文字功能,提升输入效率
  • • 📝 会议记录:会议录音自动转写为结构化文字记录,方便归档和检索
  • • 📱 语音客服:构建智能客服系统,自动处理用户语音咨询
  • • 🎙️ 播客转文字:自动生成字幕和内容摘要,方便二次传播
  • • 📊 数据分析:对语音内容进行结构化分析,提取关键信息
  • • 🎓 课堂笔记:录制课程音频,自动生成文字笔记和知识点总结

⚠️ 注意事项

  1. 1. 音频格式:建议使用 wav、mp3、ogg、flac 等常见格式
  2. 2. 文件大小:单个音频建议不超过 50MB
  3. 3. 网络要求:音频 URL 需要公网可访问
  4. 4. 免费额度:目前 ASR 模型完全免费,建议关注平台最新政策

 

Zero cost, high accuracy, one line of code for ASR speech recognition

图片

🆓 Recommended free ASR models

The platform currently offers the following completely free speech recognition models:

图片

1️⃣ DianXin/TeleSpeechASR

• Features: High accuracy, supports mixed Chinese-English recognition

• Suitable for: General scenarios, meeting transcription

2️⃣ FunAudioLLM/SenseVoiceSmall

• Features: Lightweight and fast, excellent Chinese recognition performance

• Suitable for: Real-time speech interaction, short speech recognition

3️⃣ Qwen2-Audio-7B-Instruct

• Features: Supports audio understanding and Q&A, stronger capabilities

• Suitable for: In-depth audio content analysis

🚀 How to call the API

Step 1: Get an API Key

Register a platform account and log in (https://siliconflow.cn), then obtain your API Key in the console.

Step 2: Build the request

The ASR function is invoked through the multimodal model API, using the audio_url parameter to pass the audio file URL.

图片

Request parameter description

Parameter

Description

Required

Model name, e.g., DianXin/TeleSpeechASR

✅

Message content, including the audio URL

✅

URL address of the audio file (publicly accessible)

✅

Step 3: Process the response

The API returns a standard JSON result; simply extract the recognized text content from it.

🔄 Workflow

图片

The entire process is very simple:

1. Prepare the audio file → Supports common formats such as wav, mp3, ogg, flac

2. Build the request → Use audio_url to pass the audio address

3. Call the API → Send a POST request to /v1/chat/completions

4. Get the text → Extract the recognition result from the returned JSON

💡 Use cases

• 🎤 Voice input method: Provides speech-to-text functionality for users, improving input efficiency

• 📝 Meeting minutes: Automatically transcribe meeting recordings into structured text records for easy archiving and retrieval

• 📱 Voice customer service: Build intelligent customer service systems to automatically handle user voice inquiries

• 🎙️ Podcast-to-text: Automatically generate subtitles and content summaries for easy redistribution

• 📊 Data analysis: Perform structured analysis on voice content and extract key information

• 🎓 Class notes: Record course audio, automatically generate text notes and knowledge point summaries

⚠️ Important notes

1. Audio format: Use common formats such as wav, mp3, ogg, flac

2. File size: It is recommended that a single audio file not exceed 50MB

3. Network requirements: The audio URL must be publicly accessible

4. Free quota: The ASR models are currently completely free; please keep an eye on the platform's latest policies

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry