Smart crop
Saliency and face detection pick the focal point. Pass focus:"auto" and stop hand-tuning gravity.
Kiln resizes, crops, compresses and caches images from one HTTP call. 312 points of presence, no buckets to babysit, no lambdas to warm.
1curl -X POST api.kiln.dev/v1/render \ 2 -H "Authorization: Bearer $KILN_KEY" \ 3 -d '{ 4 "src": "s3://atlas-media/hero/dunes.jpg", 5 "width": 1600, "fit": "cover", 6 "format": "avif", "quality": 62, 7 "focus": "auto" 8 }'
1import { Kiln } from "@kiln/sdk"; 2 3const kiln = new Kiln(process.env.KILN_KEY); 4 5const img = await kiln.render({ 6 src: "s3://atlas-media/hero/dunes.jpg", 7 width: 1600, fit: "cover", format: "avif", 8}); // img.url, img.bytes, img.timing
1from kiln import Kiln 2 3kiln = Kiln(os.environ["KILN_KEY"]) 4 5img = kiln.render( 6 src="s3://atlas-media/hero/dunes.jpg", 7 width=1600, fit="cover", format="avif", 8) # img.url, img.bytes, img.timing
// 200 OK · x-kiln-pop: fra-2 { "url": "cdn.kiln.dev/r/8f2c…a1.avif", "bytes": 48213, "saved": "91.4%", "cache": "MISS", "ms": 17.8 }
Saliency and face detection pick the focal point. Pass focus:"auto" and stop hand-tuning gravity.
AVIF, WebP or JPEG XL per Accept header. Median payload drops 74% against source JPEG.
Two-layer cache with 98.7% hit rate. Purge by tag in under 150ms, globally.
HMAC-signed transforms so nobody can request a 9000px render on your bill.
S3, R2, GCS, Azure Blob or a plain HTTP host. No migration, no copies.
Bytes saved, cache ratio and p99 by path prefix, streamed to your warehouse.