Integrate Leonardo AI’s Image & Video Tools with Make.com (Ultimate Guide)

In this article, I demonstrate how to leverage Leonardo AI’s powerful image and video generation capabilities through Make.com automations. By integrating Leonardo AI’s API with Make.com workflows, you can automate tasks like image creation, video generation, and image upscaling at scale.

This integration opens up exciting possibilities for enhancing creative workflows and content production pipelines. I go through the entire process in the video below:

Setting Up Leonardo AI API Access

To get started with Leonardo AI’s API, you’ll need to sign up for an API plan on their website. Navigate to the Developer API section on Leonardo AI’s homepage to view available plans and credits. For this tutorial, I used the API Basic plan. Once you’ve selected a plan and filled out the form, you’ll receive an API key to use in your integrations.

Leonardo AI offers two types of production API keys:

  • Standard keys without a callback URL
  • Keys with a webhook callback URL for real-time processing

Image Generation Workflow

The first automation demonstrates image generation using Leonardo AI’s Phoenix model. Here’s an overview of the Make.com scenario:

  1. Set the API key as a variable
  2. Use ChatGPT to generate a random image prompt
  3. Trigger image generation via Leonardo AI’s API
  4. Wait for the generation to complete (or use a webhook)
  5. Fetch the generated images
  6. Download and upload the images to Google Drive

This workflow allows you to automate the creation of multiple images based on AI-generated prompts, streamlining your content production process.

Image Upscaling Workflow

The image upscaling scenario demonstrates how to enhance low-resolution images using Leonardo AI’s Universal Upscaler. The process involves:

  1. Uploading an image from Google Drive
  2. Obtaining a pre-signed URL for image upload
  3. Uploading the image to Leonardo AI’s servers
  4. Triggering the upscaling process
  5. Fetching and downloading the upscaled image
  6. Uploading the result back to Google Drive

This workflow enables you to automatically enhance image quality, which is particularly useful for improving old or low-quality photos.

Image to Video Generation

The final workflow showcases Leonardo AI’s ability to transform static images into short video clips with motion effects. The process is similar to the upscaling workflow but uses a different API endpoint for video generation. Key steps include:

  1. Uploading source images from Google Drive
  2. Obtaining upload URLs for each image
  3. Uploading images to Leonardo AI’s servers
  4. Triggering video generation with desired motion parameters
  5. Fetching and downloading the generated videos
  6. Uploading the videos back to Google Drive

This automation allows you to create dynamic video content from static images, adding an extra dimension to your visual assets.

Accessing Make.com Blueprints

To help you get started quickly, I’ve made these Make.com blueprints available in our community. You can import these templates with a single click, allowing you to customize and implement these workflows in your own projects without starting from scratch.

Leave a Comment