{"uid":"cap_0xwDmt-fes1vBjW_dt6Zc","slug":"24k-labs-image-metadata-extractor-68d1c28c","name":"24K Labs Image Metadata Extractor","description":"Report format, dimensions, mode, aspect ratio, transparency, and byte size of an image.","url":"https://api.24klabs.ai/api/v1/image-metadata","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image_b64":{"type":"string"}}},"responseSchema":{"type":"json","example":{"width":8,"height":8}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a2t1XjNKgHpvBVyf5YEtA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns format, dimensions, color mode, aspect ratio, transparency flag, and byte size for a given image.","exampleAgentPrompt":"Can you check this image for me — https://example.com/photo.jpg — and tell me its format, dimensions, aspect ratio, whether it has transparency, and how many bytes it is?","exampleUseCases":[{"title":"Pre-upload image validation pipeline","prompt":"Before I upload this image to our CMS, can you inspect https://cdn.mysite.com/hero-banner.png and confirm its format, dimensions, aspect ratio, and byte size so I know it meets our specs?"},{"title":"Transparency check for design assets","prompt":"I need to know if this logo file at https://assets.example.com/logo.webp has a transparent background — also tell me its color mode and dimensions."},{"title":"Batch media audit for a developer","prompt":"I'm auditing our image library — can you pull the metadata for https://storage.myapp.com/thumbnail.gif, including its format, width, height, aspect ratio, transparency, and file size in bytes?"}],"resultDescription":"Returns a structured object containing the image format (e.g. PNG, JPEG, WEBP, GIF, BMP), pixel dimensions (width × height), color mode (e.g. RGB, RGBA, grayscale), aspect ratio, a boolean indicating transparency support, and the file's byte size.","failureModes":["Invalid or unreachable image URL returns an error","Unsupported image format returns a format error","Network timeout if the image host is slow to respond","Extremely large images may exceed processing limits","Malformed request body missing the image reference returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, structured metadata about an image — format, dimensions, mode, aspect ratio, transparency, and byte size — without performing heavier operations like object detection or OCR. It is ideal for pre-processing checks (e.g. validating upload requirements), audit pipelines, or any workflow where you need image properties quickly and cheaply at $0.002 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:59:43.812Z","isFirstParty":false}