项目地址
https://github.com/egoist/ai-proxy
如何使用
git clone xxxx
创建镜像
到项目根目录
# 1. 创建镜像
docker build -t ai-proxy .
# 2. 运行镜像
docker run -d -p 3333:3000 --name ai-proxy-container ai-proxy
# 3. 访问
http://localhost:3333
# 4. 接口调用是
http://localhost:3333/generativelanguage/v1beta
# 5. tailscale启动
# 6. 云服务器访问
# 7. xAi测试地址
- https://docs.x.ai/docs/tutorial#the-hitchhikers-guide-to-grok
- https://ai.google.dev/gemini-api/docs?hl=zh-cn#rest