download_video
Download videos from 1000+ platforms like YouTube and TikTok. Save locally with customizable quality, audio extraction, and subtitle options using Video Fetch MCP.
Instructions
下载指定URL的视频到本地路径
Input Schema
Name | Required | Description | Default |
---|---|---|---|
audioFormat | No | 音频格式 | mp3 |
downloadSubtitles | No | 是否下载字幕 | |
extractAudio | No | 是否仅提取音频 | |
outputPath | Yes | 本地保存路径 | |
outputTemplate | No | 输出文件名模板 | %(title)s.%(ext)s |
quality | No | 视频质量选项 | best |
subtitleLangs | No | 字幕语言列表 | |
url | Yes | 视频链接URL |
Input Schema (JSON Schema)
{
"properties": {
"audioFormat": {
"default": "mp3",
"description": "音频格式",
"enum": [
"mp3",
"aac",
"wav",
"flac"
],
"type": "string"
},
"downloadSubtitles": {
"default": false,
"description": "是否下载字幕",
"type": "boolean"
},
"extractAudio": {
"default": false,
"description": "是否仅提取音频",
"type": "boolean"
},
"outputPath": {
"description": "本地保存路径",
"type": "string"
},
"outputTemplate": {
"default": "%(title)s.%(ext)s",
"description": "输出文件名模板",
"type": "string"
},
"quality": {
"default": "best",
"description": "视频质量选项",
"enum": [
"best",
"worst",
"bestvideo",
"bestaudio"
],
"type": "string"
},
"subtitleLangs": {
"default": [
"zh-CN",
"en"
],
"description": "字幕语言列表",
"items": {
"type": "string"
},
"type": "array"
},
"url": {
"description": "视频链接URL",
"type": "string"
}
},
"required": [
"url",
"outputPath"
],
"type": "object"
}