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

Andy, I was discussing Glide AI and Replicate with someone who asked me about AI features provided by Glide and GDPR. I know, it’s a thorny topic.

This person’s company sells trainings to other companies. They use Glide as a companion app to their trainings, and other than the admin section of the application for the training company, the main users of the application are employees of other companies taking trainings.

The employees access training content and schedules. We were discussing developing another part of the app that might allow employees to submit content to be processed by Glide AI and/or Replicate.

A question arose: employees will be sharing company data. Is all of this GDPR compliant? Do we know what happens to the data submitted by employees once it is processes by Glide AI and/or Replicate?

“It depends.” (Sorry!)

I can’t speak for Replicate, but I’d start by reviewing their privacy policy and getting in touch with them directly re: any compliance questions/concerns.

Likewise, on the Glide end, the best bet is to get in touch with our team via support chat so we have a ticket to reference and comment on.

My general sense is that compliance will depend on the app’s configuration. At a platform level, we’re GDPR compliant, as noted in our security docs.

2 Likes