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

Flexible Image Compression

Resize and recompress a single image with custom output format, size, and quality.

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

Hinweise zur Nutzung

  • Use size=custom with width between 1 and 8192.
  • Uses local Sharp processing; no third-party compression key is required.

API-Beispiel

curl -X POST "https://api.apiany.ai/api/free/compress-image-stream" \
  -H "Authorization: Bearer $API_KEY" \
  -F "image=@input.png" \
  -F "format=webp" \
  -F "size=custom" \
  -F "width=1024" \
  -F "quality=82" \
  --output output.webp

Playground

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

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