with Placid and Formatting?
Generate a new image based on a specified template. See the documentation
Creates a new PDF based on a specified template. See the documentation
The Placid API lets you automate the creation of visual content such as images and videos. With Pipedream, you can trigger workflows using various events, process data, and use the Placid API to dynamically generate marketing materials, social media graphics, personalized images for email campaigns, and more. Leveraging Pipedream's capabilities, you can integrate Placid with other apps to create robust, multi-step automations without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
placid: {
type: "app",
app: "placid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.placid.app/api/rest/templates`,
headers: {
Authorization: `Bearer ${this.placid.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})