AI-video platform for creating personalized videos with digital avatars.
Emit new event when an avatar video completes rendering.
Generates a new video using specific voice and avatar props. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spiritme: {
type: "app",
app: "spiritme",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.spiritme.tech/api/users/current/`,
headers: {
"Authorization": `Token ${this.spiritme.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})