Access thousands of AI models with Replicate (new integration)

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! :raised_hands:

Additional resources

7 Likes

this is incredible integration! great idea, glide team.

will be back with showcases soon!

1 Like

Can’t wait to see it!

1 Like

Question: what does an astronaut riding a horse on Mars in HD with dramatic lighting look like then?!

2 Likes

Once the API returns a result faster, this can be very exciting :wink:

I’ve been bullish on Replicate and HuggingFace for a while, actually testing many models on those types of sites. In many cases they are not greater than what OpenAI offers though, but it’s good to have alternatives, and be able to test newer models.

4 Likes

Not to mention Replicate’s ability to deploy custom models. :eyes:

1 Like

Ah, and you can fine-tune models as well :wink:

2 Likes

there is a lot to do with it! not about glideapps, but aiphoria.world perfectly made some cool features with replicate. good for research