Public APIs
Generate Image Thumbnails API favicon

Generate Image Thumbnails API

Photography

Generate and optimise Image Thumbnails from any image with this API and save hours of image editing.

Generate Image Thumbnails API's website screenshot

About Generate Image Thumbnails API

Thumbnail Generator is a hosted API that creates a thumbnail from either an uploaded image or a remote image URL. Requests specify the desired output width and height as query parameters, with the source image supplied as a multipart file upload or as a URL in a JSON body. Optional parameters allow setting a named output file, preserving the original image format, and applying automatic orientation correction based on image metadata.

The API exposes four POST endpoints covering combinations of input method (file upload or URL fetch) and response type (binary thumbnail data or a JSON object containing a data URI/signed URL). File uploads are capped at 100MB total per request. The service is intended for resizing images for use cases such as listings, previews, email attachments, CMS pipelines, product galleries, and user-generated content moderation.

The listing is version 1.0, published by ApyHub, and marked verified.

Key features

  • Generates thumbnails from an uploaded image (multipart) or a remote image URL
  • Custom output size via required width and height query parameters
  • Returns either binary thumbnail data or a JSON object with a data URI, depending on the endpoint
  • Optional preserve_format parameter to keep the original image format
  • Optional auto_orientation parameter to correct images with orientation metadata before generating the thumbnail
  • 4 POST endpoints covering multipart upload and URL-fetch, with binary-download or signed-URL response variants

Frequently asked questions

What image sources does the API accept?

You can send an image directly in a multipart request or provide a remote image URL in the JSON body.

What's the maximum upload size?

Multipart requests are capped at 100MB total per request; for larger files, use the URL-based endpoint instead.

What response formats does it return?

Depending on the endpoint, the response is either raw binary thumbnail data or a JSON object with a data URI string.

Who is this API useful for?

Developers building upload flows, CMS pipelines, product galleries, or user-generated content moderation screens that need fast preview thumbnails.

Can it fix image orientation or keep the original format?

Yes, the auto_orientation parameter corrects images with orientation metadata and preserve_format keeps the source image's original format.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product