lza6

Eye2 2api Cfwork — AI skill for Claude Code

AI community

🔄 反向代理技术 · 🌐 Socket.io 协议模拟 · 🤖 多模型统一接口 (支持GPT/Claude/Gemini等12个模型) · ⚡ 实时流式传输 · 🔧 自动Cookie管理 · 🛡️ 请求头伪装 (模拟真实浏览器) · 🎯 智能重试机制 · 📊 Silent Mode兼容 (同时支持标准OpenAI格式和Web UI调试) · 🚀 WebSocket长连接 · 🔒.

How to install Eye2 2api Cfwork

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lza6/eye2-2api-cfwork and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Eye2 2api Cfwork does

🔄 反向代理技术 · 🌐 Socket.io 协议模拟 · 🤖 多模型统一接口 (支持GPT/Claude/Gemini等12个模型) · ⚡ 实时流式传输 · 🔧 自动Cookie管理 · 🛡️ 请求头伪装 (模拟真实浏览器) · 🎯 智能重试机制 · 📊 Silent Mode兼容 (同时支持标准OpenAI格式和Web UI调试) · 🚀 WebSocket长连接 · 🔒 CORS跨域处理 · 🎨 开发者驾驶舱UI · 📡 神经链路监控 · 🔄 自动会话持久化 · 🎭 协议升级握手 · ⚙️ 错误恢复机制

Alternatives in AI

  • Mt5 Agent Toolkit — Turn a written trading strategy into a MetaTrader 5 Expert Advisor with an AI coding agent 34 ★
  • Lip Dictation — Silent dictation for Claude Code: mouth words at your webcam, a local lip-reading model types them into the pr 20 ★
  • Puter Python — FastAPI 异步高并发架构、OpenAI 接口完全兼容 ( /v1/chat/completions )、Puter.js 逆向桥接、多账号自动轮询负载均衡、SSE 流式响应转换、请求头伪装 (Referer/Ori 15 ★

README

👁️ Eye2-2API Cloudflare Worker | 终极完美版

![Version](https://img.shields.io/badge/Version-4.4.0_Chimera_Silent-10b981?style=for-the-badge&logo=azurepipelines) ![License](https://img.shields.io/badge/License-Apache_2.0-3b82f6?style=for-the-badge&logo=apache) ![Platform](https://img.shields.io/badge/Platform-Cloudflare_Workers-f38020?style=for-the-badge&logo=cloudflare)

**🌐 一键解锁所有AI模型 | 🚀 无需复杂配置 | 💫 原生OpenAI兼容**

*"让每个人都能平等访问最先进的AI技术" - 这就是我们的使命*

[快速开始](#-快速开始-懒人专属) | [技术原理](#-技术原理-大白话版) | [在线体验](#-在线体验) | [贡献指南](#-贡献指南)

📖 目录

✨ 项目简介

🎨 这是什么?

**Eye2-2API** 是一个运行在 Cloudflare Workers 上的智能代理网关,它就像是一个"AI翻译官" 🈲,把标准的 OpenAI API 格式转换成 Eye2.ai 网站能理解的语言。

💡 诞生背景

为什么我们需要这个项目?🤔

  • 问题: 很多优秀的AI服务只有网页版,没有官方API
  • 痛点: 开发者想要集成这些AI能力到自己的应用中
  • 解决方案: 🔑 我们搭建了这个桥梁,让任何支持OpenAI格式的应用都能直接使用Eye2.ai的多模型服务!

🌟 核心特性

特性 描述 状态
🔄 多模型支持 同时支持 GPT、Claude、Gemini 等12种模型 ✅ 已实现
🎯 OpenAI兼容 直接兼容所有ChatGPT生态工具 ✅ 已实现
🚀 一键部署 30秒完成部署,无需复杂配置 ✅ 已实现
🔒 自动安全 内置API密钥保护和CORS支持 ✅ 已实现
📊 实时监控 内置Web UI,可视化请求流程 ✅ 已实现
🎭 双重模式 智能识别客户端,自动优化输出 ✅ 已实现

🎯 能做什么?

🎪 使用场景

场景 用户类型 价值
🎨 AI绘画提示词优化 设计师、艺术家 快速生成高质量提示词
💻 代码助手集成 开发者、程序员 在IDE中直接使用多模型
📚 学习研究工具 学生、研究人员 同时对比不同模型的回答
🛒 电商文案生成 电商运营、营销人员 批量生成商品描述
🤖 智能客服系统 企业、创业者 低成本搭建AI客服

⚡ 实际效果

# 传统方式 ❌
打开浏览器 → 登录网站 → 选择模型 → 输入问题 → 复制结果

# 使用本项目 ✅
curl -X POST "你的Worker地址/v1/chat/completions" \
  -H "Authorization: Bearer 你的密钥" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude",
    "messages": [{"role": "user", "content": "你好