Simple Image API
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Bruzu API enables dynamic image generation, allowing for the creation of personalized images with text overlay, custom graphics, and various design elements. These capabilities can be harnessed in serverless workflows within Pipedream to automate marketing campaigns, personalize user engagement, and streamline content creation. By leveraging Pipedream's integration platform, Bruzu's API can be connected to a myriad of services to enrich CRM data, augment social media posts, or create on-the-fly images for e-commerce products.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bruzu: {
type: "app",
app: "bruzu",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://img.bruzu.com/`,
params: {
template: `15`,
"top.text": `Reminder`,
"middle.text": `This%2520too%2520shall%2520pass`,
"bottom.text": `OK`,
"": ``,
"": ``,
},
})
},
})
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
},
})