with V7 Go and Alt Text Generator AI?
Initiates the creation of a new project with a unique project identifier. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
v7_go: {
type: "app",
app: "v7_go",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://go.v7labs.com/api/workspaces/${this.v7_go.$auth.workspace_id}/members`,
headers: {
"X-API-KEY": `${this.v7_go.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alt_text_generator_ai: {
type: "app",
app: "alt_text_generator_ai",
}
},
async run({steps, $}) {
const data = {
"image": `https://alttextgeneratorai.com/_next/image?url=%2Fhero1.jpg&w=1080&q=75`,
"wpkey": `${this.alt_text_generator_ai.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://alttextgeneratorai.com/api/wp`,
data,
})
},
})