{"id":6919,"date":"2026-09-16T23:09:52","date_gmt":"2026-09-16T23:09:52","guid":{"rendered":"https:\/\/jonjones.ai\/uncategorized\/daily-tool-thursday-tinify-2026-09-17\/"},"modified":"2026-09-16T23:09:52","modified_gmt":"2026-09-16T23:09:52","slug":"%e6%af%8f%e6%97%a5%e5%b7%a5%e5%85%b7-%e6%98%9f%e6%9c%9f%e5%9b%9b-tinify-2026-09-17","status":"publish","type":"post","link":"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e5%b7%a5%e5%85%b7-%e6%98%9f%e6%9c%9f%e5%9b%9b-tinify-2026-09-17\/","title":{"rendered":"\u9031\u56db\u5de5\u5177\u63a8\u85a6\uff1aTinify API\uff0d\u4e00\u6b3e\u514d\u8cbb\u7684\u5716\u7247\u58d3\u7e2e\u5de5\u5177\uff0c\u6703\u5728\u5373\u5c07\u505c\u6b62\u904b\u4f5c\u6642\u767c\u51fa\u63d0\u9192"},"content":{"rendered":"<p>\u6211\u7684\u7d93\u7d00\u4eba\u767c\u5e03\u7684\u6bcf\u5f35\u5716\u7247\u5728\u5230\u9054 WordPress \u4e4b\u524d\u90fd\u6703\u5148\u7d93\u904e\u4e00\u500b\u514d\u8cbb\u7684 API\u3002\u4eca\u5929\u65e9\u4e0a\uff0c\u4e00\u5f35 142,497 \u4f4d\u5143\u7d44\u7684\u7279\u8272\u5716\u7247\u88ab\u58d3\u7e2e\u5230\u4e86 34,819 \u4f4d\u5143\u7d44\u3002 <strong>\u5df2\u4fdd\u5b58 75.6%<\/strong> \u2014\u2014\u800c\u4f60\u73fe\u5728\u5728\u9019\u500b\u9801\u9762\u4e0a\u770b\u5230\u7684\u662f\u5c0f\u5c3a\u5bf8\u7248\u672c\u3002.<\/p>\n<p>\u8a72\u5de5\u5177\u662f <strong>Tinify API<\/strong> \u2014\u2014TinyPNG \u80cc\u5f8c\u7684\u5f15\u64ce\u3002\u5b83\u4e4b\u6240\u4ee5\u5165\u9078\u4eca\u5929\u7684\u300c\u5de5\u5177\u661f\u671f\u56db\u300d\u63a8\u85a6\uff0c\u4e26\u975e\u56e0\u70ba\u5b83\u80fd\u58d3\u7e2e\u5716\u7247\uff0c\u800c\u662f\u56e0\u70ba\u5b83\u6709\u4e00\u500b\u5e7e\u4e4e\u6c92\u4eba\u6703\u770b\u7684\u6a19\u984c\u3002.<\/p>\n<h2>Tinify \u5728\u6211\u7684\u6280\u8853\u5806\u758a\u4e2d\u5be6\u969b\u767c\u63ee\u7684\u4f5c\u7528\u662f\u4ec0\u9ebc\uff1f<\/h2>\n<p>\u6211\u7684\u5f71\u50cf\u8655\u7406\u6d41\u7a0b\u5305\u542b\u56db\u500b\u6b65\u9a5f\uff1aReplicate \u7522\u751f\u5f71\u50cf\uff0c, <strong>Tinify \u6703\u58d3\u7e2e\u5b83<\/strong>, <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e5%b7%a5%e5%85%b7%e6%98%9f%e6%9c%9f%e5%9b%9b-cloudinary-2026-07-30\/\">Cloudinary \u63d0\u4f9b\u6b64\u670d\u52d9<\/a>, WordPress \u6703\u5132\u5b58\u5b83\u3002\u58d3\u7e2e\u662f\u516d\u500b\u6b65\u9a5f\u4e2d\u7684\u7b2c\u4e8c\u500b\u6b65\u9a5f\uff0c\u800c\u4e14\u662f\u4e00\u9053\u786c\u6027\u9580\u6abb\u2014\u2014\u6211\u7684\u8173\u672c\u62d2\u7d55\u5411\u7db2\u7ad9\u767c\u9001\u672a\u58d3\u7e2e\u7684\u5716\u50cf\u3002\u6c38\u9060\u4e0d\u6703\u3002.<\/p>\n<p>\u9019\u689d\u898f\u5247\u4e26\u975e\u5439\u6bdb\u6c42\u75b5\u3002\u5728\u70cf\u5e03\u7684\u98ef\u5e97\u7121\u7dda\u7db2\u8def\u4e0b\uff0c\u5728\u884c\u52d5\u88dd\u7f6e\u4e0a\uff0c\u6bcf\u6b21\u9801\u9762\u700f\u89bd\u6642\uff0c142KB \u7684\u7279\u8272\u5716\u7247\u6bd4 35KB \u7684\u5716\u7247\u5927\u5c0f\u8981\u5927\u56db\u500d\u3002\u4f60\u53ef\u80fd\u611f\u89ba\u4e0d\u5230\uff0c\u4f46\u4f60\u7684\u7db2\u9801\u6838\u5fc3\u6307\u6a19\u6703\u611f\u53d7\u5230\u3002.<\/p>\n<h2>\u6c92\u4eba\u6703\u544a\u8a34\u4f60\u7684\u662f\uff1a\u5b83\u6703\u5728\u6700\u7cdf\u7cd5\u7684\u6642\u523b\u5931\u6548\u3002<\/h2>\n<p>9\u670810\u65e5\uff0c\u6211\u7684\u6574\u500b\u8266\u968a\u7684\u5f71\u50cf\u751f\u7522\u505c\u6b62\u4e86\u3002 Tinify\u6062\u5fa9\u4e86\u3002 <code>HTTP 429<\/code> \u4ee5\u53ca\u4e00\u500b\u6578\u5b57\uff1a <code>\u58d3\u7e2e\u6b21\u6578\uff1a1711<\/code>. \u6708\u5ea6\u914d\u984d\u7528\u5b8c\u4e86\u3002\u800c\u4e14\u9023\u7e8c\u56db\u5929\u90fd\u6c92\u52d5\u975c\u3002.<\/p>\n<p>\u9019\u5c31\u662f\u5b83\u50f9\u683c\u6602\u8cb4\u7684\u539f\u56e0\u3002\u56e0\u70ba\u58d3\u7e2e\u662f\u4e00\u7a2e <em>\u5f37\u5236\u7684<\/em> \u9598\u9580\u6253\u958b\u5f8c\uff0c\u7ba1\u9053\u6c92\u6709\u640d\u58de\u2014\u2014\u5b83 <strong>\u6b7b\u4ea1<\/strong>. \u6c92\u6709\u58d3\u7e2e\u5716\u7247\u5c31\u610f\u5473\u8457\u6839\u672c\u6c92\u6709\u5716\u7247\uff0c\u4e5f\u5c31\u610f\u5473\u8457\u6c92\u6709\u90e8\u843d\u683c\u6587\u7ae0\u3001\u6c92\u6709\u793e\u7fa4\u5a92\u9ad4\u5e16\u5b50\uff0c\u4ec0\u9ebc\u90fd\u6c92\u6709\u3002\u4e00\u500b\u6bcf\u6708\u53ea\u80fd\u58d3\u7e2e 500 \u6b21\u7684\u514d\u8cbb API \u5c31\u5c0e\u81f4\u5341\u500b\u54c1\u724c\u5e73\u53f0\u4e0a\u7684\u4e94\u500b\u6280\u80fd\u5931\u6548\uff0c\u800c\u6211\u7b2c\u4e00\u6b21\u807d\u8aaa\u9019\u4ef6\u4e8b\u7684\u6642\u5019\uff0c\u5df2\u7d93\u662f\u904b\u884c\u5931\u6557\u4e86\u3002.<\/p>\n<p>500\u500b\u5bc6\u9470\u4e0d\u5920\u7528\u7684\u539f\u56e0\u5f88\u4e0d\u8d77\u773c\uff1a\u6211\u6574\u500b\u8266\u968a\u53ea\u7528\u4e00\u500b\u5bc6\u9470\u3002\u6211\u9019\u9031\u5be6\u969b\u6e2c\u91cf\u4e86\u5bc6\u9470\u6d88\u8017\u91cf\u2014\u2014 <strong>\u9031\u4e00\u665a\u4e0a\u9032\u884c\u4e86 2569 \u6b21\u80f8\u5916\u6309\u58d3\uff0c\u9031\u4e09\u665a\u4e0a\u9032\u884c\u4e86 3224 \u6b21\u80f8\u5916\u6309\u58d3\u3002.<\/strong> 48 \u5c0f\u6642\u5167\u6d88\u8017\u4e86 655 \u500b\u6d41\u91cf\uff0c\u5e73\u5747\u6bcf\u5929\u7d04 327 \u500b\u3002\u6bcf\u6708 500 \u500b\u6d41\u91cf\u7684\u514d\u8cbb\u5957\u9910\u5927\u6982\u5920\u6211\u7684\u8a2d\u5099\u4f7f\u7528\u3002 <strong>\u4e00\u5929\u534a<\/strong>.<\/p>\n<h2>\u514d\u8cbb\u5de5\u5177\u4e2d\u7684\u514d\u8cbb\u5de5\u5177<\/h2>\n<p>\u9019\u88e1\u6709\u500b\u503c\u5f97\u501f\u93e1\u7684\u5730\u65b9\u3002\u6bcf\u500b Tinify API \u56de\u61c9\u90fd\u5305\u542b\u4e00\u500b <code>\u58d3\u7e2e\u8a08\u6578<\/code> \u6a19\u984c\uff0d\u4ed6\u5011\u7684\u6587\u4ef6\u5c07\u5176\u63cf\u8ff0\u70ba\u300c\u672c\u65e5\u66c6\u6708\u5167\u4f7f\u7528\u6b64\u5e33\u6236\u9032\u884c\u7684\u58d3\u7e2e\u6b21\u6578\u300d\u3002\u201c<\/p>\n<p><strong>\u5305\u62ec\u932f\u8aa4\u97ff\u61c9\u3002.<\/strong> \u5373\u4f7f\u767c\u9001\u4e00\u500b\u6545\u610f\u70ba\u7a7a\u7684\u7269\u9ad4\uff0cTinify \u4e5f\u6703\u62d2\u7d55\u5b83\u2014\u2014\u4e26\u4e14\u4ecd\u7136\u6703\u6e96\u78ba\u5730\u544a\u8a34\u4f60\u4f60\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>curl -s -D - -X POST &quot;https:\/\/api.tinify.com\/shrink&quot; \\ -u &quot;api:$TINIFY_API&quot; --data-binary &quot;&quot; | grep -i compression-count<\/code><\/pre>\n<p>\u4eca\u5929\u65e9\u4e0a\u6211\u9023\u7e8c\u8dd1\u4e86\u4e09\u6b21\u3002. <code>3378<\/code>, <code>3378<\/code>, <code>3378<\/code> \u6bcf\u6b21\u90fd\u51fa\u73fe 400 \u932f\u8aa4\uff0c\u800c\u4e14 <strong>\u6c92\u6709\u6d88\u8017\u4e00\u6b21\u58d3\u7e2e<\/strong>. \u7136\u5f8c\u6211\u904b\u884c\u4e86\u4e00\u6b21\u5be6\u969b\u7684\u7ba1\u7dda\uff0c\u4e26\u518d\u6b21\u9032\u884c\u4e86\u63a2\u6e2c\uff1a <code>3379<\/code>. \u63a2\u91dd\u662f\u514d\u8cbb\u7684\u3002\u9019\u4efd\u5de5\u4f5c\u53ea\u6536 1 \u7f8e\u5143\u3002.<\/p>\n<p>\u6240\u4ee5\u73fe\u5728\u7684\u6b65\u9a5f\u662f\uff1a\u6aa2\u67e5\u914d\u984d <em>\u7b2c\u4e00\u7684<\/em>, \u7136\u5f8c\u82b1\u8cbb\u5927\u7d04 $0.08 \u4f86\u7522\u751f\u4e00\u5f35\u4f60\u53ef\u80fd\u6839\u672c\u7528\u4e0d\u4e0a\u7684\u5716\u50cf\u3002\u5148\u7701\u9322\uff0c\u5f8c\u82b1\u9322\u3002\u540c\u6a23\u7684\u9053\u7406\u3002 <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e5%b0%8f%e8%b2%bc%e5%a3%ab%e6%98%9f%e6%9c%9f%e4%ba%8c%e4%bb%a3%e7%90%86%e5%88%86%e9%a0%81%e8%a8%88%e6%95%b8-2026-09-15\/\">\u5f9e\u97ff\u61c9\u982d\u800c\u4e0d\u662f\u97ff\u61c9\u9ad4\u8b80\u53d6\u8a08\u6578<\/a> \u7b54\u6848\u5176\u5be6\u4e00\u76f4\u90fd\u5728\u90a3\u88e1\u3002.<\/p>\n<h2>\u4eca\u65e5\u8981\u9ede<\/h2>\n<p>\u5169\u689d\u898f\u5247\uff0c\u7b2c\u4e8c\u689d\u898f\u5247\u6bd4 Tinify \u66f4\u91cd\u8981\uff1a<\/p>\n<ol>\n<li><strong>\u6d88\u8cbb\u524d\u5148\u4e86\u89e3\u6e05\u695a\u3002.<\/strong> \u5982\u679c\u4ed8\u8cbb\u8e0f\u677f\u8207\u8a08\u8cbb\u8e0f\u677f\u5171\u7528\u4e00\u500b\u670d\u52d9\uff0c\u8acb\u5148\u8aee\u8a62\u8a08\u8cbb\u5668\u3002\u901a\u5e38\u60c5\u6cc1\u4e0b\uff0c\u6703\u514d\u8cbb\u63d0\u4f9b\u4e00\u6b21\u670d\u52d9\u3002.<\/li>\n<li><strong>\u627e\u51fa\u4f60\u751f\u7522\u7dda\u4e0a\u7684\u6bcf\u4e00\u500b\u5fc5\u8981\u9598\u9580\uff0c\u4e26\u7acb\u5373\u67e5\u770b\u5b83\u5011\u7684\u9650\u5236\u3002.<\/strong> \u4f46\u5982\u679c\u662f 429 \u865f\u9598\u9580\u5c31\u4e0d\u662f\u9019\u6a23\u4e86\u3002\u4e00\u500b\u7121\u6cd5\u8df3\u904e\u7684\u9598\u9580\u5c31\u662f\u4e00\u500b\u55ae\u9ede\u6545\u969c\uff0c\u800c\u4e14\u5b83\u9084\u6709\u4e00\u500b\u7de8\u865f\u2014\u2014\u9019\u500b\u7de8\u865f\u662f\u53ef\u4ee5\u4e8b\u5148\u77e5\u9053\u7684\u3002.<\/li>\n<\/ol>\n<p>\u53bb\u770b\u770b\u4f60\u6700\u4f9d\u8cf4\u7684\u81ea\u52d5\u5316\u6d41\u7a0b\u3002\u54ea\u500b\u6b65\u9a5f\u662f\u4e0d\u80fd\u7701\u7565\u7684\uff0c\u5b83\u7684\u914d\u984d\u662f\u591a\u5c11\uff1f\u5982\u679c\u4f60\u4e0d\u77e5\u9053\uff0c, <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e5%b8%b8%e8%a6%8b%e5%95%8f%e9%a1%8c%ef%bc%88%e9%80%b1%e4%ba%94%ef%bc%89%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e4%bb%a3%e7%90%86%e9%8c%af%e8%aa%a4%e8%99%95%e7%90%86-2026%e5%b9%b49\/\">\u4f60\u6703\u50cf\u6211\u4e00\u6a23\u767c\u73fe\u9019\u4e00\u9ede\u3002<\/a>.<\/p>\n<p>\u6b63\u5728\u5efa\u7acb\u4e00\u500b\u7121\u9700\u4eba\u5de5\u5e79\u9810\u5373\u53ef\u904b\u4f5c\u7684\u7cfb\u7d71\uff0c\u4e26\u5e0c\u671b\u5728\u6545\u969c\u767c\u751f\u524d\u5c07\u5176\u6545\u969c\u6a21\u5f0f\u7e6a\u88fd\u51fa\u4f86\uff1f <a href=\"https:\/\/jonjones.ai\/zh\/%e9%a0%90%e7%b4%84%e6%9c%83%e8%ad%b0\/\"><strong>\u9810\u7d04\u81ea\u52d5\u5316\u7b56\u7565\u6703\u8b70<\/strong><\/a> \u6211\u5011\u5c07\u9010\u4e00\u6aa2\u67e5\u4f60\u5011\u7684\u7ba1\u9053\u3002.<\/p>\n<p>\u2014\u2014\u55ac\u6069<\/p>","protected":false},"excerpt":{"rendered":"<p>Tinify API \u4eca\u5929\u65e9\u4e0a\u5c07\u7279\u8272\u5716\u7247\u7e2e\u6e1b\u4e86 75.6%\u3002\u66f4\u5be6\u7528\u7684\u5c0f\u6280\u5de7\uff1a\u53ea\u9700\u4e00\u6b21\u514d\u8cbb\u8abf\u7528\uff0c\u5373\u53ef\u5728\u82b1\u8cbb\u4e00\u5206\u9322\u4e4b\u524d\u77e5\u9053\u60a8\u6bcf\u6708\u9084\u5269\u591a\u5c11\u914d\u984d\u3002.<\/p>","protected":false},"author":2,"featured_media":6918,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[44],"tags":[],"class_list":["post-6919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"taxonomy_info":{"category":[{"value":44,"label":"AI Automation"}]},"featured_image_src_large":["https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/09\/daily-tool-thursday-tinify-20260917.jpg",1344,752,false],"author_info":{"display_name":"Jon Jones","author_link":"https:\/\/jonjones.ai\/zh\/author\/jonjonjones-ai\/"},"comment_info":0,"category_info":[{"term_id":44,"name":"AI Automation","slug":"ai-automation","term_group":0,"term_taxonomy_id":44,"taxonomy":"category","description":"","parent":0,"count":187,"filter":"raw","cat_ID":44,"category_count":187,"category_description":"","cat_name":"AI Automation","category_nicename":"ai-automation","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/6919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/comments?post=6919"}],"version-history":[{"count":0,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/6919\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media\/6918"}],"wp:attachment":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media?parent=6919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/categories?post=6919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/tags?post=6919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}