注意,Cherry Studio 在调用 OpenAI 接口时会自动识别 API 服务地址后缀并采用不同的拼接方法,因此这里配置 https://llm-api.mmchat.xyz 或 https://llm-api.mmchat.xyz/v1/ 两种方式均可,但要注意末尾的 / 不能混用。
使用文本聊天时,可选择 gpt-4.1/gpt-4o/o3/o4-mini 系列模型,当希望生成图片 时,可选择 gpt-image-1 模型(目前只支持图像生成,不支持图像编辑)。
LobeChat 开源版本只支持文本模块,暂不支持 gpt-image-1 等图像生成模型。
如果选择了不支持的模型,在提问时 API 服务会返回错误提示,请切换为上述已支持的模型重新提问即可。
~/.codex/config.toml(如果当前用户目录下没有 .codex 目录,先创建一个),将以下配置添加到配置文件中:[model_providers.metachat]
name = "MetaChat API"
base_url = "https://llm-api.mmchat.xyz/v1"
env_key = "METACHAT_API_KEY"
wire_api = "responses"
requires_openai_auth = false
request_max_retries = 4
stream_max_retries = 10
stream_idle_timeout_ms = 300000
[profiles.gpt-53-codex]
model = "gpt-5.3-codex"
model_provider = "metachat"
METACHAT_API_KEY 配置为 MetaChat API Key。codex --profile gpt-53-codex 启动 Codex,指定使用配置的 GPT-5.3-Codex 模型: