# TinyPNG AI integration on Definable

> TinyPNG uses smart lossy compression techniques to reduce the file size of your WebP, JPEG, and PNG files.

## What this connects

TinyPNG uses smart lossy compression techniques to reduce the file size of your WebP, JPEG, and PNG files.

Vendor: https://tinypng.com

## Tools available

**5** tools available. First 5:

- `TINYPNG_GET_COMPRESSION_COUNT` — Get TinyPNG Compression Count — Tool to retrieve the number of compressions made this month. Use when you need to monitor your TinyPNG API usage.
- `TINYPNG_SHRINK_AND_GET_IMAGE_ID` — Shrink and get image ID — Tool to shrink an image and return its TinyPNG image ID. Use when you need only the compressed image identifier from the API response Location header.
- `TINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZURE` — Compress and Store Image in Azure — Compress an image using the Tinify API and upload the optimized result directly to Azure Blob Storage in a single operation. The image is first compressed by Tinify, then uploaded to the specified Azure Blob URL using the provided SAS token. Use this when you need to optimize images and store them in Azure without intermediate steps. Supports JPEG, PNG, and WebP image formats.
- `TINYPNG_TINIFY_OUTPUT` — Download Compressed Image — Tool to retrieve a compressed image by its image ID. Use after compressing an image to download the result.
- `TINYPNG_TRANSFORM_IMAGE` — Transform Compressed Image — Tool to transform a compressed image by resizing, converting format, preserving metadata, or storing to cloud storage. Use when you have an image ID from a previous compression and need to apply transformations.

## Auth

Auth schemes: `API_KEY`.

## How agents use TinyPNG

Inside a Definable workflow, TinyPNG is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → TinyPNG** — the Researcher (GPT-5.5) pulls context from TinyPNG (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → TinyPNG** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into TinyPNG (create record, post message, draft email).
- **Designer / Engineer → Distributor → TinyPNG** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via TinyPNG (attach file, open PR comment, post status).

The Verifier checks every TinyPNG call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- images & design — https://definable.ai/apps/category/images-&-design/
- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/tinypng/
- Same category (images & design): https://definable.ai/apps/category/images-&-design/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
