신규 사용자는 무료 크레딧 제공, 신용카드 불필요 시작하기
무료 API
API 키로 보호되며 무료로 사용 가능

Compress Image

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

엔드포인트
POST /api/free/compress-image
무료 등급: 5 RPM. 유료 사용자: 500 RPM. 제한은 모든 무료 API 엔드포인트에서 공유됩니다.

사용 안내

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

API 예시

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

요청은 브라우저에서 이 사이트로 API 키를 사용해 전송됩니다.

Image file *
Size *
API 키와 필수 입력값을 추가하면 요청을 실행할 수 있습니다.POST /api/free/compress-image