IMAGE CDN
& OPTIMIZER API

Resize, optimize, transform, and deliver images on-the-fly via URL parameters. WebP, AVIF, effects, text generation. Cached after the first request, and yours to purge whenever the original changes. No signup, no API keys, unlimited requests.

Optimize Any Image
// Resize and convert to WebP
https://images.hsingh.app/?url=https://example.com/photo.jpg&w=800&output=webp

// Generate OG image with text
https://images.hsingh.app/?text=Hello%20World&w=1200&h=630&bg=%23FFE500

IMAGE CDN PROXY

Fetch and optimize any remote image. Resize, compress, convert formats on the fly. Cached on disk, served with ETags.

FORMAT CONVERSION

Convert to WebP, AVIF, PNG, JPEG, GIF, TIFF. Serve modern formats for faster loading.

RESIZE & CROP

Smart resizing with multiple fit modes. Cover, contain, fill, or fit inside bounds.

TEXT & OG IMAGES

Generate dynamic text images for social sharing. Multiline, shadows, gradients.

FILTERS & EFFECTS

Grayscale, sepia, blur, sharpen, brightness, contrast, saturation adjustments.

TRANSFORMS

Flip, rotate, crop, trim, focal-point and smart crops, circle and rounded masks, watermarks.

LIVE EXAMPLES

Text example

TEXT IMAGE

?text=HELLO&bg=%23FFE500
Shadow example

TEXT SHADOW

?txtShadow=2,2,0,%23fff
Stroke example

TEXT STROKE

?txtStroke=%23fff&txtStrokeWidth=2
Multiline example

MULTILINE

?text=MULTI%0ALINE

PARAMETERS

SOURCE & SIZE
url Remote image URL
text Text to render
w Width (px)
h Height (px)
fit cover, contain, fill
dpr Device pixel ratio
OUTPUT
output jpg, png, webp, avif, auto
q Quality (1-100)
lossless true (webp/avif)
strip false keeps EXIF/ICC
encoding base64
filename Download name
EFFECTS
grayscale true/false
sepia true/false
blur 0.3-1000
brightness Multiplier
con Contrast
TRANSFORMS
flip Vertical flip
flop Horizontal flip
ro Rotation angle
crop x,y,w,h
TEXT
txtColor Text color
fontSize Size (px)
txtShadow x,y,blur,color
txtStroke Stroke color
wrap Auto-wrap
FRAMING
a top, left, attention, entropy…
fpx / fpy Focal point (0–1)
trim Trim uniform borders
we Never enlarge
SHAPES & OVERLAYS
mask circle, ellipse, rounded
mbg Fill behind the mask
ol Watermark image URL
olw / olg Watermark size %, position
url + text Text on an image
BACKGROUND
bg Solid color
gradient linear/radial,...
roundedCorners true/false
cornerRadius Radius (px)

CACHE & PURGE

Every image is cached after the first request — check the X-Cache response header for HIT or MISS. Changed the picture behind a URL? Drop it from the cache yourself. No key, no signup.

Purge From The Cache
// Drop every size and format of one image
curl -X DELETE "https://images.hsingh.app/cache?url=https://example.com/photo.jpg"

// Or name the transform to drop just that one variant
curl -X DELETE "https://images.hsingh.app/cache?url=https://example.com/photo.jpg&w=200&output=webp"
Try It — Purge An Image

Paste the original image URL — the one you passed to ?url= — not the optimized link. Limited to 20 purges an hour per IP, with a 60 second cooldown per image.

START NOW

No signup. No API keys. No limits. Just use the URL.