with Browserbase and JoggAI?
Emit new event when a new session is created. See the documentation
Emit new event when the status of a video changes in JoggAI.
Creates an AI avatar photo using JoggAI API. See the documentation
Creates a new browser session with specified settings. See the documentation
Creates an avatar video using JoggAI API. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
browserbase: {
type: "app",
app: "browserbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.browserbase.com/v1/projects`,
headers: {
"x-bb-api-key": `${this.browserbase.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
joggai: {
type: "app",
app: "joggai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jogg.ai/v1/templates`,
headers: {
"x-api-key": `${this.joggai.$auth.api_key}`,
},
})
},
})