with DynaPictures and ProveSource?
Emit new event when an image has been generated. See the documentation
Generates a new image by using a given image as a template. See the documentation
DynaPictures API allows users to automate image generation with dynamic content. It's useful for creating personalized images for marketing campaigns, social media, or e-commerce products. In Pipedream, you can harness DynaPictures API to build serverless workflows that trigger based on various events, manipulate and generate images, and connect with other services for a seamless automation pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynapictures: {
type: "app",
app: "dynapictures",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dynapictures.com/templates`,
headers: {
Authorization: `Bearer ${this.dynapictures.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
provesource: {
type: "app",
app: "provesource",
}
},
async run({steps, $}) {
const data = {
"email": `{{your_email}}`,
"name": `{{your_name}}`,
}
return await axios($, {
method: "POST",
url: `${this.provesource.$auth.webhook_url}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})