↔️
OpenAI ↔ Anthropic 格式互转
🔌
多通道智能路由
📊
用量统计与配额管理
🔑
WordPress SSO 一键登录
如何使用?
1
登录账号
使用 m1f.cn WordPress 账号一键登录,无需注册。
2
获取 API Key
登录后在个人中心查看你的专属 API Key,用于调用接口。
3
调用 API
使用 OpenAI 兼容格式调用我们的接口,自动转发到对应上游。
示例代码
curl https://你的域名/v1/chat/completions \
-H "Authorization: Bearer sk-你的API密钥" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "你好!"}],
"stream": true
}'
💡 使用 Claude 模型会自动转换请求格式到 Anthropic API