文件压缩 API — 编程式压缩文件

开发者 API,大规模压缩文件。通过简单的 HTTP 请求从你的应用压缩图片、PDF、视频和归档文件 —— 提供免费套餐。

Developer-friendly file compression

Why use the API

Simple HTTP API

Compress files with a single POST request. No SDK required — works from any language or platform.

Fast and scalable

Process files at scale with low latency. Free tier for low volume, paid tiers for production.

API key auth

Authenticate with a key from your dashboard. Set rate limits and quotas per environment.

Private by design

Files are processed and deleted shortly after — never stored or used for training.

如何使用压缩 API

How to use

  1. 1

    注册并从仪表盘生成 API 密钥。

  2. 2

    向 API 端点发送 POST 请求,在请求头中包含文件和 API 密钥,以及可选的目标大小。

  3. 3

    在响应中接收压缩文件并在你的应用中使用。

POST /api/compress
Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data

file: <binary>
target_size_kb: 200   # optional

FAQ

Common questions about this compression tool.

Frequently Asked Questions