Upload file API
ImageKit.io allows you to upload a file (image and non-image) via API. Based on your requirement, you can either:
Both methods use the same endpoint, but there is a slight change in the request bodies.
File size limit The maximum upload file size is limited to 25MB on the free plan. On paid plan, this limit is 300MB for video files.
ImageKit.io allows you to upload a file with the following mime types:
Allowed file types
JPG image file format
JPEG image file format
PNG image files
WebP image files
GIF image files
SVG image files
MP4 video files
WebM video files
The upload API can upload one file at a time. To upload files in bulk, write a program to loop through files and call upload API repeatedly. Leverage ImageKit.io server-side SDKs to implement bulk upload program.