with Schedule and Leonardo AI?
Generates new images using Leonardo AI's image generation API. See the documentation
Generates a motion (video) from the provided image using Leonardo AI's SVD Motion Generation API. See the documentation
Creates an unzoom variation for a generated or variation image using Leonardo AI's unzoom API. See the documentation
Uploads a new image to Leonardo AI for use in generations and variations. See the documentation
Creates a high-resolution upscale of the provided image using Leonardo AI's upscale API. See the documentation
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leonardo_ai: {
type: "app",
app: "leonardo_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cloud.leonardo.ai/api/rest/v1/me`,
headers: {
Authorization: `Bearer ${this.leonardo_ai.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})