{"category":"image","endpoint":"https://setget.net/v1/tools/image-thumbnail","examples":[{"input":{"image":"sample.jpg","size":128},"title":"128 pixel square thumbnail"},{"input":{"fit":"contain","format":"webp","image":"sample.jpg","size":128},"title":"Whole image inside 128 pixels, as WebP"}],"input_schema":{"additionalProperties":false,"properties":{"fit":{"default":"cover","description":"cover crops the middle to an exact square. contain keeps the whole image and its proportions, fitted inside a square of this size.","enum":["cover","contain"],"type":"string"},"format":{"description":"Format of the result. Leave empty to keep the format of the upload.","enum":["png","jpg","webp","avif","gif","bmp","tiff","ico"],"type":"string"},"image":{"description":"The image to make a thumbnail of.","format":"setget-file","type":"string","x-accept":["image"]},"size":{"default":256,"description":"Side of the thumbnail in pixels.","examples":[128],"maximum":2048,"minimum":8,"type":"integer"}},"required":["image"],"type":"object"},"keywords":["thumbnail","preview","avatar","square","icon","small image","profile picture","thumb"],"related":["image-resize","image-crop","image-round-corners","image-convert"],"slug":"image-thumbnail","summary":"Make a small square thumbnail or preview of an image at a chosen size, cropped to fill or fitted inside a box.","tier":"job","timeout_seconds":120,"title":"Make a thumbnail","url":"https://setget.net/tools/image-thumbnail"}
