Compress and Prepare Images with AI and TinyPNG

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.

What to Ask Leina to Do with TinyPNG

Copy a prompt, add your details, and send it to Leina in your connected team chat.

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

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

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

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

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

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

Get Started with TinyPNG

  1. Connect Your Account

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

  2. Try a Task

    Tell Leina what you need in your team chat. Include the source, destination, and expected result.

    Set Up Leina in Your Chat →
  3. Check the Result

    Review the result and any changes in the connected app.

Supported TinyPNG Capabilities

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.

View All 2 Actions
  • Shrink ImageMarketplace
  • Output ImageMarketplace

Visit Provider Website ↗

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.

Your AI employee for TinyPNG

Tell Leina what you need in your team chat. Include the source, destination, and expected result.