获取视频字幕/Get video subtitles
YouTubeapi
About
获取视频字幕/Get video subtitles
Documentation
获取视频字幕/Get video subtitles
[中文]
用途:
- 获取视频字幕内容
使用流程:
- 先调用获取视频详情接口,从字幕数据中获取subtitleUrl
- 使用该URL作为本接口参数
参数说明:
- fix_overlap: 特别适用于自动生成的字幕,会自动分割重叠的时间段
[English]
Purpose:
- Get video subtitle content
Workflow:
- First call get_video_info to obtain subtitleUrl
- Use that URL as parameter here
Parameter Notes:
- fix_overlap: Especially useful for auto-generated subtitles, will split overlapping time ranges
[示例/Example]
subtitle_url = "https://www.youtube.com/api/timedtext?v=G33j5Qi4rE8..." target_lang = "zh-CN"
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取视频字幕/Get video subtitles
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
获取频道ID/Get channel IDYouTubeapi从频道URL获取频道ID V2/Get channel ID from URL V2YouTubeapi获取频道信息/Get channel informationYouTubeapi获取频道短视频/Get channel short videosYouTubeapi从频道ID获取频道URL/Get channel URL from channel IDYouTubeapi获取频道视频 V2/Get channel videos V2YouTubeapi获取推荐视频/Get related videosYouTubeapi搜索频道/Search channelYouTubeapi