在VPS上搭建ChatGPT网页API

解锁ChatGPT节点(可选) 部分IP访问ChatGPT官网或新域名ai.com 会出现Access denied阻止访问,可以套用Cloudflare WARP wget -N https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh && bash CFwarp.sh 依次选择 wgcf内核安装WARP、方案一:安装/切换WGCF-WARP、安装/切换wgcf-warp单栈IPV6 如何刷新/更换 CloudFlare Warp IP systemctl restart wg-quick@wgcf 警告: Plus 用户请不要使用此方式,会掉 Plus 订阅 配置 V2Ray 修改 outbounds 和 routing 配置 "outbounds": [ { "tag": "IP4_out", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv4" } }, { "tag": "IP6_out", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv6" } }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "routing": { "rules": [ { "type": "field", "domain": [ "openai.com", "bing.com" ], "outboundTag": "IP6_out" }, { "type": "field", "outboundTag": "IP4_out", "network": "udp,tcp" } ] } 介绍 支持双模型,提供了两种非官方 ChatGPT API 方法 ...

三月 5, 2023 · admin