with CastingWords and xAI?
Create an embedding vector representation corresponding to the input text. See the documentation
Create a language model response for a chat conversation. See the documentation
Create a language model response for a given prompt. See the documentation
The CastingWords API provides programmatic access to a professional transcription service, allowing you to upload audio or video files for transcription, check the status of jobs, and retrieve completed transcripts. This interface streamlines the process of converting spoken content into written text, which can be a boon for content creators, journalists, researchers, and anyone who needs to transform audiovisual media into a textual format. With Pipedream, you can automate interactions with the CastingWords API, integrating transcription tasks seamlessly into your workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
castingwords: {
type: "app",
app: "castingwords",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://castingwords.com/store/API4/prepay_balance`,
params: {
api_key: `${this.castingwords.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
x_ai: {
type: "app",
app: "x_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.x.ai/v1/models`,
headers: {
Authorization: `Bearer ${this.x_ai.$auth.api_key}`,
}
})
},
})