仅使用视频网址和提示,将任何YouTube视频转换为AI准备好的输出
此API获取字幕,分析内容,并以纯文本或严格的JSON返回最终答案。非常适合从YouTube视频中进行摘要、提取、分类、评论分析和结构化数据生成
短视频进行一次性处理。长视频会自动分块并在后台合并,以确保不会丢失任何转录数据
输入:
输出:
视频网址 + 提示 = { "答案": "❤️🔥" }
Zyla Listing Tone
通过一个简单的API调用使用AI分析YouTube视频
发送YouTube视频网址、提示和可选的JSON架构。API获取转录,处理完整视频内容,并以文本或结构化JSON返回干净的AI生成响应
为希望获得可靠的基于转录的AI输出的开发者而构建,无需自己处理转录获取、分块或响应格式化
它为什么运作良好:
完美适合:
输入简单,输出强大:
视频网址 + 提示 = { "答案": "结构化json" }
分析YouTube转录 - 端点功能
| 对象 | 描述 |
|---|---|
请求体 |
[必需] Json |
{
"success": true,
"result": {
"inputUrl": "https://www.youtube.com/watch?v=tzruGtCBK9o",
"videoId": "tzruGtCBK9o",
"videoUrl": "https://www.youtube.com/watch?v=tzruGtCBK9o",
"status": "ok",
"output": {
"positives": [
"High-quality audio peripherals, living up to Sennheiser's legacy.",
"Significant leap in design and quality compared to previous models.",
"Beautiful hard case with useful accessories included.",
"Minimalistic and unobtrusive design.",
"Well-built construction with fabric headband and faux leather ear cups.",
"Effective touch controls for various functions.",
"Long battery life of up to 60 hours, ideal for travelers.",
"Good active noise cancellation for typical commute noises.",
"Excellent sound quality with decent clarity in mids and highs.",
"Visual EQ in the Sennheiser app allows for a balanced and high-quality listening experience.",
"Sufficient audio quality for most genres and users."
],
"negatives": [
"Headphones are not the lightest, though they do not feel cheap.",
"Construction is a bit stiff and bulky.",
"Active noise cancellation can be fatiguing over long periods.",
"Transparency mode is not very effective when audio is playing.",
"Uncomfortable fit for long periods due to tight headband and ear cups pinching ears."
]
}
},
"meta": {
"primaryModel": "mistralai/mistral-medium-3-instruct",
"fallbackModel": "z-ai/glm4.7",
"finalModel": "mistralai/mistral-medium-3-instruct",
"outputMode": "json_schema",
"fallbackUsed": false,
"chunkCount": 1,
"transcriptSegmentCount": 0,
"transcriptCharacterCount": 5021,
"llmCallCount": 1,
"successfulLlmCallCount": 1,
"llmAttemptCount": 1,
"modelsUsed": [
"mistralai/mistral-medium-3-instruct"
]
}
}
curl --location --request POST 'https://zylalabs.com/api/12410/ai+youtube+transcript+api/23479/analyze+youtube+transcript' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"videoUrl": "https://www.youtube.com/watch?v=tzruGtCBK9o",
"prompt": "Find the main positive and negative points mentioned in this video about the product, service, or topic being discussed. Use only transcript-supported evidence.",
"jsonschema": {
"title": "sentiment_points",
"type": "object",
"additionalProperties": false,
"properties": {
"positives": {
"type": "array",
"items": {
"type": "string"
}
},
"negatives": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。
API返回来自YouTube视频转录的结构化数据,包括纯文本和严格格式化的JSON。输出包含基于所提供提示和视频内容的见解
响应中的关键字段包括 `success` `result` `inputUrl` `videoId` `videoUrl` `status` 和 `output` `output` 字段包含了基于视频转录的处理见解
用户可以通过提供特定的 `prompt` 以及 `videoUrl` 来定制他们的请求 还可以包含一个可选的 `jsonschema` 以定义所需的输出结构
响应数据以JSON格式组织,包含一个顶层对象,包含成功状态和一个结果对象。结果包括关于视频的元数据和处理过的输出见解
该API提供洞察,例如摘要、情感分析、内容分类和从视频转录中提取的关键点,使其适合各种分析任务
通过自动转录过程和人工智能分析,确保数据准确性,使输出能够准确反映视频内容。人工智能模型的持续改进也提高了质量
典型的用例包括内容摘要 评论情感分析 研究数据提取 以及为SaaS应用生成结构化洞察 提升用户参与度和理解
用户可以通过解析JSON输出来提取相关见解,利用这些数据将其集成到应用程序中进行分析,或用于内容创作和研究目的
服务级别:
100%
响应时间:
1,360ms
服务级别:
99%
响应时间:
1,933ms
服务级别:
100%
响应时间:
1,827ms
服务级别:
100%
响应时间:
12,198ms
服务级别:
93%
响应时间:
4,419ms
服务级别:
100%
响应时间:
1,682ms
服务级别:
97%
响应时间:
3,086ms
服务级别:
100%
响应时间:
20,003ms
服务级别:
100%
响应时间:
657ms
服务级别:
100%
响应时间:
4,742ms