What do you want to automate

with Facebook Graph API and Leonardo AI?

Prompt, edit and deploy AI agents that connect to Facebook Graph API, Leonardo AI and 3,000+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Generate Image with the Leonardo AI API

Generates new images using Leonardo AI's image generation API. See the documentation

 
Try it
Generate Motion with the Leonardo AI API

Generates a motion (video) from the provided image using Leonardo AI's SVD Motion Generation API. See the documentation

 
Try it
Unzoom Image with the Leonardo AI API

Creates an unzoom variation for a generated or variation image using Leonardo AI's unzoom API. See the documentation

 
Try it
Upload Image with the Leonardo AI API

Uploads a new image to Leonardo AI for use in generations and variations. See the documentation

 
Try it
Upscale Image with the Leonardo AI API

Creates a high-resolution upscale of the provided image using Leonardo AI's upscale API. See the documentation

 
Try it
Integrate the Facebook Graph API API with the Leonardo AI API
Setup the Facebook Graph API API trigger to run a workflow which integrates with the Leonardo AI API. Pipedream's integration platform allows you to integrate Facebook Graph API and Leonardo AI remarkably fast. Free for developers.

Connect Facebook Graph API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    facebook_graph_api: {
      type: "app",
      app: "facebook_graph_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://graph.facebook.com/me/`,
      headers: {
        Authorization: `Bearer ${this.facebook_graph_api.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Leonardo AI

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo