with StoryScale and Generated Photos?
Emit new event when a new tour is created. See the documentation
Emit new event when a tour gets published. 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
Generates faces similar to an uploaded image with the Generated Photos API. See the documentation
The StoryScale API enables the creation, management, and retrieval of storytelling content. Integrated within Pipedream's ecosystem, you can automate interactions with the StoryScale API to streamline content workflows, react to events, and sync data across various platforms. Pipedream's serverless platform simplifies the process of setting up event-driven workflows, making it straightforward to harness the capabilities of the StoryScale API without writing complex infrastructure code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storyscale: {
type: "app",
app: "storyscale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prodapi.storyscale.com/api/v1/user/profile`,
headers: {
Authorization: `Bearer ${this.storyscale.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})