# 将 TinyPNG 接入 Open Flow

Source: https://openflow.run/zh-cn/integrations/tinypng/

[全部集成](https://openflow.run/zh-cn/integrations/)

向 AI 助手提供图片 URL 和输出要求，让它调用 TinyPNG 压缩图片、调整尺寸，并返回下载链接。

*   [2 个工具](https://openflow.run/zh-cn/integrations/tinypng/#integration-actions)
*   Open Flow 提供
*   API 密钥
*   设计与媒体

[连接 TinyPNG](https://console.openflow.run/connections/tinypng)

每月 20,000 次免费应用调用（付费服务另计）

## 可以做什么

TinyPNG 压缩图片，并生成调整尺寸或转换格式后的版本，供网站使用。向 AI 助手说明需要处理的图片、目标尺寸和输出格式即可。

### 图片压缩

压缩图片，获取压缩后的文件及压缩前后的体积信息。

### 调整尺寸、转换格式与下载

获取压缩图片，或调整尺寸与转换格式。输出选项还支持保留指定元数据，以及在移除透明度时设置背景颜色。

## 所有工具

2 个工具

### Shrink Image

从公共 URL 或 base64 编码的图像字节创建 TinyPNG 压缩图像资源。

`tinypng.shrink_image`

### Output Image

转换 TinyPNG 输出图像，并返回结果文件的传输 URL。

`tinypng.output_image`

没有符合搜索条件的工具。

## 将 TinyPNG 接入 Open Flow

[连接 TinyPNG](https://console.openflow.run/connections/tinypng)

每月 20,000 次免费应用调用（付费服务另计）
