> For the complete documentation index, see [llms.txt](https://docs.boltai.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boltai.com/docs/plugins/replicate.md).

# Replicate

The Replicate plugin lets you generate images using a text-to-image model hosted on Replicate.com

### What is Replicate?

Replicate makes it easy to run machine learning models in the cloud from your own code. You can run open-source models, or deploy your own models.

BoltAI supports generating images using your Replicate API key.

### How to set up the Replicate plugin?

Go to Settings > Plugins > Replicate. Select tab `Settings` then enter your API key.

### How to use the Replicate plugin?

To use the Replicate plugin, make sure you've setup the API key. Then:

1. Start a new chat. Choose an LLM that supports Function Calling (for example GPT-4o)
2. Enable the Replicate plugin
3. Enter your prompt

{% hint style="info" %}
**Pro tip**: you can tell the LLM to generate multiple images at the same time.\
For example: "Generate 4 images of a unicorn"
{% endhint %}

<figure><img src="/files/5xY3KCPqiPdr1L66zMPI" alt=""><figcaption></figcaption></figure>

### FAQs?

1. **Can I use a language model on Replicate?**\
   Not yet. At the moment, BoltAI only supports a few text-to-image models on Replicate.com
