网页
综合
更新时间 2026-11-15 07:27:02
Image Compression API: Compress, Resize & Convert | TinyPNG
自动蜘蛛
tinypng.com
正文约 2489 字
We will send you a link by mail that will sign you in instantly!
You can create a new account for free
Hook up your server to optimize all your AVIF, JPEG XL, WebP, JPEG and PNG images on the fly. Join over 50,000 companies and developers around the world who are using the API. Enter your name and email address to retrieve your API key and get started now.
The first 500 compressions each month are free. After that, you pay as you go: $0.009 per compression up to 10,000 compressions a month and $0.002 per compression above that, with no subscription fee and no minimum charge. Prepaid credit bundles are also available. See API pricing for details.
500 Free compressions each month. No payment method required.
Once you retrieve your key, you can immediately start shrinking images. Official client libraries are available for Ruby, PHP, Node.js, Python, Java and .NET. Additionally, you can create your integration with any HTTP(S) client.
If you have a WordPress website, you can effortlessly compress your WebP, JPEG, and PNG images using the WordPress plugin.Feel free to check out the third-party plugins if you haven't found what you need. The Tinify community has used the Developer API to create many third-party add-ons for popular platforms.
When creating your integration in HTTP(S), the server will compress your image and respond with a URL where you can grab the result.
curl --user api:YOUR_API_KEY \--data-binary @unoptimized.png -i https://api.tinify.com/shrink
Total compressed & converted images
You can sign up for the developer API here by entering your name and email address. After registration, an activation email will be sent to your email address. By simply clicking the button within this email, you will be logged in and directed to the dashboard right away. The API key will then be available on your API dashboard.
The maximum file size is 500 MB, and an image can have up to 256 megapixels (width × height), for example 16,000 × 16,000 pixels.
In the API dashboard, you can easily create new API keys. We recommend using different API keys for different implementations so that you can monitor the number of compressions separately.
At Tinify, we take your privacy seriously, so we can't see the content of your images. Only a minimum of personal information is collected and used to administer your account and to provide you with the requested products and services.
© 2026 Tinify. All rights reserved.
By using this site you accept the terms of use.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。