Integrate Leonardo AI and Replicate to automate workflows with scalable backend

Connect Leonardo AI and Replicate nodes to in your workflow. Integrate with any tool or database and ship powerful backend logic and APIs instantly - No code required!

Getting Started

How To Connect Leonardo AI and Replicate

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

02

Step 2: Connect Leonardo AI and Replicate

It is the node that will start your workflow execution.

Step 2: Connect Leonardo AI and Replicate

It is the node that will start your workflow execution.

02

Step 2: Connect Leonardo AI and Replicate

It is the node that will start your workflow execution.

03

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

03

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Node stack

Supported Triggers & Actions

Leonardo AI NODES

Generate Image

This endpoint generates images with the given generation prompt and returns the Generation ID.

Generate Prompt

This endpoint returns a random image generation prompt.

Improve Prompt

This endpoint returns an improved image generation prompt.

Upload Dataset Image

This endpoint uploads the given file buffer to the signed URL provided by the **Upload Init Image** node. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

Upload Init Image

This endpoint returns a random image generation prompt. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

Replicate NODES

Answer Image Questions

Answers questions about images using the Replicate model

script

Background Remover

Remove the background from images using Replicate API

script

Face Restoration

Performs practical face restoration algorithm for old photos or AI-generated faces using Replicate

script

Face Swap

Swaps faces using replicate's yan-ops/face_swap model.

script

Image Super-Resolution and Restoration

Performs a AI Photorealistic Image Super-Resolution and Restoration using Replicate

script

Llama 2 Chat

Llama 2 for chat completion

script

Music Generator

Uses Replicate's music-gen model to generate music based on a user prompt.

script

Replicate Client

A generic Replicate Client to use any Replicate model.

script

Replicate Llama Text Generator

Uses Replicate Llama model to generate text based on a provided prompt and system prompt while applying various text generation settings.

script

Stability AI Image Generation

Text to image generation using Stability AI's sdxl model that creates beautiful 1024x1024 images

script

Stability AI Text Generation

Generate text using the Stability AI 7 billion parameter language model

script

Upscale Image

Performs Real-ESRGAN with optional face correction and adjustable upscale

script

Blog posts & Tutorials

Recommended
Reads

Below are recommneded blogs that will help in your journey

Support

Need Help?

Here are some helpful resources to get you "unstuck"

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your BIGGEST ideas in the *simplest* of ways.