HerramientasTools
Entrar Crear cuenta

Redimensionar, convertir y comprimir imágenes

Imágenes es una API que redimensiona, cambia el formato y comprime una imagen. Perfecta para preparar fotos y capturas para web, email o redes sociales desde n8n, Make o Zapier, sin montar servidores.

Cómo funciona

Le mandas una imagen (JPEG, PNG, WebP, AVIF, GIF o TIFF). Le dices qué quieres cambiar: tamaño (width/height), formato de salida (format) y/o compresión (quality). Te devuelve la imagen procesada. Tiene que venir al menos uno de esos cuatro campos. Si no le dices nada que cambiar, la petición falla en vez de gastarte un crédito por no hacer nada.

Dos límites a tener en cuenta: de un GIF animado solo se procesa el primer fotograma (esta herramienta trabaja con una imagen, no con animaciones), y las fotos en formato HEIC (el que usa el iPhone por defecto) no están soportadas todavía. Conviértelas a JPEG antes de enviarlas.

Lo único que necesitas

  • Tu API key. La creas en tu panel con "+ Crear llave". Se muestra una sola vez, así que cópiala y guárdala.
  • En tu plataforma de automatización, un paso de tipo "HTTP Request" / "Hacer una petición HTTP" (lo tienen n8n, Make, Zapier, Pipedream…).

Redimensionar una imagen

Le envías tu imagen tal cual (como archivo binario) y el tamaño que quieres como Query Parameters. En el nodo HTTP Request:

  • Method: POST
  • URL: https://api.cofferdock.com/images
  • Send Headers: actívalo y añade dos: x-api-key = tu llave, y Content-Type = el tipo de tu imagen (por ejemplo image/jpeg)
  • Send Body: actívalo → elige la opción para mandar un archivo binario (en n8n: "n8n Binary File")
  • Query Parameters: width = 800 (por ejemplo)

En Options → Response → Response Format elige File para recibir la imagen procesada directamente.

Cambiar el formato o comprimir

Añade format (jpeg, png, webp o avif) y/o quality (1 a 100) como Query Parameters, igual que width/height. Por ejemplo format=webp&quality=70 para convertir a WebP comprimido.

En Make: mismo método y URL, los parámetros en Query String, las cabeceras y la imagen como dato binario en el cuerpo.

Parámetros disponibles

ParámetroPara qué sirve
widthAncho en píxeles del resultado.
heightAlto en píxeles del resultado.
fitCómo encajar la imagen si das ancho y alto a la vez. Por defecto nunca recorta ni deforma.
formatFormato de salida: jpeg, png, webp o avif. Si no lo dices, mantiene el formato original.
qualityCalidad/compresión, de 1 a 100. Cuanto más bajo, más pequeño el archivo y más pérdida.

Lo que recibes

La imagen procesada directamente (o en base64 con output=json).

Resize, convert and compress images

Images is an API that resizes, changes the format and compresses an image. Great for prepping photos and screenshots for web, email or social media from n8n, Make or Zapier, with no servers to maintain.

How it works

You send an image (JPEG, PNG, WebP, AVIF, GIF or TIFF). You tell it what to change: size (width/height), output format (format) and/or compression (quality). It returns the processed image. At least one of those four fields is required. If there's nothing to change, the request fails instead of spending a credit for doing nothing.

Two limits worth knowing: of an animated GIF only the first frame is processed (this tool works with one image, not animations), and HEIC photos (the iPhone's default format) aren't supported yet. Convert them to JPEG before sending.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

Resize an image

You send your image as is (as binary data) and the size you want as Query Parameters. In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/images
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = your image's type (e.g. image/jpeg)
  • Send Body: on → choose the binary file option (in n8n: "n8n Binary File")
  • Query Parameters: width = 800 (for example)

Under Options → Response → Response Format choose File to get the processed image directly.

Change the format or compress

Add format (jpeg, png, webp or avif) and/or quality (1 to 100) as Query Parameters, same as width/height. For example format=webp&quality=70 to convert to compressed WebP.

In Make: same method and URL, the parameters in Query String, the headers, and the image as binary data in the body.

Available parameters

ParameterWhat it does
widthResult width in pixels.
heightResult height in pixels.
fitHow to fit the image when you give both width and height. Defaults to never cropping or distorting.
formatOutput format: jpeg, png, webp or avif. If you don't set it, the original format is kept.
qualityQuality/compression, 1 to 100. The lower, the smaller the file and the more loss.

What you get back

The processed image directly (or as base64 with output=json).