Video Thumbnail Extractor
Pricing
Pay per event
Video Thumbnail Extractor
Extract high-quality thumbnails from videos across multiple platforms including YouTube, Vimeo, direct video URLs, and more.
Pricing
Pay per event
Rating
0.0
(0)
Developer

HappiTap
Actor stats
0
Bookmarked
5
Total users
3
Monthly active users
2 days ago
Last modified
Categories
Share
Video Thumbnail Extractor - Multi-Platform Support
Extract high-quality thumbnails from videos across multiple platforms including YouTube, Vimeo, direct video URLs, and more.
๐ Features
Multi-Platform Video Support
- YouTube - Extract thumbnails from any YouTube video
- Vimeo - Process Vimeo videos
- Dailymotion - Support for Dailymotion videos
- Direct Video URLs - MP4, AVI, MOV, MKV, WebM, FLV, WMV, M4V files
- Generic URLs - Automatic detection and processing via yt-dlp
Thumbnail Extraction Features
- โ Multiple Extraction Methods - Evenly spaced, custom timestamps, key frames, or beginning/middle/end
- โ Customizable Count - Extract 1-20 thumbnails per video
- โ High Quality - Configurable resolution and image quality
- โ Multiple Formats - Output as JPEG, PNG, or WebP
- โ Batch Processing - Process multiple videos simultaneously
- โ Automatic Upload - Store thumbnails in Apify Key-Value Store
- โ Base64 Encoding - Optional base64 encoded output
- โ Video Metadata - Extract title, duration, and other info
๐ฐ Pricing - Pay Per Thumbnail
This actor uses tiered pay-per-event pricing based on extraction complexity:
| Platform Type | Price per Thumbnail | Best For |
|---|---|---|
| YouTube (Native) | $0.001 (0.1ยข) | YouTube videos - instant extraction |
| Direct URLs | $0.005 (0.5ยข) | MP4, AVI, MOV files - frame streaming |
| Streaming Platforms | $0.01 (1ยข) | Vimeo, Dailymotion - requires download |
Why Tiered Pricing?
- YouTube Native: Uses YouTube's built-in thumbnails - minimal resources, minimal cost โก
- Direct URLs: Streams video frames directly - moderate resources, fair pricing ๐ฌ
- Streaming Platforms: Requires full video download - maximum resources, premium pricing ๐บ
Example Costs
- 100 YouTube thumbnails: $0.10
- 100 Direct URL thumbnails: $0.50
- 100 Vimeo thumbnails: $1.00
See ./PRICING.md for detailed pricing information and examples.
๐ Input Parameters
Required
videoUrls- Array of video URLs to process
Optional
thumbnailCount- Number of thumbnails per video (default: 3, range: 1-20)extractionMethod- How to select frames:evenly-spaced- Distribute thumbnails evenly across video (default)custom-timestamps- Extract at specific timestampskey-frames- Extract at key framesbeginning-middle-end- Extract from start, middle, and end
customTimestamps- Array of timestamps in seconds (for custom-timestamps method)thumbnailWidth- Width in pixels (default: 1280, range: 320-3840)outputFormat- Image format:jpg,png, orwebp(default: jpg)imageQuality- Quality 1-100 (default: 85)uploadToKeyValueStore- Store images in Key-Value Store (default: true)returnBase64- Include base64 encoded images in output (default: false)
๐ Example Usage
Basic Example
{"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"thumbnailCount": 3,"extractionMethod": "evenly-spaced","outputFormat": "jpg"}
Advanced Example - Custom Timestamps
{"videoUrls": ["https://www.youtube.com/watch?v=example","https://vimeo.com/123456789","https://example.com/video.mp4"],"thumbnailCount": 5,"extractionMethod": "custom-timestamps","customTimestamps": [10, 30, 60, 120, 180],"thumbnailWidth": 1920,"outputFormat": "png","imageQuality": 95,"uploadToKeyValueStore": true,"returnBase64": false}
High Quality Thumbnails
{"videoUrls": ["https://www.youtube.com/watch?v=example"],"thumbnailCount": 10,"extractionMethod": "evenly-spaced","thumbnailWidth": 3840,"outputFormat": "png","imageQuality": 100}
๐ค Output Format
Dataset Output
{"videoUrl": "https://www.youtube.com/watch?v=example","platform": "youtube","success": true,"processedAt": "2025-11-17T16:00:00.000Z","thumbnailCount": 3,"thumbnails": [{"index": 0,"timestamp": 45.5,"timestampFormatted": "0:45","keyValueStoreKey": "video_thumb_0.jpg"}],"videoInfo": {"title": "Example Video","duration": 180,"uploader": "Channel Name"}}
Key-Value Store
Thumbnails are automatically uploaded to the Key-Value Store with keys like:
video_thumb_0.jpgvideo_thumb_1.jpg- etc.
Access them via:
https://api.apify.com/v2/key-value-stores/[STORE_ID]/records/[KEY]
๐ฏ Use Cases
Content Creation
- Generate video previews for websites
- Create thumbnail galleries
- Extract key moments from videos
Video Analysis
- Sample frames for quality checking
- Extract frames for machine learning training
- Create video summaries
Marketing
- Generate social media preview images
- Create video thumbnails for email campaigns
- Extract product shots from demo videos
๐ง Technical Details
Supported Video Platforms
- YouTube (all formats)
- Vimeo
- Dailymotion
- Direct video file URLs
- Any platform supported by yt-dlp (800+ sites)
Supported Video Formats
- MP4, AVI, MOV, MKV, WebM, FLV, WMV, M4V
- And many more via ffmpeg
Image Processing
- Powered by ffmpeg for frame extraction
- Sharp for image optimization and format conversion
- Maintains aspect ratio automatically
- High-quality output with configurable settings
โ๏ธ Configuration Tips
For Best Quality
{"thumbnailWidth": 1920,"outputFormat": "png","imageQuality": 95}
For Smaller File Sizes
{"thumbnailWidth": 1280,"outputFormat": "webp","imageQuality": 75}
For Specific Moments
{"extractionMethod": "custom-timestamps","customTimestamps": [5, 30, 60, 120]}
๐ Performance
- Processes videos efficiently using ffmpeg
- Automatic cleanup of temporary files
- Optimized for batch processing
- Handles large videos (up to 500MB)
๐ Pricing
This actor uses standard Apify platform pricing based on:
- Compute units consumed
- Storage for Key-Value Store items
Typical usage:
- ~0.01 compute units per thumbnail extracted
- Storage costs for uploaded thumbnails
๐ Troubleshooting
Video Download Fails
- Ensure the URL is publicly accessible
- Check if the platform is supported by yt-dlp
- Verify the video is not geo-restricted
Poor Quality Thumbnails
- Increase
thumbnailWidthparameter - Use PNG format for better quality
- Increase
imageQualitysetting
Timeout Issues
- Reduce
thumbnailCountfor long videos - Use lower resolution settings
- Process videos in smaller batches
๐ Related Actors
- PDF OCR API - Extract text from PDF documents
- Image Processing API - Advanced image manipulation
- Video Metadata Extractor - Get detailed video information
๐ License
Apache-2.0
๐ค Support
For issues, questions, or feature requests, please contact HappiTap team.
Built with โค๏ธ using Apify, ffmpeg, yt-dlp, and Sharp