AI Image Resizing API for E-commerce, Marketing Automation, Photography Workflows, and Machine Learning Dataset Preparation

Batch Processing Ready

AI Image Resizing API

Process thousands of product images, social media assets, and marketing creatives with our AI-powered batch resizing API. Perfect for e-commerce catalogs, marketing automation, and content workflows.

API Key Management
Your secret API key is used to authenticate your requests

Get Your API Key in Seconds

Sign in to generate your API key and start integrating.

~1s response
99.9% uptime
Auto-scaling

No credit card required to get started

Start in 60 Seconds
3 simple steps
STEP 1

Get API Key

Sign in above and click "Generate API Key"

STEP 2

Copy the cURL

Scroll to code examples, copy any snippet

STEP 3

Run & See Results

Paste in terminal, get resized image URLs

Popular Use Cases
🛒

E-commerce

50K/day
📱

Social Media

15 formats
📷

Photography

12h→5min
🌐

Web SEO

40% LCP↑
📚

DAM Systems

1M+ images
🤖

ML Datasets

10M+ done
Performance
~5s
sequential
~1s
parallel (5x faster)

GPU-powered • Auto-scaling • Send parallel requests for max throughput

API Usage Guide
Make a POST request to our API endpoint to process an image

Endpoint

POSThttps://api.rsz.app/processImage
bash

# --- User Configuration ---
# 1. Set your API key as an environment variable in your terminal:
#    export API_KEY="your_api_key_here"
# 2. Run the command below, making sure to update the path
#    to your image file.
# NOTE: The first request may be significantly slower than subsequent ones
# --------------------
curl -X POST "https://api.rsz.app/processImage" \
  -H "Authorization: Bearer ${API_KEY}" \
  -H "Accept: application/json" \
  -F "image=@/path/to/your/image.jpg" \
  -F "target_width=1920" \
  -F "target_height=1080"

Response Format

json
{
  "success": true,
  "job_id": "687e8f8578f23f3afcc92640",
  "ai_image_url": "https://....cloudfront.net/images/.../ai_resized.png?X-Amz-Algorithm=...",
  "regular_image_url": "https://....cloudfront.net/images/.../regular_resized.png?X-Amz-Algorithm=...",
  "processing_time": 4.162,
  "credits_remaining": 199,
  "message": "Image processed successfully"
}

Response Fields

  • success: Boolean indicating if processing was successful
  • job_id: Unique identifier for the processing job
  • ai_image_url: URL to download the AI-enhanced resized image (expires in 24 hours)
  • regular_image_url: URL to download the standard resized image (expires in 24 hours)
  • processing_time: Time taken to process the image in seconds
  • credits_remaining: Your remaining credit balance after this operation
  • message: Human-readable status message