with VLM Run and AutoBlogger?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vlm_run: {
type: "app",
app: "vlm_run",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vlm.run/v1/openai/models`,
headers: {
Authorization: `Bearer ${this.vlm_run.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
autoblogger: {
type: "app",
app: "autoblogger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://autoblogger-api.otherweb.com/api/v1/site/validate/apikey`,
headers: {
"x-api-key": `${this.autoblogger.$auth.api_key}`,
},
})
},
})