Tinypng
Overview
SLUG: TINYPNG
Description
TinyPNG uses smart lossy compression techniques to reduce the file size of your WebP, JPEG, and PNG files.
Authentication Details
Connecting to Tinypng
Create an auth config
Use the dashboard to create an auth config for the Tinypng toolkit. This allows you to connect multiple Tinypng accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Tinypng toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
TINYPNG_GET_COMPRESSION_COUNT
Tool Name: Get TinyPNG Compression Count
Description
Action Parameters
Action Response
TINYPNG_SHRINK_AND_GET_IMAGE_ID
Tool Name: Shrink and get image ID
Description
Action Parameters
Action Response
TINYPNG_TINIFY_COMPRESS_AND_CONVERT_IMAGE
Tool Name: Compress and Convert Image
Description
Action Parameters
Action Response
TINYPNG_TINIFY_COMPRESS_AND_PRESERVE_METADATA
Tool Name: Compress and preserve metadata
Description
Action Parameters
Action Response
TINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZURE
Tool Name: Compress and Store Image in Azure
Description
Action Parameters
Action Response
TINYPNG_TINIFY_OUTPUT
Tool Name: Download Compressed Image
Description
Action Parameters
Action Response