Cogwork APIs

Free Image Resizer & Converter

Paste an image URL, resize and convert it to WebP, AVIF, JPEG, or PNG. No signup. Built on the PixForge API.

Want this in your own app?

One call returns a hosted, optimized image. Free tier: 50/month — then $5/mo for 1,000, up to 60,000 on higher plans.

GET /image?url=…&w=400&format=webp&quality=80
Get an API key →

PixForge is a production-grade image processing API: one endpoint that resizes, converts, compresses, and watermarks any image, with the caching, rate limiting, and uptime you'd otherwise have to build yourself. It runs on libvips (via sharp), so it's fast and memory-efficient even on large images. This free tool is the same engine, so the output you see here is identical to what your code receives.

How it works

Give PixForge a public image URL (or base64 from your own code) plus the transforms you want. It applies them in a predictable pipeline — orient, resize, recolor, watermark — then encodes to your chosen format and caches the result on a CDN. This tool wraps a single GET /image request, so everything here is available from your own code.

What it can do

Use cases

FAQ

Is the image tool free?
Yes — free to use, no signup. The PixForge API behind it has a free tier of 50 transforms/month; paid plans start at $5/mo for 1,000 and scale to 60,000.
Which formats can it output?
WebP, AVIF, JPEG, and PNG. Omit format to keep the source format while still resizing/compressing.
Can I send my own image bytes?
Yes. POST /image accepts { "image": "<base64>" } in addition to a url.
Is EXIF/location data removed?
Yes — metadata is stripped by default. Pass stripMetadata=false to keep it.

API reference

Call it through RapidAPI. Base host: pixforge-image-processing.p.rapidapi.com. Send your key as X-RapidAPI-Key and the host as X-RapidAPI-Host.

GET POST/image

Transform an image from a URL (GET or POST) or base64 (POST). By default it 302-redirects to the cached result; add json=true to get a JSON { url } instead.

ParamTypeDescription
urlrequired*stringPublic image URL. *Or send image (base64) in a POST body. Internal/private hosts are blocked.
width / heightoptnumberTarget size in px (1–6000). w/h aliases on GET.
fitoptstringcover (default), contain, fill, inside, outside.
formatoptstringwebp, avif, jpeg, png. Omit to keep source format.
qualityoptnumber1–100 (default 82).
grayscale / blur / tint / rotate / flip / flopoptmixedRecoloring and geometry options.
watermarkoptobjectPOST only: { text | imageUrl, gravity, opacity }.
stripMetadataoptbooleanDefault true; set false to preserve EXIF.
jsonoptbooleantrue{ url, format, bytes }; otherwise a 302 redirect.

Returns a 302 redirect to the optimized image on the CDN, or { url, cached, format, bytes } when json=true.

curl -X POST "https://pixforge-image-processing.p.rapidapi.com/image" \
  -H "content-type: application/json" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: pixforge-image-processing.p.rapidapi.com" \
  -d '{"url":"https://example.com/photo.jpg","width":400,"format":"webp","quality":80,"json":true}'