转录
将任意视频或音频文件转录为文本。支持时间戳、说话人检测和 99+ 种语言。
0 – 20
可选的按词替换,应用于生成的 SRT 和 TXT,当识别器把某个特定词(人名、缩写、专业术语)总是听错并写成同样的错误拼写时很有用。每个键是转录出来的词,值是正确的拼写。区分大小写;须匹配完整词。留空则原样输出识别器写出的文稿。
还需填写:视频或音频文件
使用的模型
API使用此流水线的配方
关于此流水线的文章
转录 API
从你自己的代码调用此流水线。一次请求即可发起运行;模型是一个输入字段,而不是独立的接口。
bun add @pipe2-ai/sdk import { createClient } from "@pipe2-ai/sdk";
const client = createClient(process.env.PIPE2_TOKEN!);
const { run_pipeline } = await client.RunPipeline({
pipeline_slug: "transcription",
input: {
source_asset_id: "a1b2c3d4-0000-4000-8000-000000000001",
},
});pip install pipe2 import asyncio
import os
from pipe2 import Pipe2Client
client = Pipe2Client(token=os.environ["PIPE2_TOKEN"])
run = asyncio.run(client.run_pipeline(
pipeline_slug="transcription",
input={
"source_asset_id": "a1b2c3d4-0000-4000-8000-000000000001",
},
))go get github.com/pipe2-ai/sdk-go client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))
input := json.RawMessage(`{
"source_asset_id": "a1b2c3d4-0000-4000-8000-000000000001"
}`)
run, err := pipe2.RunPipeline(context.Background(), client, "transcription", input)
if err != nil {
log.Fatal(err)
}brew install pipe2-ai/tap/pipe2 pipe2 pipelines run \
--pipeline transcription \
--input-json '{"source_asset_id": "a1b2c3d4-0000-4000-8000-000000000001"}' \
--wait参数
-
source_asset_id必填 -
Audio or video to transcribe. Asset id returned by an upload. See /docs/api/ for the upload flow.
string -
corrections -
可选的按词替换,应用于生成的 SRT 和 TXT,当识别器把某个特定词(人名、缩写、专业术语)总是听错并写成同样的错误拼写时很有用。每个键是转录出来的词,值是正确的拼写。区分大小写;须匹配完整词。留空则原样输出识别器写出的文稿。
object默认[object Object] -
diarize -
Label who is speaking. Turn on for interviews and multi-speaker recordings.
boolean默认false
显示全部 5 个输入
-
language_code -
Spoken language. Leave unset to detect it from the audio.
autoenesptfrdehiarjakozh默认auto -
num_speakers -
How many speakers to expect. Leave unset to detect automatically.
integer默认0
在 AI 智能体中使用
将任意 MCP 客户端指向 pipe2,你的智能体就能获得这些工具。它会找到这条流水线,读取上方相同的 schema,然后运行它。
- list_pipelines
- get_pipeline_schema
- run_pipeline
- get_pipeline_run_status
- request_upload
https://mcp.pipe2.ai/mcp {
"mcpServers": {
"pipe2ai": {
"url": "https://mcp.pipe2.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}AI 视频转录
上传任意视频或音频文件,即可得到带词级时间戳的准确转录文本。说话人检测可选。输出为 SRT 字幕或纯文本,可直接用于加字幕、编辑或二次利用。
你可以用它做什么
- 为视频加字幕: 生成 SRT,然后为社媒烧录或叠加
- 二次利用长篇内容: 将转录文本喂给任意 LLM,生成摘要、剪辑创意和社媒文案
- 转录访谈 + 播客: 带说话人分离的多人录音
- 无障碍: 让口语内容可读、可搜索
- 翻译准备: 干净的转录文本作为翻译配音的源文本
工作原理
- 上传: 视频或音频,任意常见格式(MP4、MOV、MP3、WAV、M4A、FLAC)
- 选择语言: 或保持自动检测
- 切换说话人检测: 为每个片段标注说话人
- 下载: 带时间戳的 SRT + 纯文本转录
输出格式
- SRT: 带毫秒级精确时间戳的字幕文件,可直接放入视频编辑器
- 纯文本: 干净可读的转录文本,用于编辑、摘要或翻译
常见问题
支持哪些文件格式?
转录有多准确?
什么是说话人检测?
支持哪些语言?
它需要多长时间?
探索更多流水线
查看全部 →根据文本提示、图像或参考片段生成 AI 视频。电影感镜头、产品揭晓、生活方式广告,配以同步音频和自然运动。
根据文本或参考照片生成 AI 图像。产品图、角色美术、带可读文字的海报、照片级人像,数秒即得高分辨率成品。
将文本转换为自然语音,提供数十种音色、70+ 种语言,并可自定义语气、口音和节奏的风格指令。
生成原创背景音乐,匹配你描述的任意情绪、风格和时长。免版税,数秒即得。