by yizhiyanhua-ai
从免版税图片服务网站和YouTube查找和下载图片和视频需要使用多个工具,既耗时又费力。此技能支持视频裁剪,可自动搜索和下载媒体内容。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 media-downloader 技能" 开始使用
=== media-downloader 技能 === 作者: yizhiyanhua-ai 描述: 从免版税图片服务网站和YouTube查找和下载图片和视频需要使用多个工具,既耗时又费力。此技能支持视频裁剪,可自动搜索和下载媒体内容。 使用方法: 1. 调用技能: "使用 media-downloader 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 media-downloader 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
low
Smart media downloader - Automatically search and download images/video clips based on your description, with auto-trimming support.
| You say... | I will... |
|---|---|
| "Download some cute cat pictures" | Search and download 5 cat images |
| "Find a 15-second ocean wave video" | Download a 15s ocean wave clip |
| "Get me a 30-second cooking video" | Download a trimmed cooking clip |
| "Download this YouTube video from 1:30 to 2:00" | Download and auto-trim the specified segment |
In Claude Code, just say:
"Help me install https://github.com/yizhiyanhua-ai/media-downloader.git and all its dependencies"
Claude will automatically:
Just click "Allow" when Claude asks for permission!
💡 Note: If you only need to download YouTube videos, you can skip this step!
Image downloads require a free API Key (like a "membership card" for stock photo sites):
When done, tell Claude "Check the status of media-downloader" to confirm everything is working.
💡 Why do I need API Keys?
Think of an API Key as a "membership card" for stock photo websites. With it, you can search and download HD images and videos.
Good news: Registration is completely free, and all assets are free for commercial use!
The quick install above only configured Pexels. If you want more image sources, you can register for these:
Tell Claude: "Check the status of media-downloader"
Claude will tell you which tools are installed and which API Keys are configured. Just fix what's missing!
⚠️ Important: Before using, tell Claude "Check the status of media-downloader" to make sure all dependencies are installed!
"Download 5 starry sky images"
"Download 10 coffee shop photos"
"Find some landscape images suitable for wallpapers"
💡 Recommended: If you need to download videos, use YouTube first! YouTube has rich content, high quality, and doesn't require an extra API Key.
"Download this video: https://youtube.com/watch?v=xxx"
"Download minute 2 to minute 3 of this YouTube video"
"Only download the audio from this video"
If you need short video clips from stock libraries:
"Download a city night video, under 30 seconds"
"Find me a 15-second ocean wave video"
"Find some natural scenery videos suitable for backgrounds"
By default, all files are saved to:
~/.claude/skills/media-downloader/downloads/
You can specify a custom download location using the -o or --output option:
# Download images to a specific folder
media_cli.py image "cats" -o ~/Pictures/cats
# Download videos to Desktop
media_cli.py video "sunset" -o ~/Desktop
# Download YouTube video to current directory
media_cli.py youtube "URL" -o .
Or simply tell me where you want the files:
"Download 5 cat images to my Desktop"
"Save the video to ~/Videos/project"
A: Please confirm API Key is configured. Run status command to check configuration status.
A: YouTube download doesn't need an API Key, but requires yt-dlp. Run pip install yt-dlp to install.
A: ffmpeg is required. macOS users run brew install ffmpeg.
A: Assets from Pexels, Pixabay, and Unsplash can all be used commercially for free, no attribution required (though attribution is appreciated).
For advanced users using command line directly:
# Check configuration status
media_cli.py status
# Download images
media_cli.py image "keywords" -n count -o output_dir
# Download stock videos
media_cli.py video "keywords" -d max_duration -n count
# Download YouTube video
media_cli.py youtube "URL" --start start_seconds --end end_seconds
# Search media (no download)
media_cli.py search "keywords" --type image/video/all
# Trim local video
media_cli.py trim input_file --start start --end end
| Source | Type | Features |
|---|---|---|
| Pexels | Images + Videos | High quality, frequently updated |
| Pixabay | Images + Videos | Large quantity, diverse categories |
| Unsplash | Images | Artistic, great for wallpapers |
| YouTube | Videos | Rich content, trimming support |
MIT License
🎬 Start using! Just tell me what images or videos you want!
View Count
0
Download Count
0
Favorite Count
0
Quality Score
65