---
title: Generate Image Thumbnails API
slug: generate-thumbnail
url: https://apyverse.com/apyhub/service/generate-thumbnail
provider: ApyHub
categories: [File Manipulation, Image Processing]
tags: [thumbnail-generation, image-resizing, image-processing, image-transformation, signed-url]
auth: api_key
---

# Generate Image Thumbnails API

Create thumbnails from an uploaded image or image URL. Returns binary output or a signed URL, with optional format preservation and auto orientation.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/generate/image/thumbnail/file` | What it does Generates a thumbnail from an uploaded image and returns the resulting file as binary… | 30 |
| POST | `/generate/image/thumbnail/file/url` | What it does Generates a thumbnail for an uploaded image sent as multipart form data and returns a… | 30 |
| POST | `/generate/image/thumbnail/url/file` | What it does Downloads the file at the provided URL and generates a thumbnail using the requested d… | 30 |
| POST | `/generate/image/thumbnail/file-urls` | What it does Fetches an image from the provided URL and generates a thumbnail using the requested w… | 30 |

## About

## What it does
Thumbnail Generator creates resized thumbnails from either an uploaded image or a source image URL. Send an image plus `width` and `height`, and get back a thumbnail as a binary file or a signed download URL.

Use the multipart endpoints when you already have the image in your request body, or the URL endpoints when you want the API to fetch the source image for you. You can also set `output`, `preserve_format`, and `auto_orientation` to control the result. `preserve_format` keeps the original image format when possible, and `auto_orientation` helps correct images that include rotation metadata.

This is useful anywhere you need consistent preview images: product cards, gallery grids, email assets, CMS previews, or social sharing thumbnails. The service is designed around simple image transformation inputs and returns either the thumbnail content directly or a URI in `data` for signed-link workflows.

Thumbnail Generator keeps the interface narrow: image source, dimensions, and a few output controls. That makes it easy to wire into upload pipelines, asset processing jobs, or backend services that need predictable thumbnail output without extra image-handling logic.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/generate-thumbnail
