Image Metadata API — dimensions, dominant color, and format analysis
The /image namespace analyzes uploaded files or remote URLs for dimensions, format, color space, dominant color, and quality metrics — accepts both multipart upload and a JSON URL body.
No credit card · Free tier forever · X-API-Key header auth
What's included in /image
Dual input modes
Accepts either a multipart/form-data file upload or a JSON body with a remote image URL — same endpoint, no separate routes.
Dominant color extraction
Returns the dominant color as RGB and hex, useful for generating matching UI accents from a user-uploaded image.
Quality and entropy metrics
Sharpness and entropy scores give a rough automated read on image quality.
Format and color space detection
Identifies format, color space, channel count, and alpha presence.
One key, every namespace
Pair image analysis with /color for a complete image-to-palette pipeline.
Start using the image metadata API today
Free tier — 500 calls/month, no credit card. Upgrade when you need more.
Frequently asked questions
Can I upload a file directly?
Yes — send multipart/form-data with a 'file' field instead of JSON with a URL.
Does it detect NSGW/unsafe content?
Check the current docs for the specific moderation endpoints available in this namespace.
What image formats are supported?
Standard web formats — JPEG, PNG, WebP, GIF, and more via the underlying Sharp image library.
Related API guides
Color API — Hex/RGB Conversion, Palette Generation, Contrast Checking
Convert between hex, RGB, and HSL, generate color palettes, and check WCAG contr…
Read guideQR Code Generator API — Free, No Watermark, WiFi & vCard Support
Generate QR codes for URLs, WiFi credentials, and vCards via a simple REST API. …
Read guideText Analysis API — Sentiment, Readability, Language Detection
Sentiment analysis, readability scoring, language detection, word counting, and …
Read guideOne key unlocks all 34 namespaces — weather, finance, fitness, astrology, and more.
View all plans and pricing →