Neue Nutzer erhalten kostenlose Credits, keine Kreditkarte nötig Loslegen
Kostenlose API
Per API-Key geschützt, kostenlos nutzbar

Compress Image

Compress a single image to WebP with a 500px or 1200px target width.

Endpunkt
POST /api/free/compress-image
Kostenlos: 5 RPM. Zahlende Nutzer: 500 RPM. Limits gelten gemeinsam für alle Free-API-Endpunkte.

Hinweise zur Nutzung

  • Accepts image/* request bodies or multipart form-data with an image/file field.
  • Returns a WebP image response.

API-Beispiel

curl -X POST "https://api.apiany.ai/api/free/compress-image?size=1200" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: image/png" \
  --data-binary @input.png \
  --output output.webp

Playground

Aufrufe werden aus Ihrem Browser mit Ihrem API-Key an diese Website gesendet.

Image file *
Size *
Fügen Sie API-Key und Pflichtfelder hinzu, um die Anfrage zu aktivieren.POST /api/free/compress-image