---
title: "创建强制对齐-Forced Alignment API-API黄页|万维易源ShowAPI"
canonical_url: "https://www.showapi.com/playground/elevenlabs/elevenlabs/align-audio-text"
last_updated: "2026-11-19T06:32:21.902Z"
meta:
  description: ElevenLabs强制对齐API精准对齐音频与文本，提供字符级时间标记服务，适用于语音分析和字幕生成，提升音频处理效率。
  keywords: "强制对齐API，音频文本对齐，语音时间戳，ElevenLabs API，字符时间标记"
  "og:description": ElevenLabs强制对齐API精准对齐音频与文本，提供字符级时间标记服务，适用于语音分析和字幕生成，提升音频处理效率。
  "og:title": "创建强制对齐-Forced Alignment API-API黄页|万维易源ShowAPI"
  "twitter:description": ElevenLabs强制对齐API精准对齐音频与文本，提供字符级时间标记服务，适用于语音分析和字幕生成，提升音频处理效率。
  "twitter:title": "创建强制对齐-Forced Alignment API-API黄页|万维易源ShowAPI"
---

# **Forced Alignment API**

[ElevenLabs-ElevenLabs](https://www.showapi.com/playground/elevenlabs/elevenlabs) [ 产品首页](https://elevenlabs.io/docs/capabilities/forced-alignment) [API文档](https://elevenlabs.io/docs/capabilities/forced-alignment) [应用示例](https://www.showapi.com/aiapp/elevenlabs/elevenlabs/align-audio-text.html)

9158

2025-09-02更新

483 [提交收录](https://www.showapi.com/island/feedback-page?submitrequire=true) [反馈问题](https://www.showapi.com/island/feedback-page?apiurl=/playground/elevenlabs/elevenlabs/align-audio-text) [ 创建我的API](https://www.showapi.com/playground)

Forced Alignment API用于将语音音频与文本对齐，生成时间对齐的转录本。适用于需要为转录本中的每个单词或短语提供精确时间戳的场景，如视频字幕匹配或电子书的有声读物录制。支持29种语言，最大音频文件大小为3GB，最长音频时长为10小时。

**基础配置**

**Xi-api-key****\***[去获取Xi-api-key](https://elevenlabs.io/app/developers/api-keys)

API密钥，用于鉴权

选择接入点：

**POST**

Run

**接入点文档：**[查看](https://elevenlabs.io/docs/api-reference/forced-alignment/create)

Run: Ctrl+

↵

接入点描述：强制对齐音频文件与文本，获取每个字符和单词的时间信息。

**请求参数**

**file****\***

要对齐的文件，支持所有主要音频格式，文件大小必须小于1GB

拖动文件到此，或点击上传

**text****\***

要与音频对齐的文本，输入文本可以是任何格式，但目前不支持对话分离

**enabled\_spooled\_file**

如果为true，文件将被流式传输到服务器并分块处理，适用于无法加载到内存中的大文件，默认为false

**返回结果**

当前为示例返回

返回体

返回头

**使用其他软件测试API**

您可以拷贝Curl语句，直接导入Postman进行测试

拷贝Curl语句