FireRedASR2-AED
Xiaohongshu FireRedTeam's Apache 2.0 open-weight 1.1B attention encoder-decoder speech recognition model, supporting Mandarin, 20+ Chinese dialects, code-switching, and lyrics with word-level timestamps and confidence scores.
What you can do
- Multi-dialect speech transcription
- Word-timestamped subtitle generation
- Code-switching and lyrics ASR
Input & output
- Input
- 16 kHz mono speech audio
- Output
- Transcribed text, word timestamps, and confidence scores
Example input
Transcribe a customer-support audio clip mixing Sichuanese, Mandarin, and English product terms, returning text with word-level start and end timestamps.
Things to know
Apache 2.0 open weights run easily on a single GPU (<6 GB VRAM), but long recordings and punctuation restoration require pairing with the companion FireRedVAD and FireRedPunc modules.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/audio/transcriptions- Model repo ID
FireRedTeam/FireRedASR2-AED
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
with open("audio.mp3", "rb") as audio:
result = client.audio.transcriptions.create(model="FireRedTeam/FireRedASR2-AED", file=audio)
print(result.text)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide