Image Upload API With Built-In Transformations

Upload images from the browser or your server, then crop, fix orientation, and convert to WebP or AVIF by editing one CDN URL.

Uploads, storage, and CDN by Filestack
A straw hat, sunglasses, and a palm leaf on a yellow background
Product grid 480 × 480
Original
JPG · 205 KB
Delivered
WebP · 44 KB
79% smaller
resize=width:480,height:480,fit:crop/output=format:webp,quality:80Open the delivered image in a new tab
One uploaded image delivered as three variants, each set by the tasks in its CDN URL.

Automatic Image Optimization

Image Upload API automatically resizes and crops your product images, ensuring they look their best on your e-commerce site.

Easy Integration with E-commerce Platforms

Our API integrates with any e-commerce stack through SDKs for JavaScript, React, Angular, Python, Java, and PHP, making it easy to upload and manage your product images.

Powerful Editing Tools

Image Upload API gives you a range of editing tools to fine-tune the appearance of your product images with ease. From changing the orientation to converting the format, Image Upload API has you covered.

Effortlessly Showcase Your Products With Our Powerful Image Upload API

  • Easily upload and manage your product images with our user-friendly interface
  • Optimise your product images for the web with automatic resizing and compression
  • Enjoy peace of mind with our secure upload and storage for your product images
Try Image Upload API Now

Try the Image Upload API on a Product Photo

Pick a size, shape, and format, or upload your own photo. Every setting is one task in a single CDN URL.

Width
Crop
Format

Uploaded original

 
The uploaded original product photo

Delivered image

 
The product photo after cropping, orientation, and optimization
Image URL

Upload response

Add Image Uploads in a Few Lines of Code

Open the picker in the browser or post a file from your server. The returned handle serves every size and format your storefront needs.

Integration
const client = filestack.init('YOUR_API_KEY');

client.picker({
  accept: ['image/*'],
  maxFiles: 10,
  onUploadDone: (res) => {
    console.log(res.filesUploaded);
  },
}).open();

Pricing

Image Upload API plans are Filestack plans. One account covers uploads, transformations, storage, and CDN delivery.

Free

$0
free forever
  • Uploads500
  • Transformations1,000
  • Bandwidth1 GB
  • Storage1 GB
  • Max file size20 MB
Sign Up Free

Grow

$199
billed monthly
  • Uploads50,000
  • Transformations150,000
  • Bandwidth200 GB
  • Storage150 GB
  • Max file size2 GB
Start Free Trial

Scale

$379
billed monthly
  • Uploads125,000
  • Transformations300,000
  • Bandwidth400 GB
  • Storage350 GB
  • Max file size5 GB
Start Free Trial

Enterprise

Custom
tailored to your volume
  • UploadsCustom
  • TransformationsCustom
  • BandwidthCustom
  • StorageCustom
  • Max file sizeCustom
Contact Sales

Add-ons and the full feature comparison are on Filestack pricing.

A straw hat, sunglasses, and a palm leaf on a yellow background
Straw Sun Hat$38
Add to cart
A woman wrapped in a striped beach towel
Striped Beach Towel$29
Add to cart
The ends of colored pencils stacked together
Colored Pencil Set$18
Add to cart

Boost Your Product Sales With Stunning Images

With the Image Upload API, you can easily upload and display high-quality product images on your website or application, helping to attract and engage customers. Sign up now and start showcasing your products.

Get Started FREE

FAQ

Can I retrieve my product images from the API for use on my website or application?

Yes. Every upload returns a CDN URL such as https://cdn.filestackcontent.com/HANDLE. Add resize, crop, or format tasks to that URL to serve the exact size and format each page needs.

Is the API secure for storing and transmitting my product images?

Uploads and delivery run over HTTPS. Enabling application security puts a signed, expiring policy on every request, and a domain whitelist controls which sites can load your images.

What image file formats does the Image Upload API support?

Uploads accept any file type, and the picker's accept option limits it to images. Transformations deliver JPG, PNG, WebP, and AVIF output from the same stored original.

Can I customise the size and appearance of the product images?

Yes. Chain tasks in the image URL to resize, crop to exact dimensions, fix orientation from EXIF data, compress, and convert the format. Each variant is generated on request and the original stays unchanged. Image enhancement is available on paid plans.

Is there a cost for using the Image Upload API?

The Free plan is $0 and includes 500 uploads, 1,000 transformations, 1 GB of bandwidth, and 1 GB of storage. Paid plans start at $69 a month. Every plan is listed in the pricing section.

Image Upload API Is Powered by Filestack

Uploads, storage, transformations, and CDN delivery run on Filestack's file infrastructure. Your account, API key, and billing live in the Filestack developer portal.

  1. Upload

    One picker for local files, URLs, webcam, Google Drive, and Dropbox.

  2. Transform

    Resize, crop, rotate, compress, and convert with URL tasks.

  3. Deliver

    Every file and every variant is served from the Filestack CDN.

Security Signed, expiring policies and a domain whitelist for each application.