{"uid":"cap_SRvvb5W0rWNarQFd_EcGC","slug":"tanod-imagepeek-thumbnail-generator-1c50a100","name":"Tanod imagepeek Thumbnail Generator","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/image/thumbnail?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fit":{"enum":["cover","contain"],"type":"string","default":"cover","description":"cover (default: fill each size, cropping the overflow) or contain (fit inside, no crop)."},"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"default":null,"description":"Public http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64."},"sizes":{"type":"array","items":{"type":"object","required":["width","height"],"properties":{"width":{"type":"integer","maximum":4096,"minimum":1},"height":{"type":"integer","maximum":4096,"minimum":1}},"additionalProperties":false},"maxItems":8,"minItems":1,"description":"1-8 {width, height}."},"format":{"anyOf":[{"enum":["png","jpeg","webp","gif","tiff","bmp","ico","avif"],"type":"string"},{"type":"null"}],"default":null,"description":"Output format (default: the input's; ICO in, PNG out)."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"gravity":{"enum":["center","north","south","east","west","northwest","northeast","southwest","southeast"],"type":"string","default":"center","description":"cover: the part to keep (default center; north, southeast, ...)."},"quality":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"default":null,"description":"Encoder quality 1-100 (lossy formats)."},"upscale":{"type":"boolean","default":false,"description":"Allow thumbnails larger than the input (default false)."},"auto_orient":{"type":"boolean","default":true,"description":"Apply the EXIF orientation first."},"image_base64":{"anyOf":[{"type":"string","maxLength":13333464},{"type":"null"}],"default":null,"description":"The image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url."}}},"responseSchema":{"type":"json","example":{"input":{"bytes":2183,"width":256,"format":"png","frames":1,"height":256,"animated":false,"has_alpha":true},"notes":[],"images":[{"bytes":3265,"width":128,"format":"png","height":128,"requested":{"width":128,"height":128},"data_base64":"iVBORw0KGgoAAAAN... (trimmed: 4,356 base64 characters in the reply)","content_type":"image/png"},{"bytes":581,"width":256,"format":"png","height":144,"requested":{"width":320,"height":180},"data_base64":"iVBORw0KGgoAAAAN... (trimmed: 776 base64 characters in the reply)","content_type":"image/png"}],"source":{"url":"https://python-pillow.org","library":"Pillow","license":"MIT-CMU (HPND)"},"final_url":"https://tanod.dev/icon.png","operation":"thumbnail","source_url":"https://tanod.dev/icon.png","total_bytes":3846}},"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_o4JNrMa0_X0t5cWzsjXLU","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":"Generates 1–8 resized thumbnail versions of an image from a URL or base64 input, with configurable size, format, quality, fit mode, and gravity.","exampleAgentPrompt":"Can you generate two thumbnail sizes from this product image — 200x200 and 400x300 — in webp format with cover fit and center gravity? The image URL is https://example.com/product.jpg.","exampleUseCases":[{"title":"E-commerce product image thumbnails","prompt":"Take this product image at https://shop.example.com/images/jacket.jpg and generate three thumbnails: 100x100, 300x300, and 600x400 — all in webp format, cover fit, quality 85, centered."},{"title":"Blog post responsive image set","prompt":"I need to create a responsive image set from https://blog.example.com/hero.png — please make four sizes: 320x180, 640x360, 1024x576, and 1280x720 in jpeg format with cover fit and quality 90."},{"title":"User avatar thumbnail from base64","prompt":"Here's a user's uploaded profile photo as a base64 string — can you generate a 128x128 and a 64x64 thumbnail in PNG format with cover fit and center gravity from it?"}],"resultDescription":"Returns binary image data for each requested thumbnail size in the specified (or auto-detected) format. Each output respects the fit mode (cover/contain), gravity, quality, and upscale settings provided. EXIF orientation is applied automatically unless disabled.","failureModes":["Image URL is not publicly accessible or exceeds 10 MB — returns an error","Base64 payload exceeds ~10 MB decoded limit","Invalid size dimensions (zero, negative, or over 4096) — schema validation error","Unsupported or corrupt image format — processing error","More than 8 sizes requested — schema validation error","Neither url nor image_base64 provided — missing input error","Network timeout fetching remote image URL"],"whenToPreferThis":"Choose this endpoint when you need to generate multiple thumbnail sizes from a single source image in one API call, especially when you need fine-grained control over fit mode, gravity, output format, and quality. Prefer this over client-side resizing when working in serverless or agent contexts without image processing libraries, or when you need consistent, server-side thumbnail generation with EXIF auto-orientation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:51.253Z","isFirstParty":false,"canonicalSlug":"tanod-imagepeek-thumbnail-generator-1c50a100"}