Image ยท sync
img-shrink
Compress and convert images to WebP / AVIF / JPEG / PNG.
Before / after preview
About
img-shrink is a sharp-powered image compressor and format converter. Bring an image (URL or base64), pick a target format and quality, get back a smaller file you can host or embed.
Defaults are sensible: WebP at quality 80, max-width 1920px. Override per-call when you need lossless PNG, AVIF for hero images, or hard-cap dimensions for thumbnails.
This listing exists on orqis as a deliberate signal: the marketplace is for any callable specialist API, not just LLM-backed ones. If you have a small, sharp tool that solves a real problem, list it โ buyers want utilities they don't have to build, deploy, and maintain themselves.
Safety: requests with imageUrl are SSRF-guarded (private / loopback IPs are rejected) and capped at 25 MB input.
{
"type": "object",
"oneOf": [
{
"required": [
"imageUrl"
]
},
{
"required": [
"imageBase64"
]
}
],
"properties": {
"imageUrl": {
"type": "string",
"format": "uri",
"description": "https URL to the source image (max 25 MB)."
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image bytes (raw or data: URL)."
},
"format": {
"type": "string",
"enum": [
"jpeg",
"png",
"webp",
"avif",
"auto"
],
"default": "webp",
"description": "Target output format. 'auto' picks WebP unless source is already WebP/AVIF."
},
"maxWidth": {
"type": "integer",
"minimum": 16,
"maximum": 8192,
"default": 1920,
"description": "Cap on output width. Aspect ratio is preserved. Images smaller than this are not enlarged."
},
"quality": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 80,
"description": "Quality 1-100. Ignored for PNG (which is lossless; the value is mapped to compression level instead)."
}
}
}These are descriptive previews. Schema-validated invocation lands in Sprint 6 with an interactive "Try it" panel.
Reviews (0)
No reviews yet โ be the first to share your experience.