Quick Start
Upload an image, get a shareable link. No account required.
Upload
Request
bash
curl -X POST "https://api.img.pro/v1/upload" \
-F "file=@photo.jpg"
Response
json
{
"id": "abc123",
"link": "https://img.pro/abc123",
"extension": "jpeg",
"width": 1920,
"height": 1080,
"filesize": 245678,
"expires_at": 1706659200,
"created_at": 1704067200,
"upgrade": {
"type": "register",
"url": "https://img.pro/auth/register?from_cta=api",
"message": "Sign up for permanent storage and 100 uploads/month",
"label": "Create Account"
}
}
Your image is live. The link is the canonical viewer page — copy it, share it, embed it. Add query params for transforms (see Transforms).
Import from a URL instead:
Request
bash
curl -X POST "https://api.img.pro/v1/import" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/photo.jpg"}'
Same response shape — you get link, extension, dimensions, and the upgrade hint.
Anonymous uploads expire after 30 days, max 20 MB, and are rate-limited per IP. Sign up at img.pro for permanent storage, larger files, and higher limits.
Sign up & get a key
Create an account with your email, then create an API key from the dashboard. Use it on every request:
Request
bash
curl -X POST "https://api.img.pro/v1/upload" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.jpg" \
-F "caption=Hero shot from launch day"
Response
json
{
"id": "abc123",
"link": "https://img.pro/abc123",
"caption": "Hero shot from launch day",
"extension": "jpeg",
"width": 1920,
"height": 1080,
"filesize": 245678,
"created_at": 1704067200
}
Authenticated uploads land permanently on your account, organized however your dashboard groups them. Use caption for free-text descriptions.
Tiers
Anonymous
- Uploads
- Rate-limited per IP
- Storage
- Shared
- Retention
- 30 days
- Max file
- 20 MB
Free
- Uploads
- 100/mo
- Storage
- 1 GB
- Retention
- Permanent
- Max file
- 70 MB
Pro ($19/mo)
- Uploads
- 1,000/mo
- Storage
- 10 GB
- Retention
- Permanent
- Max file
- 70 MB
Need more? See all plans — up to 100,000 uploads/mo and 1 TB storage. See the Error Reference for every error code and action.