Documentation
ZhenAPI documentation: set up API keys and AI clients, then explore text, image, video and TypeSafe API examples.
Getting started
- Node.js Installation Guide
Install Node.js on Windows, macOS or Linux, verify npm, and prepare your environment for AI command-line clients.
Client setup
- ZhenAPI.ai Toolkit Guide
Download Toolkit for Windows, sign in through your browser and import an API key into your agents. Learn how to check usage, restore configurations and update Toolkit.
- Codex Setup Guide
Connect Codex CLI and the desktop app to ZhenAPI using setup scripts or manual configuration, including API keys, models and the Responses API.
- Claude Code Setup Guide
Install Claude Code and configure the ZhenAPI endpoint and API key on Windows, macOS and Linux.
- Gemini CLI Setup Guide
Install Gemini CLI, configure the ZhenAPI endpoint and credentials, and verify your command-line connection.
- TRAE SOLO Setup Guide
Add custom Claude and Codex models in TRAE SOLO using the endpoint, model name and API key shown in the configuration examples.
- OpenClaw Setup Guide
Set up OpenClaw with a script or manually, select a Claude or Codex connection, and connect it to ZhenAPI.
- Hermes Setup Guide
Install Hermes Agent and configure an Anthropic Messages or Codex Responses provider, model and API key.
APIs and capabilities
- API Scripting Guide
Copy Python and Node.js examples for Responses, Chat Completions, Messages, image generation and editing, and video APIs.
- Image Generation Guide
Install the image generation skill, choose a Codex, Gemini or Grok image group, and generate or edit images with reference pictures.
- TypeSafe API Guide
Use the Jev System One API for decisions, classification, scoring, image recognition and Box localization, with cURL, Python and Node.js examples.
- Error Codes
What each HTTP status and error code means when a request fails, how to fix it, and whether you are charged.