/

Leonardo AI

&

Typesense

Integrate Leonardo AI and Typesense

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

Node stack

Supported Leonardo AI and Typesense Nodes

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

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

Add Document

Creates or uses an existing Typesense collection to insert a document, utilizing provided schema and authentication details. [TypeSense API](https://typesense.org/docs/latest/api/)

Add Documents

Creates or uses an existing Typesense collection to insert documents, utilizing provided schema and authentication details. [TypeSense API](https://typesense.org/docs/latest/api/)

Create Collection

Create a new Typesense collection with the specified schema

Delete Document

Delete a document from a Typesense collection.

Full Text Search

Performs a full text search on a specified collection in Typesense.

Geo Search

Performs a geo-location based search in Typesense using specified parameters.

Get Document

Retrieve a document from a Typesense collection using the given Document ID.

Update Document

Creates or uses an existing Typesense collection to update documents, utilizing provided schema and authentication details. [TypeSense API](https://typesense.org/docs/latest/api/)

Vector Search

Perform a vector search in a Typesense collection and return the results.

Quick start

How to integrate Leonardo AI and Typesense

Step 1 — Add the nodes to your workflow

Create a new workflow in BuildShip, click “Add node”, and select the Leonardo AI and Typesense actions you want to use.

Step 2 — Configure each node

Go to each node to authenticate (or add your API key) and fill in the required parameters.

Step 3 — Connect the nodes

Each node in BuildShip can connect to others by using their output variables. When you reference a variable from one node in another, BuildShip automatically links them in the workflow.

Step 4 — Test your workflow

Define your starting data in the Inputs node and choose what to do with the result in the Flow Output node. Finally, run a test to see your workflow in action.

blog posts & tutorials

Recommended Reads

Below are recommneded blogs that will help in your journey