with SpiritMe and DeepSeek?
Emit new event when an avatar video completes rendering.
Generates a new video using specific voice and avatar props. See the documentation
Creates a chat completion using the DeepSeek API. See the documentation
Lists the currently available models, and provides basic information about each one such as the owner and availability. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepseek: {
type: "app",
app: "deepseek",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.deepseek.$auth.base_url}/user/balance`,
headers: {
Authorization: `Bearer ${this.deepseek.$auth.api_key}`,
},
})
},
})