with AltText.ai and Accuranker?
Generates a descriptive alt text for a given image. See the documentation
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.
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}`,
},
})
},
})
Accuranker is an SEO tool that specializes in tracking and reporting on keyword rankings. Using the Accuranker API with Pipedream, you can automate checks on keyword positions, get insights on SERP data, and respond to ranking changes in real time. You can also compile performance reports, set up alerts for ranking changes, and integrate with other platforms to link SEO data with marketing, sales, or content strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuranker: {
type: "app",
app: "accuranker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.accuranker.com/api/v4/accounts/`,
headers: {
Authorization: `Bearer ${this.accuranker.$auth.oauth_access_token}`,
},
params: {
fields: `id`,
},
})
},
})