---
description: >-
  This set of documents outlines how to use the "Replicate - AI & ML Models"
  bubble.io plugin built by Cranford Tech
---

# Introduction

The Replicate - AL & ML Models plugin makes it easy to run a range of AI/ML models in your Bubble app. The plugin currently supports the following models:

* Stable Diffusion (text-to-image generation)
* GFPGAN (image restoration)
* SDXL (text-to-image generation)

{% hint style="info" %}
If there's a model on Replicate you would like added to the plugin, feel free to contact me at alex@cranfordtech.com. I can't promise I'll be able to add every model requested, but will certainly look into each request.
{% endhint %}

### Useful Links

* [Plugin page](https://bubble.io/plugin/stable-diffusion-replicate-1663270527596x532849229935411200)
* [Tutorial video for GFPGAN model](https://www.youtube.com/watch?v=-VlztwBGzns)
* [Tutorial video for Stable Diffusion model](https://www.youtube.com/watch?v=O_HoL7h0lLE)

### Documentation Sections

* [Registering for a Replicate account](registering-for-a-replicate-account)
* [Installing the plugin](installing-the-plugin)
* [Adding API keys](adding-api-keys)
* [Creating predictions:](creating-predictions)
  * [Stable Diffusion](creating-predictions/stable-diffusion)
  * [GFPGAN](creating-predictions/gfpgan)
  * [SDXL](creating-predictions/sdxl)
* [Retrieving predictions:](retrieving-predictions)
  * [Database setup](retrieving-predictions/database-setup)
  * [Get Prediction workflow action](retrieving-predictions/get-prediction-workflow-actions)
  * [Webhooks](retrieving-predictions/webhooks)
