What do you want to automate

with Plainly and TinyPNG?

Prompt, edit and deploy AI agents that connect to Plainly, TinyPNG and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Compress Image with TinyPNG API on New Render Completed from Plainly API
Plainly + TinyPNG
 
Try it
Compress Image with TinyPNG API on New Render Failed from Plainly API
Plainly + TinyPNG
 
Try it
Compress Image with TinyPNG API on New Video Created from Plainly API
Plainly + TinyPNG
 
Try it
Convert Image with TinyPNG API on New Render Completed from Plainly API
Plainly + TinyPNG
 
Try it
Convert Image with TinyPNG API on New Render Failed from Plainly API
Plainly + TinyPNG
 
Try it
New Render Completed from the Plainly API

Emit new event when a video render job finishes successfully.

 
Try it
New Render Failed from the Plainly API

Emit new event when a video render fails.

 
Try it
New Video Created from the Plainly API

Emit new event when a video is created or uploaded in Plainly.

 
Try it
Create Render Job with the Plainly API

Creates a render job for a video template. See the documentation

 
Try it
Compress Image with the TinyPNG API

Compress a WebP, JPEG, or PNG image using the TinyPNG API. See the documentation

 
Try it
Get Render Status with the Plainly API

Retrieves the current status of a render job in Plainly. See the documentation

 
Try it
Convert Image with the TinyPNG API

Convert your images to your desired image type using TinyPNG. See the documentation

 
Try it
List Templates with the Plainly API

Fetches a list of available video templates in a project in the user's Plainly account. See the documentation

 
Try it
Integrate the Plainly API with the TinyPNG API
Setup the Plainly API trigger to run a workflow which integrates with the TinyPNG API. Pipedream's integration platform allows you to integrate Plainly and TinyPNG remarkably fast. Free for developers.

Connect Plainly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    plainly: {
      type: "app",
      app: "plainly",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.plainlyvideos.com/api/v2/projects`,
      auth: {
        username: `${this.plainly.$auth.api_key}`,
        password: ``,
      },
    })
  },
})

Overview of TinyPNG

The TinyPNG API lets you compress and optimize image files efficiently. With this API, you can shrink the size of PNG and JPEG files without a noticeable loss in quality, making it a crucial tool for improving website load times and saving bandwidth. On Pipedream, you can automate image optimization workflows, harnessing the power of TinyPNG to process batches of images, integrate with CMS platforms, trigger optimizations from various events, and more.

Connect TinyPNG

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = defineComponent({
  props: {
    tinypng: {
      type: "app",
      app: "tinypng",
    }
  },
  async run({steps, $}) {
    const results = await require("@pipedream/platform").axios($, {
      method: "post",
      url: `https://api.tinify.com/shrink`,
      auth: {
        username: `api:${this.tinypng.$auth.api_key}`,
        password: ``,
      },
      data: {
        "source": {
          "url": "https://tinypng.com/images/panda-happy.png"
        }
      },
    })

    const retVal = results.output
    retVal.original_image_metadata = results.input 
    return retVal
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo