Integrate Leonardo AI and BuildShip Database to automate workflows with scalable backend

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

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

BuildShip Database NODES

Add Object to Array

Adds an object to an existing array in a Firestore document

script

BuildShip Document Count

Get the count of documents in a collection for a given filter

script

Collection Query

Get documents of a query in Firestore with multiple filters. See [documentation](https://docs.buildship.com/basics/buildship-tables#querying-collection) for full details.

script

Create Document

Creates or updates a document in a specified Firestore collection (with Document Reference field type support).

script

Delete Document

Delete a document from a BuildShip's Firestore collection

script

Field Average

Average of field in collection for given filter

script

Field Sum

Sum of field in collection for given filter

script

Get Document

Fetch a document from BuildShip's Firestore DB by its collection name and ID

script

Get Field Value

Fetches a specific field value from a document in a BuildShip's Firestore collection

script

Query Count

Get server count of a query in Firestore with multiple filters

script

Update Field Value

Updates a field value in BuildShip's Firestore document with a given object

script

blog posts & tutorials

Recommended Reads

Below are recommneded blogs that will help in your journey