# How to use Replicate AI on macOS with BoltAI

### What is Replicate

Replicate is a platform that collects various open-source large language models (LLMs) and offers AI models for a variety of purposes, including AI text generation, AI image generation, and AI video generation.

It can be considered the foundation for open-source AI, allowing developers to use various open-source models via APIs, making it easy to integrate their applications or projects with AI services.

Replicate offers a library of open source models that software developers can run with a few lines of code, and it can automatically generate an API server for custom machine learning models, deployed on a large cluster of GPUs.

### How to obtain an Anthropic Claude API Key

To obtain a Replicate API key, you can follow these steps:

1. Visit the Replicate website at <https://replicate.com/account/api-tokens>.
2. Log in to your account. If you don't have an account, you will need to create one.
3. Once you are logged in, set a name and then click "Create token"

<figure><img src="https://3493584844-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FynYW2xZqA52spY7XgWis%2Fuploads%2FNKc8Kct7e0spJtCixD7e%2FCleanShot%202024-04-09%20at%2023.47.41%402x.jpg?alt=media&#x26;token=aa3bb1d6-e59d-4dce-873e-77c88cff5087" alt=""><figcaption></figcaption></figure>

### How to use Replicate on macOS with BoltAI

Once you got your API Key ready, setting it up in BoltAI is simple: Go to **Settings > Models** and choose "Replicate"

1. Enter the API key
2. (Optional) Set the download folder for AI generated images
3. Click **Save Changes**

You should be able to generate images using Replicate now:

<figure><img src="https://3493584844-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FynYW2xZqA52spY7XgWis%2Fuploads%2F0LMMZhqqPKFJIv4vu7no%2FCleanShot%202024-04-09%20at%2023.59.59%402x.jpg?alt=media&#x26;token=f2981e74-0b6a-49b2-a560-a8fd7557b783" alt=""><figcaption><p>Generate AI images on MacOS with Replicate &#x26; BoltAI</p></figcaption></figure>
