Skip to content

AI Provider Tutorial

Disclaimer: This tutorial is to configure AI Providers for the AI Assistant Extra. Please read AI Assistant first

Overview

  1. Google
  2. OpenAI
  3. Replicate (Advanced Mode)
  4. HuggingFace (Advanced Mode)
  5. OpenRouter (Advanced Mode)

1. Google

  • Step 1: Login to your Google account or create a Google AI Studio Account.
  • Step 2: Navigate to the the Google API Key Page.
  • Step 3: Click "Create API Key."

    ai-google-1

  • Step 4: Create and copy API Key

    ai-google-2

  • Step 4: Paste the API key into PUMC and adjust the provider settings in PUMC for your desired model, context size, and image quality.
  • Step 5: Optional - Add money to your Google account with Google Billing. Some models work for free, some need payment. All image models are paid models.

2. OpenAI

  • Step 1: Login to your OpenAI account or create an OpenAI Account.
  • Step 2: Navigate to the API Keys Page.
  • Step 3: Click "Create New Secret Key" and then click "Create secret key."

    ai-openai-1

  • Step 4: Create and copy the new API secret key.

    ai-openai-2

  • Step 5: Paste the API key into PUMC and adjust the provider settings in PUMC for your desired model, context size, and image quality.
  • Step 6: Add credit to OpenAI in the Billing Page.

2. Replicate (Advanced)

  • Step 1: Login to your Replicate account or create a Replicate account.
  • Step 2: Navitate to the API Tokens Page
  • Step 3: Enter a token name and click "Create Token."

    ai-replicate-1

  • Step 4: Hover over the newly created token, and click "Copy Token."

    ai-replicate-2

  • Step 5: Paste the API key into PUMC
  • Step 6: Add credit to your account on the Billing Page
  • Step 7: Find the desired model based on the art you want and your budget on the Models Page, and paste the model into PUMC. Adjust the image sized based on your budget.

2. HuggingFace (Advanced)

  • Step 1: Login to your HuggingFace account or create a HuggingFace account
  • Step 2: Navigate to the Access Tokens Page
  • Step 3: Click on "Create new token"

    ai-huggingface-1

  • Step 4: Enter your token name and check these three permissions:

    ai-huggingface-2

  • Step 5: Click "Create token"

    ai-huggingface-3

  • Step 6: Copy token and paste into PUMC settings

    ai-huggingface-4

  • Step 7: Add credits by clicking the "+ Add" button on the Billing Page

    ai-huggingface

  • Step 8: Find the desired model based on the art and text you want and your budget on the Models Page, and paste the model name into PUMC settings. If using image models, adjust the image quality based on your budget.

2. OpenRouter (Advanced)

  • Step 1: Login to your OpenRouter account or create an OpenRouter Account.
  • Step 2: Navigate to the API Keys Page and click "Create API Key."

    ai-openrouter-1

  • Step 3: Name your API key and click "create."

    ai-openrouter-2

  • Step 4: Copy the API key and paste it into PUM settings.
  • Step 5: Find the desired model based on the art and text you want and your budget on the Models Page, and paste the model name into PUMC settings. If using image models, adjust the image quality based on your budget.