with Remove.bg and Unity Cloud Build?
Remove.bg is a powerful API for automatic image background removal, allowing developers to seamlessly strip backgrounds from images and photos. Integrating Remove.bg in Pipedream workflows enables the creation of automated processes for graphic design, e-commerce product listings, profile picture moderation, and more. The API uses sophisticated AI algorithms to detect and separate foreground elements from their backgrounds, offering a clean and precise cutout that can be used across various applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
remove_bg: {
type: "app",
app: "remove_bg",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.remove.bg/v1.0/account`,
headers: {
"X-API-Key": `${this.remove_bg.$auth.api_key}`,
},
})
},
})
The Unity Cloud Build API lets you automate the process of setting up and distributing game builds. It's a powerful suite of tools allowing developers to personalize and streamline build tasks. With Pipedream, you can harness this API to integrate build processes with your existing tools, notify teams, deploy builds to platforms, and react to events in Unity Cloud Build in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unity_cloud_build: {
type: "app",
app: "unity_cloud_build",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://build-api.cloud.unity3d.com/api/v1/users/me`,
auth: {
username: `${this.unity_cloud_build.$auth.api_key}`,
password: ``,
},
})
},
})