Integrate Leonardo AI and Postgres to automate workflows with scalable backend

Connect Leonardo AI and Postgres 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 Postgres

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).

Postgres NODES

Delete Row

Deletes a row from a specified table in a Postgres database

script

Fetch Table Data

Fetch data from a Postgres DB

script

Fetch Table Schema

Fetch the schema of a specific table in a PostgreSQL database

script

Insert Data

Inserts data into a specified table in a Postgres database securely

script

Update Row Data

Updates a specific row in a Postgres database table securely

script

blog posts & tutorials

Recommended Reads

Below are recommneded blogs that will help in your journey