Resize Image
Resize images with a REST API
Use Picnie when you need to resize product or marketing images without running your own image servers. The Resize Image API accepts one public image URL, a project id, and width and height. Browser Batch Resize handles about 100 files per run.
Resize Image
POST /resize-image
- Authorization header with your API key
- Formats: JPG, PNG, GIF and WEBP.
- Limit: Batch Resize accepts about 100 images per run, 25 MB each. Folder and ZIP uploads are not supported as input. The API call below resizes one image.
curl -X POST https://picnie.com/api/v1/resize-image \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"project_id": 1,
"image_url": "https://picnie.com/data/raw_images/demo_bg1.jpg",
"width": 1080,
"height": 1080
}'Other operations
Questions
REST, no SDK
Call the endpoint from any HTTP client.
Create an API key, then use the reference and Postman collection.