무료 API
API 키로 보호되며 무료로 사용 가능
Flexible Image Compression
Resize and recompress a single image with custom output format, size, and quality.
엔드포인트
POST /api/free/compress-image-stream무료 등급: 5 RPM. 유료 사용자: 500 RPM. 제한은 모든 무료 API 엔드포인트에서 공유됩니다.
사용 안내
- Use size=custom with width between 1 and 8192.
- Uses local Sharp processing; no third-party compression key is required.
API 예시
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
요청은 브라우저에서 이 사이트로 API 키를 사용해 전송됩니다.
Image file *
Output format
Size
Custom width
Quality
API 키와 필수 입력값을 추가하면 요청을 실행할 수 있습니다.POST /api/free/compress-image-stream