with Hyperise and Hugging Face?
Emit new event when a new personalised image is viewed. See the documentation
Creates a personalised short URL from provided inputs. See the documentation
Want to have a nice know-it-all bot that can answer any question?. This action allows you to ask a question and get an answer from a trained model. See the docs
This task reads some image input and outputs the likelihood of classes. This action allows you to classify images into categories. See the docs
This task is well known to translate text from one language to another. See the docs
This task reads some image input and outputs the likelihood of classes and bounding boxes of detected objects. See the docs
The Hyperise API lets you dynamically personalize images with user-specific data, making it easier to create tailored visual content for each recipient. With Pipedream, you can automate this personalization process by integrating Hyperise with various apps to generate and share custom images on the fly. This could be particularly useful for marketing campaigns, sales outreach, or social media engagement where personalized content significantly boosts user interaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hyperise: {
type: "app",
app: "hyperise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.hyperise.io/api/v1/regular/users/current`,
params: {
api_token: `${this.hyperise.$auth.api_token}`,
},
})
},
})
The Hugging Face API provides access to a vast range of machine learning models, primarily for natural language processing (NLP) tasks like text classification, translation, summarization, and question answering. It lets you leverage pre-trained models and fine-tune them on your data. Using the API within Pipedream, you can automate workflows that involve language processing, integrate AI insights into your apps, or respond to events with AI-generated content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hugging_face: {
type: "app",
app: "hugging_face",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://huggingface.co/api/whoami-v2`,
headers: {
Authorization: `Bearer ${this.hugging_face.$auth.access_token}`,
},
})
},
})