Media
WebVTT · TTML · SBV · SRT 字幕转换器
在 WebVTT、TTML(含 SMPTE 帧时序与样式)、YouTube SBV 与 SRT 之间互转字幕——帧精度时间轴(23.976/24/25/29.97 丢帧/30/50/59.94 丢帧/60)、TTML tts 样式桥接 WebVTT ::cue CSS、cue-id 唯一性、IMSC 1.0.1 兼容检查。
text· 文本结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/webvtt-ttml-sbv-subtitle-time-axis-and-cue-style-converter' \
-H 'Content-Type: application/json' \
-d '{"filename":"sourceFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/zh/api/tools/webvtt-ttml-sbv-subtitle-time-axis-and-cue-style-converter' \
-F 'source=1
00:00:01,000 --> 00:00:04,000
Hello <i>world</i>!
2
00:00:05,500 --> 00:00:06,000
Second & <b>bold</b> cue' \
-F 'sourceFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'sourceFormat=auto' \
-F 'targetFormat=webvtt' \
-F 'fps=auto' \
-F 'smpteTimes=false' \
-F 'validateImsc=true' \
-F 'outputLang=en'