TypingMind

How to set up HyprLab API in TypingMind.

Set the Endpoints

  • HyprLab - OpenAI:

https://api.hyprlab.io/v1/chat/completions
https://api.hyprlab.io/v2/chat/completions
  • HyprLab - Anthropic:

https://api.hyprlab.io/v1/messages
https://api.hyprlab.io/v2/messages

Set the API Keys


Custom Models

{
  "title": "CUSTOM_NAME_OF_THE_MODEL_HERE",
  "description": "DESCRIPTION_HERE",
  "iconUrl": "ICON_HERE",
  "endpoint": "https://api.hyprlab.io/v1/chat/completions",
  "id": "",
  "modelID": "MODEL_ID_NAME_HERE",
  "apiType": "openai",
  "contextLength": "CONTEXT_LENGTH_HERE",
  "headerRows": [
    {
      "id": "",
      "key": "Authorization",
      "value": "Bearer HYPRLAB_API_KEY_HERE"
    }
  ],
  "bodyRows": [],
  "skipAPIKey": true,
  "pluginSupported": false,
  "visionSupported": false
}

NOTE: Just adjust the settings if the model supports Vision or Plugins.

// SAMPLE JSON FOR HYPRLAB-V2:
{
  "title": "CLAUDE-3.5-SONNET - HYPRLAB-V2",
  "description": "",
  "iconUrl": "",
  "endpoint": "https://api.hyprlab.io/v2/chat/completions",
  "id": "",
  "modelID": "claude-3-5-sonnet-20240620",
  "apiType": "openai",
  "contextLength": 200000,
  "headerRows": [
    {
      "id": "",
      "key": "Authorization",
      "value": "Bearer KEY_HERE"
    }
  ],
  "bodyRows": [],
  "skipAPIKey": true,
  "pluginSupported": false,
  "visionSupported": false
}

Last updated