Access thousands of AI models with Replicate (new integration)

NoCodeAndy
Tue, 28 May 2024 19:21:37 +0000
General

Hello Gliders!

Our new Replicate integration, now available on all paid plans, gives your Glide apps access to thousands of open-source AI models.

Check out our Replicate integration docs for details.

Alternatively, read on for a quick overview of how it works.

Note: This is a relatively advanced integration in that you should be comfortable with JSON and referencing technical documentation.

What is Replicate?

Replicate lets you run machine learning models with a cloud API, without having to understand the intricacies of machine learning or manage your own infrastructure. You can run open-source models that other people have published, or package and publish your own models. Those models can be public or private.

Getting started with Replicate

1. Sign into Replicate with your GitHub account

2. Generate an API key from Account settings > API tokens

3. Add the Replicate integration to your Glide app and enter your API key

You’ll now be able to run Replicate predictions in computed columns and in custom action workflows.

Refer to the API reference for whichever model you’d like to use. It’ll contain the configuration details you need. For example, here’s Stable Diffusion:

And here’s the same input as it appears in a custom action workflow:

For this basic example, our output is saved to a table:

Pretty cool, eh?

Take Replicate for a spin, and let us know what you think!

Additional resources

Official Replicate documentation

Explore Replicate models and collections

Replicate’s usage-based pricing in detail

10 posts - 4 participants