The Metatext.AI Pre-built AI Models API offers various artificial intelligence capabilities such as natural language processing, image recognition, and sentiment analysis. This API enables users to add AI features to their applications without the need for extensive machine learning expertise. Utilizing this API in Pipedream workflows allows for automation and integration with other services, making it possible to process and analyze text and images within a serverless environment efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
metatext_ai_pre_build_ai_models_api: {
type: "app",
app: "metatext_ai_pre_build_ai_models_api",
}
},
async run({steps, $}) {
const data = {
"text": `{your_text}`,
}
return await axios($, {
method: "post",
url: `https://api.metatext.ai/hub-inference/sentiment-analysis`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.metatext_ai_pre_build_ai_models_api.$auth.api_key}`,
},
data,
})
},
})
Content Moderation Workflow: Use Metatext.AI's sentiment analysis to filter and moderate user-generated content in real-time. Set up a Pipedream workflow that monitors a database or stream for new entries, passes the text through Metatext.AI for analysis, and flags or removes content based on negativity scores. This can be integrated with a CMS like WordPress for automated content control.
Image Categorization and Tagging: Automate the process of sorting and tagging images by content. Build a workflow where upon uploading an image to a cloud storage service like Amazon S3, the image is then sent to Metatext.AI for recognition. The resulting tags are added to the image metadata in the storage service, or used to sort images into appropriate folders/categories.
Customer Feedback Analysis: Analyze customer feedback by connecting Metatext.AI with customer support platforms such as Zendesk. Create a Pipedream workflow that triggers when new support tickets are submitted, applies Metatext.AI's sentiment analysis to determine the urgency or overall sentiment of the ticket, and then prioritizes or routes the ticket accordingly within Zendesk based on the analysis.
Determine the sentiment of the given text (positive, negative, or neutral). See the documentation.
Identify and extract significant keywords from the given text. See the documentation.
Generate a blog post based on the given prompt. See the documentation.
Generate a short summary for news headlines. See the documentation.
Generate text based on the given prompt. See the documentation.
Metatext.AI Pre-build AI models API uses API keys for authentication. When you connect your Metatext.AI Pre-build AI models API account, Pipedream securely stores the keys so you can easily authenticate to Metatext.AI Pre-build AI models API APIs in both code and no-code steps.
Sign in and copy your API key from the Settings page.