npm

Node package manager

Integrate the npm API with the AltText.ai API

Setup the npm API trigger to run a workflow which integrates with the AltText.ai API. Pipedream's integration platform allows you to integrate npm and AltText.ai remarkably fast. Free for developers.

Generate Alt Text with AltText.ai API on npm Download Counts from npm API
npm + AltText.ai
 
Try it
npm Download Counts from the npm API

Emit an event with the latest count of downloads for an npm package

 
Try it
Generate Alt Text with the AltText.ai API

Generates a descriptive alt text for a given image. See the documentation

 
Try it

Overview of AltText.ai

AltText.ai provides an API that leverages artificial intelligence to generate alternative text (alt text) for images, which is crucial for web accessibility and SEO. With AltText.ai, you can automate the process of creating descriptive, keyword-rich, and meaningful alt text for images on websites, blogs, or online stores. In Pipedream, you can create workflows that trigger on various events to send images to the AltText.ai API and receive alt text, which you can then store or apply to your content management system automatically.

Connect AltText.ai

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    alttext_ai: {
      type: "app",
      app: "alttext_ai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://alttext.ai/api/v1/account`,
      headers: {
        "X-API-Key": `${this.alttext_ai.$auth.api_key}`,
      },
    })
  },
})