with Zep and Generated Photos?
Emit new event when a message is added to a session. See the documentation
Emit new event when a new session is created in Zep. See the documentation
Emit new event when an existing session is updated. See the documentation
Adds memory to an existing session in Zep. See the documentation
Generates faces using the Generated Photos API. See the documentation
Generates faces similar to an image URL with the Generated Photos API. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zep: {
type: "app",
app: "zep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getzep.com/api/v2/users-ordered`,
headers: {
"authorization": `Api-Key ${this.zep.$auth.api_key}`,
},
})
},
})
The Generated Photos API offers a platform to create AI-generated human faces that are realistic and customizable. With this API, you can fine-tune the appearance of these faces based on age, emotion, ethnicity, and more. Integrating the Generated Photos API with Pipedream allows you to automate workflows that require unique human avatars, such as populating dummy user profiles for testing UI/UX design, generating characters for gaming environments, or creating diverse personas for marketing campaigns.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
generated_photos: {
type: "app",
app: "generated_photos",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.generated.photos/api/v1/faces?per_page=1`,
params: {
api_key: `${this.generated_photos.$auth.api_key}`,
},
})
},
})