Integrate artificial intelligence into your applications without deploying models and no infra.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Transcribe an audio file to text with Astica AI See the documentation
Convert text to voice audio with Astica AI See the documentation
The Astica.ai API affords developers the ability to tap into advanced natural language processing (NLP) capabilities. By integrating this API into Pipedream workflows, you can automate text analysis, summarization, sentiment analysis, and more, leveraging the AI-powered insights to enrich applications or streamline processes. Pipedream’s serverless platform makes it painless to set up event-driven workflows that respond to various triggers and manipulate or move data between apps with no need for infrastructure management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
astica_ai: {
type: "app",
app: "astica_ai",
}
},
async run({steps, $}) {
const data = {
"tkn": `${this.astica_ai.$auth.api_key}`,
"modelVersion": `2.1_full`,
"input": `https://www.astica.org/inputs/analyze_3.jpg`,
"visionParams": `gpt, describe, describe_all, tags, objects`,
"gpt_prompt": ``,
"gpt_length": `90`,
}
return await axios($, {
method: "post",
url: `https://vision.astica.ai/describe`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})