# 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="/files/4F0xA2WZNDLrAVXNTpWD" 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="/files/wlHf6DRRgJj4CkcZnGj0" alt=""><figcaption><p>Generate AI images on MacOS with Replicate &#x26; BoltAI</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.boltai.com/docs/guides/how-to-use-replicate-ai-on-macos-with-boltai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
