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}`,
},
})
},
})
VLM Run uses API keys for authentication. When you connect your VLM Run account, Pipedream securely stores the keys so you can easily authenticate to VLM Run APIs in both code and no-code steps.