Skip to main content
TinyPNG logo

TinyPNG

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

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

TinyPNG authenticates with an API key. Generate the credential in your TinyPNG account, then paste it into FlyMyAI the first time an agent uses a TinyPNG action.

Get your TinyPNG credential →

Fields to fill in FlyMyAI

FieldDetails
API KeyYour TinyPNG API key from https://tinypng.com/developers (required)

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
TINYPNG_GET_COMPRESSION_COUNTTool to retrieve the number of compressions made this month. use when you need to monitor your tinypng api usage.-
TINYPNG_SHRINK_AND_GET_IMAGE_IDTool 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.source_url
TINYPNG_TINIFY_COMPRESS_AND_CONVERT_IMAGETool to compress and convert an image. use when you need to optimize an image and change its format (avif, webp, jpeg, png).source, convert
TINYPNG_TINIFY_COMPRESS_AND_PRESERVE_METADATATool to compress an image while preserving specified metadata fields. use when critical metadata (e.g., copyright, creation date, or gps location) must be retained in the output.source_url
TINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZURETool to compress an image using tinify and upload it directly to azure blob storage. use when you want to optimize images and store them to azure in one step.source_url, azure_blob_url
TINYPNG_TINIFY_OUTPUTTool to retrieve a compressed image by its image id. use after compressing an image to download the result.id
We love our partners - FlyMy.AI builds with the best. Thanks, TinyPNG!