API Documentation
Integrate AutoSizer image processing into your applications with our REST API. Submit public image URLs, poll for results, and download signed output links.
Quick Start
Solo plan required. Keys are shown once at creation time.
1. Get API Key
Generate an ask_ key from the dashboard
2. Submit URLs
POST public image URLs with a supported platform
3. Poll Results
Poll job status every few seconds until completed or failed
API Endpoints
Cloud Functions URLs (there is no /api/v1 router on autosizer.xyz)
https://us-central1-autosizer.cloudfunctions.net/apiProcessFunctionProcess images from public HTTPS URLs (max 10 per request)
https://us-central1-autosizer.cloudfunctions.net/apiGetJobFunction?jobId={jobId}Get job status, signed download URLs, optional zipUrl
https://us-central1-autosizer.cloudfunctions.net/apiListJobsFunctionList your jobs (newest first)
https://us-central1-autosizer.cloudfunctions.net/apiGetPlatformsFunctionList supported platforms (etsy, shopify, amazon)
https://us-central1-autosizer.cloudfunctions.net/apiStatusFunctionAPI liveness check (does not verify processing health)
Code Examples
Example requests for common operations
Process Images
curl -X POST https://us-central1-autosizer.cloudfunctions.net/apiProcessFunction \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"images": [
{
"url": "https://example.com/image.jpg",
"platform": "etsy"
}
]
}'Check Job Status
curl -X GET "https://us-central1-autosizer.cloudfunctions.net/apiGetJobFunction?jobId=YOUR_JOB_ID" \
-H "Authorization: Bearer YOUR_API_KEY"Get Supported Platforms
curl -X GET https://us-central1-autosizer.cloudfunctions.net/apiGetPlatformsFunctionResponse Examples
Sample API responses
Process Response
{
"success": true,
"jobId": "1730000000000_abc123",
"status": "processing",
"estimatedTime": "30s",
"images": [
{
"id": "img_1",
"status": "queued",
"originalUrl": "https://example.com/image.jpg"
}
]
}Job Status Response
{
"success": true,
"jobId": "1730000000000_abc123",
"status": "completed",
"createdAt": "2026-08-12T10:30:00.000Z",
"completedAt": "2026-08-12T10:30:45.000Z",
"zipUrl": "https://storage.googleapis.com/...",
"images": [
{
"id": "img_main2000",
"status": "completed",
"downloadUrl": "https://storage.googleapis.com/...",
"variant": "main2000",
"originalSize": "2.3MB",
"processedSize": "1.1MB",
"compressionRatio": "52%"
}
]
}Authentication
Authenticated endpoints require a Bearer API key. Platforms and status are public. Do not use API keys in browser clients.
Authorization: Bearer ask_...Usage
Polling
There are no webhooks yet. Poll apiGetJobFunction every 2 to 5 seconds until status is completed or failed.
Need Help?
Ready to Start Building?
Get your API key and start integrating AutoSizer into your applications today.