{"success":true,"transcript":[{"text":"what is AI","duration":5.279,"offset":0.48,"lang":"en"},{"text":"AI stands for artificial intelligence","duration":5.281,"offset":2.879,"lang":"en"},{"text":"and it's a way for computers to learn","duration":4.8,"offset":5.759,"lang":"en"},{"text":"and work kind of like us","duration":5.7,"offset":8.16,"lang":"en"},{"text":"you can think of AI as a brain for a","duration":4.801,"offset":10.559,"lang":"en"},{"text":"computer","duration":3.839,"offset":13.86,"lang":"en"},{"text":"similar to how we use our brains to","duration":5.22,"offset":15.36,"lang":"en"},{"text":"learn and make decisions AI uses special","duration":7.201,"offset":17.699,"lang":"en"},{"text":"computer programs to do the same thing","duration":7.38,"offset":20.58,"lang":"en"},{"text":"with AI computers can help us with the","duration":4.68,"offset":24.9,"lang":"en"},{"text":"stuff that would be really hard for","duration":3.54,"offset":27.96,"lang":"en"},{"text":"people to do on their own","duration":4.58,"offset":29.58,"lang":"en"},{"text":"they can help doctors diagnose diseases","duration":5.34,"offset":31.5,"lang":"en"},{"text":"allow us to predict the weather more","duration":3.82,"offset":34.16,"lang":"en"},{"text":"accurately","duration":3.899,"offset":36.84,"lang":"en"},{"text":"and even play video games","duration":6.06,"offset":37.98,"lang":"en"},{"text":"it works by using software","duration":6.421,"offset":40.739,"lang":"en"},{"text":"to look at lots of information and find","duration":5.76,"offset":44.04,"lang":"en"},{"text":"patterns just like how you can tell the","duration":5.16,"offset":47.16,"lang":"en"},{"text":"difference between a dog and a cat AI","duration":5.399,"offset":49.8,"lang":"en"},{"text":"can learn to recognize things too","duration":6.02,"offset":52.32,"lang":"en"},{"text":"there are three main types of AI","duration":4.7,"offset":55.199,"lang":"en"},{"text":"supervised","duration":5.62,"offset":58.34,"lang":"en"},{"text":"unsupervised and reinforcement learning","duration":6.641,"offset":59.899,"lang":"en"},{"text":"each type learns in its own special way","duration":5.339,"offset":63.96,"lang":"en"},{"text":"but they all use lots of data to get","duration":4.38,"offset":66.54,"lang":"en"},{"text":"better at what they do","duration":4.381,"offset":69.299,"lang":"en"},{"text":"AI is important because it helps us do","duration":5.58,"offset":70.92,"lang":"en"},{"text":"things faster more accurately and","duration":4.5,"offset":73.68,"lang":"en"},{"text":"sometimes even better than we could on","duration":2.939,"offset":76.5,"lang":"en"},{"text":"our own","duration":3.84,"offset":78.18,"lang":"en"},{"text":"plus it can help us solve really complex","duration":4.86,"offset":79.439,"lang":"en"},{"text":"problems that we might not be able to","duration":4.139,"offset":82.02,"lang":"en"},{"text":"figure out by ourselves","duration":4.441,"offset":84.299,"lang":"en"},{"text":"with AI the possibilities are endless","duration":5.28,"offset":86.159,"lang":"en"},{"text":"from self-driving cars to personal","duration":5.58,"offset":88.74,"lang":"en"},{"text":"assistance AI is changing the way we","duration":4.86,"offset":91.439,"lang":"en"},{"text":"live and work","duration":4.5,"offset":94.32,"lang":"en"},{"text":"so the next time you hear about AI just","duration":4.5,"offset":96.299,"lang":"en"},{"text":"remember that it's like a smart brain","duration":4.92,"offset":98.82,"lang":"en"},{"text":"for computers helping us to solve big","duration":5.701,"offset":100.799,"lang":"en"},{"text":"problems and do things we never thought","duration":4.199,"offset":103.74,"lang":"en"},{"text":"possible","duration":4.74,"offset":106.5,"lang":"en"},{"text":"to learn more about AI check out our","duration":6.96,"offset":107.939,"lang":"en"},{"text":"website at gcfglobal.org","duration":3.659,"offset":111.24,"lang":"en"},{"text":"GCF global creating opportunities for a","duration":5.101,"offset":117.899,"lang":"en"},{"text":"better life","duration":3.619,"offset":121.5,"lang":"en"},{"text":"thank you","duration":2.119,"offset":123,"lang":"en"}]}
curl --location --request GET 'https://zylalabs.com/api/5219/video+dialogue+api/6686/get+video+transcript?videoId=ZacjOVVgoLY' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 视频对话 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
在GET请求中发送videoId以获取YouTube视频的字幕 可选地选择字幕的语言
视频对话 API 允许使用 videoId 从 YouTube 视频中获取文本转录,提高可访问性和用户体验
接收:videoId(必填) 提供:以JSON格式的字幕,包含视频对话
检索文本字幕以提高视频可访问性 基于视频转录本创建内容分析工具 为全球观众提供多种语言的转录本
每月允许的API调用次数之外,没有其他限制
有不同的计划适合每个人,包括针对少量请求的免费试用,但其速率有限制以防止滥用服务
此API使用API密钥进行身份验证。要访问API,请在请求头中包含您的API密钥。注册时提供API密钥,且应保持安全
该API返回有关域名年龄和历史的详细信息,包括自创建以来的年、月和日,以及到期和更新时间。
API返回YouTube视频的转录,结构为JSON格式。每个转录包括对话段落、持续时间、偏移量和语言
响应中的关键字段包括“success”(布尔值) “transcript”(对话对象数组)以及每个对话对象中的“text”(对话文本) “duration”(时间,以秒为单位) “offset”(开始时间)和“lang”(语言代码)
响应被组织为一个 JSON 对象 "success" 字段表示请求状态 "transcript" 字段包含一个对话对象数组 每个对象详细说明文本 持续时间 偏移量 和语言
该端点提供视频对话的完整文本、它们的时间(持续时间和偏移量)以及每个片段的语言,使用户能够有效地分析或显示视频内容
用户可以通过指定“videoId”自定义请求,以检索特定视频的转录,并可选择所需的转录语言
数据直接来自YouTube的视频内容,利用YouTube现有的转录功能确保准确性和相关性
通过使用YouTube的官方转录保持数据准确性,这些转录是通过自动语音识别和用户贡献生成的,确保高质量的文本表示
典型的用例包括增强听障用户的可访问性 创建教育工具 以及进行内容分析用于研究或市场营销目的