← 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/v1Prerequisites
- Install droid / factory-droid
- 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
- In droid, open /model → Manage custom models or /settings → Custom models; select ThAPI Claude Fable 5 before sending a paid test chat.
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| command not found | The 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.