{"uid":"cap_75w21AlOC1jwSmDqxEqdI","slug":"24k-labs-image-metadata-analyzer-a400e809","name":"24K Labs Image Metadata Analyzer","description":"Report format, dimensions, mode, aspect ratio, transparency, and byte size of an image.","url":"https://api.24klabs.ai/api/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_w9viiUJtQSU7JBgSIwODJ","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, mode, aspect ratio, transparency flag, and byte size for a given image.","exampleAgentPrompt":"Can you inspect this image at https://example.com/photo.jpg and tell me its format, dimensions, aspect ratio, whether it has transparency, and how large it is in bytes?","exampleUseCases":[{"title":"Validate image before upload","prompt":"Before I upload this image to the CDN, check its format, dimensions, and byte size — I need to make sure it's a PNG under 500KB and at least 1920x1080."},{"title":"Detect transparency for design pipeline","prompt":"Does this image at https://assets.mysite.com/logo.png have a transparent background? Also tell me its mode and dimensions."},{"title":"Audit image specs for a batch of assets","prompt":"I have this product image at https://shop.example.com/product1.webp — can you pull its format, aspect ratio, and size so I can confirm it matches our 4:3 spec?"}],"resultDescription":"Returns a structured report including: image format (e.g. PNG, JPEG, WEBP), pixel dimensions (width × height), color mode (e.g. RGB, RGBA, L), aspect ratio, whether the image has transparency, and file byte size.","failureModes":["Image URL is unreachable or returns a non-image response — returns an error indicating fetch failure","Unsupported image format — returns an error for formats outside supported set","Malformed or corrupted image data — returns a parse/decode error","Missing required input (no image provided) — returns a validation error","Network timeout fetching remote image URL"],"whenToPreferThis":"Use this endpoint when you need quick, structured metadata about an image — format, dimensions, aspect ratio, transparency, and byte size — without performing any transformation or generation. Ideal for pre-upload validation, asset auditing, or feeding image specs into downstream logic. Prefer this over general-purpose vision AI endpoints when you need deterministic, structured metadata rather than semantic image understanding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:42.124Z","isFirstParty":false}