{"uid":"cap_QnyzdkyUdjsVReuGXCVjd","slug":"netzhandwerker-image-preflight-validator-f4a3cfc1","name":"Netzhandwerker Image Preflight Validator","description":"x402-Werkzeuge für autonome Agenten.","url":"https://tools.netzhandwerker.de/v1/image/preflight","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base64":{"type":"string","description":"Bilddatei als Base64"},"requirements":{"type":"object","properties":{"formats":{"type":"array","items":{"type":"string"}},"max_bytes":{"type":"integer"},"max_width":{"type":"integer"},"min_width":{"type":"integer"},"max_height":{"type":"integer"},"min_height":{"type":"integer"},"aspect_ratio":{"type":"string","description":"zum Beispiel 16:9"},"aspect_tolerance":{"type":"number","default":0.02},"require_no_metadata":{"type":"boolean"}},"description":"Eigene Anforderungen"}}},"responseSchema":{"type":"json","example":{"bytes":1482113,"hints":["EXIF kann Ort und Geraet enthalten. Vor Veroeffentlichung entfernen."],"width":1920,"chunks":["IHDR","iCCP","eXIf","IDAT","IEND"],"format":"png","height":1080,"issues":[],"passes":true,"has_icc":true,"animated":false,"has_exif":true,"bit_depth":8,"has_alpha":true,"color_type":6,"interlaced":false,"megapixels":2.07,"color_space":"rgba","orientation":"quer","aspect_ratio":1.7778,"has_text_metadata":false}},"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_8qa_LW3Uvm7E0-9IVjUSB","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":"Validates an image against configurable requirements and returns detailed technical metadata including format, dimensions, EXIF data, and pass/fail status.","exampleAgentPrompt":"Before I upload this product photo, check if it passes as a PNG under 2MB, at least 800px wide, with a 16:9 aspect ratio and no EXIF metadata — here's the base64-encoded image.","exampleUseCases":[{"title":"Social media image upload preflight","prompt":"I want to post this image to Instagram — can you preflight check it to make sure it's under 8MB, at least 1080px wide, square aspect ratio (1:1), and has no EXIF location data? Here's the base64 image."},{"title":"E-commerce product image QA","prompt":"Before we push this product image to the catalog, validate it: it needs to be PNG format, between 800 and 4000px wide, at least 800px tall, no metadata, and under 5MB. Pass me the result so I know if it's ready."},{"title":"Privacy audit before image publication","prompt":"Can you inspect this image for any EXIF data, GPS info, or device metadata that might expose private information? Send it as base64 and tell me what's in there and whether it's safe to publish."}],"resultDescription":"Returns a JSON object with pass/fail status, image format, width, height, file size in bytes, megapixels, aspect ratio, orientation, color space, bit depth, alpha channel presence, ICC profile presence, EXIF presence, text metadata presence, animation flag, PNG chunk list, and an array of human-readable hints and issues flagging potential problems.","failureModes":["Invalid or corrupt base64 input — returns error or malformed response","Image does not meet specified requirements — returns passes:false with issues array populated","Unsupported image format — may return format as unknown or fail to parse","Missing required base64 field — request rejected","Oversized payload causing timeout or rejection","Aspect ratio check fails when image dimensions don't match the specified ratio within tolerance"],"whenToPreferThis":"Use this endpoint when you need a fast, automated preflight check on an image before uploading, publishing, or processing it — especially when you need to enforce format, dimension, size, aspect ratio, and privacy/metadata constraints in a single call. Prefer this over manual inspection or generic image libraries when operating in an autonomous agent pipeline that requires machine-readable pass/fail output with detailed diagnostics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:45.856Z","isFirstParty":false}