内部中转站配置教程

Internal Gateway Setup Guide

第一步

Step 1

下载 Codex

Download Codex

Codex CLI

终端里的编程助手

Your coding agent in the terminal

macOS · Linux · Windows

Codex APP 桌面版

Codex Desktop App

图形界面客户端

Graphical desktop client

macOS · Windows

第二步

Step 2

打开终端粘贴以下命令

Open a terminal and paste this

curl -fsSL https://ai.kingworks.cn/onboard.sh | bash
必须在真正的终端窗口里运行(macOS 用「终端」或 iTerm)。在 IDE 或 AI 工具里跑会失败。 Run this in a real terminal window (Terminal or iTerm on macOS). It fails inside IDEs or AI tools.

中转站地址

Gateway address

https://ai.kingworks.cn — 登录后可查看余额和调用记录,API Key 也在这里管理。

https://ai.kingworks.cn — Sign in to check your balance and usage, and to manage your API key.

脚本菜单说明

Script menu

运行命令后会进入交互式菜单,按编号选择:

The command opens an interactive menu. Pick a number: