sizefit

Compress to a target size: API for developers

Planned, not built yet. The Sizefit website compresses in your browser. For apps and backends that cannot do that, we are considering a small HTTP API: send a file and a size limit, get back a file under the limit. Tell us if you would use it and we will email you when it opens.

What it would do

One call, one result: POST /v1/compress with a file and either a preset or an exact size. The response is the compressed file, plus its final size. Video and images, the same engine and safety margins as this site.

Presets

Use a preset name instead of working out a byte count: discord_free_20, discord_free_10, whatsapp_16, gmail_25, outlook_20, telegram_50, mms_1, portal_5 and the rest of the list on our tool pages. Or pass target_bytes for any size.

Example (draft, subject to change)

curl https://api.example.invalid/v1/compress   -H "Authorization: Bearer YOUR_KEY"   -F "file=@holiday.mov"   -F "preset=discord_free_20"   -o holiday-small.mp4

# or an exact size
curl https://api.example.invalid/v1/compress   -H "Authorization: Bearer YOUR_KEY"   -F "file=@photo.png" -F "target_bytes=200000" -o photo-small.jpg

The address above is a placeholder. There is no server yet, and nothing here works today.

Planned pricing (a draft, not final)

  • Free: 1 GB of input per month.
  • Pay as you go: about $0.50 per GB of input, failed jobs not charged.

For context, prices we checked on 2026-11-09: Transloadit lists $2/GB overage on its $29 plan (15 GB included) and $1.80/GB on its $54 to $69 plan (40 GB included); counting input and output together. CloudConvert and FreeConvert bill by conversion minutes (FreeConvert from $12.99 per month for 1,500 minutes), and Cloudinary by credits (from $99 per month). Our price is a starting guess; your answers will shape it.

Register interest

We store only your email and the date, use it only to tell you when the API opens, and delete it on request. Prefer not to use the form? Email us instead.

Last updated 2026-11-09.