C
Cleanor
/optimize_image
Optimize / convert an image for the web
Fetch an image from a public URL and re-encode it smaller (WebP/AVIF/JPEG), optionally resizing to a target width. Returns the optimized image plus before/after
liveverifiedunknown~5s typical
mcpprobedcleanor
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-app-cleanor-cleanor /optimize_image for me.
Input
| Field | Type | Description |
|---|---|---|
| image_url* | string | Public URL of the source image (PNG/JPEG/WebP/AVIF/GIF). |
| format | string (webp | avif | jpeg) | Output format. webp = best browser support; avif = smallest; jpeg = universal. default "webp" |
| width | integer | Resize to this width in px, preserving aspect ratio. Omit to keep original size. |
| quality | integer | Encode quality 1-100 (80 is a good default). default 80 |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-app-cleanor-cleanor","endpoint":"/optimize_image","input":{"image_url":"...","format":"webp","quality":80}}'cli
npx cracked-ai run -p mcp-app-cleanor-cleanor -e /optimize_image -i '{"image_url":"...","format":"webp","quality":80}'mcp
run_tool({ provider: "mcp-app-cleanor-cleanor", endpoint: "/optimize_image", input: {"image_url":"...","format":"webp","quality":80} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.