https://thapi.cloud/v1

← All applications · Connect apps section on /docs

OpenAIManual setup

Factory Droid CLI

Also known as: factory-droid · droid

Factory Droid CLI: configure the API key, model and provider in your terminal.

Published instructions · App version: unverified

Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely

Base URL to paste

OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.

https://thapi.cloud/v1

Prerequisites

  1. Install droid / factory-droid
  2. API keys

Recommended model: claude-fable-5

Quick way — command / config

export STALI_API_KEY="sk-thapi-..."

Where to place file / fill Settings

Filemacos
~/.factory/settings.json
Back up the file; add an entry to customModels in settings.json and keep existing models. Set STALI_API_KEY in the environment before opening droid.
Filelinux
~/.factory/settings.json
Same as macOS.
Filewindows
%USERPROFILE%\.factory\settings.json
Create .factory if needed; save settings.json. Set $env:STALI_API_KEY before opening droid.

Verify connection

  1. In droid, open /model → Manage custom models or /settings → Custom models; select ThAPI Claude Fable 5 before sending a paid test chat.

Troubleshooting

SymptomReasonHow to handle
command not foundThe binary is named droid or factory-droid.which droid; which factory-droid.

Notes

  • Checked against official documentation on 2026-10-23; the complete app has not been tested against the live service.

Related

API CLI

Zalo group