import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
imagior: {
type: "app",
app: "imagior",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.imagior.com/user/account`,
headers: {
Authorization: `Bearer ${this.imagior.$auth.api_key}`,
},
})
},
})
Generates a unique and robust image using a provided template. See the documentation
Imagior uses API keys for authentication. When you connect your Imagior account, Pipedream securely stores the keys so you can easily authenticate to Imagior APIs in both code and no-code steps.