# YBOpen **Repository Path**: bao-io/ybopen ## Basic Information - **Project Name**: YBOpen - **Description**: Proxy OpenAI WebSite Backend/API Services.🪄 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://ai.ybopen.cn - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-11-17 - **Last Updated**: 2023-11-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: openAI, gpt-4, Proxy ## README # YBOpen 一个代理OpenAI官网后端接口/OpenAI API的服务.🪄 >感谢你使用我们的代理服务。如果对你有所帮助,请不要忘记给本仓库点个星星✨ ## 认证 - ChatGPT官网接口是需要使用**AccessToken** 进行认证的. 你得首先在[ChatGPT官网](https://chat.openai.com)进行登录,然后访问[这个页面](https://chat.openai.com/api/auth/session)获取AccessToken. - OpenAI API是使用**API keys**进行认证的. 在你的[API Keys页面](https://platform.openai.com/api-keys)获取. 所有请求都应该把你的**API key** / **Access Token**放进`Authorization`的请求头字段中,例如: ``` X-Authorization: Bearer ACCESS_TOKEN/OPENAI_API_KEY Authorization: Bearer ACCESS_TOKEN/OPENAI_API_KEY ``` >我们优先从请求头中获取`X-Authorization`字段进行认证,其次再获取`Authorization`字段. ## ChatGPT官网接口 - [/backend-api/conversation](https://ai.ybopen.cn/backend-api/conversation) - [/backend-api/conversations](https://ai.ybopen.cn/backend-api/conversations)(CRUD) - [/backend-api/me](https://ai.ybopen.cn/backend-api/me) - [/backend-api/models](https://ai.ybopen.cn/backend-api/models) - [/backend-api/aip/p](https://ai.ybopen.cn/backend-api/aip/p) - [/backend-api/prompt_library](https://ai.ybopen.cn/backend-api/prompt_library/) - [/backend-api/gizmos](https://ai.ybopen.cn/backend-api/gizmos)(CRUD) - [/backend-api/settings/user](https://ai.ybopen.cn/backend-api/settings/user) - [/public-api/conversation_limit](https://ai.ybopen.cn/public-api/conversation_limit) - **还有更多接口,具体可以在[ChatGPT官网](https://chat.openai.com)的开发者工具抓取.** ## OpenAI API - [/v1/chat/completions](https://ai.ybopen.cn/v1/chat/completions) - **还有更多接口,具体可以查看[OpenAI API的文档](https://platform.openai.com/docs/api-reference).**