Resize Image
Pricing
$1.30 / 1,000 image resizeds
Go to Apify Store
Resize Image
Batch resize, crop, and convert images to any dimension or format using Sharp. Supports JPEG, PNG, WebP, AVIF, and more.
Resize Image
Pricing
$1.30 / 1,000 image resizeds
Batch resize, crop, and convert images to any dimension or format using Sharp. Supports JPEG, PNG, WebP, AVIF, and more.
Input URL
inputUrl
Required
Source URL of the image (null if input was a KV store key)
Input KV Key
inputKvKey
Required
Key in the Key-Value Store for the source image (null if input was a URL)
Output Name
outputName
Required
Filename used for the output image (without extension)
Output KV Key
outputKvKey
Required
Key in the Key-Value Store where the processed image is saved
Output URL
outputUrl
Required
Public URL to access the processed image from the Key-Value Store
Output Base64
outputBase64
Required
Base64-encoded image data (only populated when outputMode is 'base64')
MIME Type
mimeType
Required
MIME type of the output image (e.g., image/webp, image/jpeg)
Status
status
Required
Processing status for this image
Error Message
error
Required
Human-readable error message if processing failed
Error Code
errorCode
Required
Structured error code (e.g., CORRUPT_IMAGE, NO_DIMENSIONS_SPECIFIED)
Input Image Stats
input
Required
Metadata about the source image
Output Image Stats
output
Required
Metadata about the processed output image
Processing Time (ms)
processingMs
Required
Total processing time for this image in milliseconds
Processed At
processedAt
Required
ISO 8601 timestamp of when this image was processed