Connect TinyPNG to Your AI Agent

Give your AI assistant an image URL and the output you need. It can use TinyPNG to compress the image, adjust its dimensions, and return a download link.

2 tools API key

Try a TinyPNG Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill TinyPNG

Compress a Website Image

Reduce image file size and compare the original and compressed sizes when returned by TinyPNG.

/oo TinyPNG: Compress the image at [public image URL] with TinyPNG. Return a download link and compare the original and compressed file sizes if available.

Prepare an Image for a Page

Compress an image and fit it within specified dimensions while keeping its aspect ratio.

/oo TinyPNG: Use TinyPNG to compress [public image URL] and fit it within 1200 by 800 pixels without changing its aspect ratio. Return the download link.

Create a WebP Version

Compress an image and request WebP output for use on a website.

/oo TinyPNG: Compress [public image URL] with TinyPNG, convert the output to WebP, and return the download link and file size.

Start Working with TinyPNG

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect TinyPNG

    Connect your TinyPNG API key, or use TinyPNG through Marketplace when your AI product provides access.

    Connect TinyPNG →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • A TinyPNG API key for your own connection, or Marketplace access through your AI product.
  • A publicly accessible image URL, or an AI product that can provide the image as Base64-encoded bytes.
  • Create your API key in the TinyPNG API dashboard.
  • Marketplace supports both compression and output processing. Compression is metered; check the billing information in your AI product.

TinyPNG Tools

TinyPNG compresses images and prepares resized or converted versions for websites. Use it with an AI assistant to specify the image, dimensions, and output format you need.

Image Compression

Compress an image and retrieve the smaller file with its original and compressed sizes.

Resize, Convert, and Download

Retrieve the compressed image or resize and convert it. Output options also support preserving selected metadata and setting a background color when flattening transparency.

2 tools

Shrink Image

Create a TinyPNG compressed image resource from a public URL or base64-encoded image bytes.

tinypng.shrink_image

Output Image

Transform a TinyPNG output image and return a transit URL for the resulting file.

tinypng.output_image

Tools are available through the OOMOL marketplace. Usage charges may apply.

Frequently Asked Questions

Can I compress a local image file?

The integration needs a publicly accessible image URL or image data supplied by your AI product. If your image is on your computer, upload it through a product that can provide one of these inputs. A local file path alone cannot be used.

Can TinyPNG resize an image without stretching it?

Yes. Specify a maximum width and height and ask to preserve the aspect ratio. You can also request a cropped version for a particular layout. TinyPNG does not enlarge images beyond their original dimensions.

Which output formats can I request?

You can request AVIF, WebP, JPEG, or PNG output. Compress the source image first, then generate the version you need and get its download link.

Do I need my own TinyPNG API key?

Your own connection requires a TinyPNG API key. You can also compress and process images through Marketplace when your AI product provides access. Marketplace compression is metered; consult the product for billing details.

Connect TinyPNG

About TinyPNG ↗