> ## Documentation Index
> Fetch the complete documentation index at: https://www.anything.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Replicate Background Remover

> Remove backgrounds from images instantly using Replicate's AI model

Background Remover uses Replicate's state-of-the-art AI model to automatically remove backgrounds from images with high precision.

<Warning> Replicate requires paid credits to use their API. Please refer to their pricing [here](https://replicate.com/pricing#public-models).</Warning>

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for a Replicate account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your Replicate API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit Replicate's Website">
    Go to [replicate.com](https://www.replicate.com/) and click "Sign Up" in the top right corner

    <img src="https://mintcdn.com/create/FQ38N__i9RkapQvc/images/background-remover/homepage.png?fit=max&auto=format&n=FQ38N__i9RkapQvc&q=85&s=9d9e6cc560e615ce1aa63af5e2142652" style={{ borderRadius: '0.5rem' }} width="2928" height="1452" data-path="images/background-remover/homepage.png" />
  </Step>

  <Step title="Choose Signup Method">
    * Sign up with email/password
    * Or continue with GitHub authentication

    <img src="https://mintcdn.com/create/FQ38N__i9RkapQvc/images/background-remover/signin.png?fit=max&auto=format&n=FQ38N__i9RkapQvc&q=85&s=50900ae2d21c456350861918105f6b23" style={{ borderRadius: '0.5rem' }} width="1680" height="1450" data-path="images/background-remover/signin.png" />
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access API Settings">
    1. Click on your profile icon in the top right
    2. Select "API" from the dropdown menu

    <img src="https://mintcdn.com/create/FQ38N__i9RkapQvc/images/background-remover/setting.png?fit=max&auto=format&n=FQ38N__i9RkapQvc&q=85&s=bc3738040b5d6200b6f75f6bd82c6fda" style={{ borderRadius: '0.5rem' }} width="2952" height="1418" data-path="images/background-remover/setting.png" />
  </Step>

  <Step title="Create New API Key">
    1. Click "Create API Key"
    2. Name your key (e.g., "Anything Integration")
    3. Click "Generate"

    <img src="https://mintcdn.com/create/FQ38N__i9RkapQvc/images/background-remover/apigen.png?fit=max&auto=format&n=FQ38N__i9RkapQvc&q=85&s=a8c6a489b582ca14396ce0758375b734" style={{ borderRadius: '0.5rem' }} width="2860" height="1450" data-path="images/background-remover/apigen.png" />
  </Step>

  <Step title="Copy Your Key">
    1. Copy the generated API key
    2. Store it securely - you won't be able to see it again

    <Warning>
      Keep your API key secure - it grants access to your paid credits
    </Warning>
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "Background Remover" from the menu
  </Step>

  <Step title="Add your API key">
    1. Paste your API key into the "BACKGROUND\_REMOVER\_API\_KEY" field

    <Tip>
      Need a new key? Generate one in your Background Remover dashboard.
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to remove image backgrounds.

    Some examples:

    * `Remove the background from this product image with /ReplicateBackgroundRemover`
    * `Create a profile photo editor with /ReplicateBackgroundRemover`
    * `Build an image upload form that removes backgrounds using /ReplicateBackgroundRemover`

    <Warning>
      The API limits how often your app can fetch data. If your app loads the same data often, ask the agent to save it locally so it doesn't re-fetch every time.
    </Warning>

    Example prompt for optimization:

    ```
    When using /ReplicateBackgroundRemover, save the processed images so my app doesn't have to fetch them again
    ```
  </Step>
</Steps>

<Tip>
  Your Background Remover integration is ready! Use `/ReplicateBackgroundRemover` in chat to process images.
</Tip>
