FreeGPT4-WEB-API is a python server that allows you to have a self-hosted GPT-4 Unlimited and Free WEB API, via the latest AI providers.
git clone https://github.com/aledipa/Free-GPT4-WEB-API.git
cd Free-GPT4-WEB-API
pip install -r requirements.txt
Note: It is recommended to use the GUI.
Use the following command:
python3 FreeGPT4_Server.py [-h] [--remove-sources] [--enable-gui] [--private-mode] [--enable-history] [--password PASSWORD] [--cookie-file COOKIE_FILE] [--file-input] [--port PORT] [--model MODEL] [--provider PROVIDER] [--keyword KEYWORD] [--system-prompt SYSTEM_PROMPT] [--enable-proxies]
Options:
-h, --help
show this help message and exit
--remove-sources
Remove the sources from the response
--enable-gui
Use a graphical interface for settings
--private-mode
Use a private token to access the API
--enable-history
Enable the history of the messages
--password PASSWORD
Set or change the password for the settings page [mandatory in docker envirtonment]
--cookie-file COOKIE_FILE
Use a cookie file
--file-input
Add the file as input support
--port PORT
Change the port (default: 5500)
--model MODEL
Change the model (default: gpt-4)
--provider PROVIDER
Change the provider (default: Bing)
--keyword KEYWORD
Add the keyword support
--system-prompt SYSTEM_PROMPT
Use a system prompt to 'customize' the answers
--enable-proxies
Use one or more proxies to avoid being blocked or banned
Once the server is up and running, make sure that you're able to reach its address and type ?text=
followed by your question next to it.
You can replace ‘text’ with whatever you wish, either by using the --keyword
flag or by changing the value of the ‘Input Keyword’ field on the Web GUI.
Once you've enabled it by running the server with the --enable-gui
flag, just type /settings
or /login
next to the server's url
(credits to @ayoubelmhamdi):
fileTMP="$1" curl -s -F file=@"${fileTMP}" http://127.0.0.1:5500/
It's possible to install the docker image of this API by running this command:
docker container run -v /path/to/your/cookies.json:/cookies.json:ro -p YOUR_PORT:5500 d0ckmg/free-gpt4-web-api
just omit <code>-v /path/to/your/cookies.json:/cookies.json:ro</code> for using it without cookies
or alternatively, you can use a docker-compose file:
docker-compose.yml
version: "3.9" services: api: image: "d0ckmg/free-gpt4-web-api:latest" ports: - "YOUR_PORT:5500" #volumes: # - /path/to/your/cookies.json:/cookies.json:ro
This will start the server and allow you to access the GPT-4 WEB API.
Once the server is running, you can access the API by sending HTTP requests to the server's address. The data for the requests should be sent via hotlinking and the response will be returned as plain text.
For example, to generate text using the API, you can send a GET request with the text
parameter set to the text you want to use as a prompt and the (optional) style
parameter set to the style you want to use. The default style is "balanced" and is recommended since it is faster. The generated text will be returned in the response as plain text.
To stop the server, you can press CTRL+C
in the terminal where the server is running.
(credits to @git-malik)
You can implement the power of GPT4 in Siri by using the GPTMode Apple Shortcut. Then you can use it just by saying "GPT Mode" to Siri and then ask your question when prompted to do so.
The server can be configured by using the GUI or the corresponding parameters. The only cookie needed for the Bing model is _"U".
集成小米智能家居设备,提供便捷控制与管理功能的 Home Assistant 自定义组件。
Xiaomi Home 是一款用于 Home Assistant 的自定义组件,可帮助用户轻松集成和管理小米智能家居设备。支持多种设备类型,具备丰富的功能和良好的兼容性,为用户打造便捷、智能的家居生活体验。
一个完全开源重现 DeepSeek - R1 的项目
Open R1 是一个致力于完全开源重现 DeepSeek - R1 的项目。项目提供了训练、评估模型以及生成合成数据的脚本,支持多种训练方法和评估基准测试。用户可以通过简单的命令运行各个步骤,同时还提供了在 Slurm 集群上运行作业的脚本。项目还发布了多个数据集,为模型训练提供了丰富的数据资源,适合对模型训练和评估感兴趣的开发者和研究人员。
一个具备多种工具和代理功能,可用于解决复杂任务规划、网络搜索、浏览器操作等的项目。
OpenManus 是一个功能强大的开源项目,提供了丰富的工具和代理机制。包含规划工具、多种搜索引擎、浏览器操作工具等,能帮助开发者高效解决复杂任务的规划、网络信息搜索以及浏览器自动化操作等问题。支持多种语言,拥有清晰的文档和代码结构,易于集成和扩展,适用于各类需要自动化任务处理的场景。
一个支持多种格式转换的工 具库
MarkItDown 是一个强大的 Python 工具库,专注于文档格式转换。它能够处理多种类型的文件,如 HTML、Wikipedia 页面以及 Bing 搜索结果页等,将其转换为 Markdown 格式。该项目支持插件扩展,提供了清晰的接口和丰富的功能,为开发者和文档处理人员提供了便捷、高效的文档转换解决方案,能有效提升文档处理效率,是文档转换领域的优秀选择。
字节跳动发布的AI编程神器IDE
Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效 率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。
帮助AI理解电脑屏幕 纯视觉GUI元素的自动化解析方案
开源工具通过计算机视觉技术实现图形界面元素的智能识别与结构 化处理,支持自动化测试脚本生成和辅助功能开发。项目采用模块化设计,提供API接口与多种输出格式,适用于跨平台应用场景。核心算法优化了元素定位精度,在动态界面和复杂布局场景下保持稳定解析能力。
埃隆·马斯克旗下的人工智能公司 xAI 推出的第三代大规模语言模型
Grok3 是由埃隆·马斯克旗下的人工智能公司 xAI 推出的第 三代大规模语言模型,常被马斯克称为“地球上最聪明的 AI”。它不仅是在前代产品 Grok 1 和 Grok 2 基础上的一次飞跃,还在多个关键技术上实现了创新突破。
腾讯自研的混元大模型AI助手
腾讯元宝是腾讯基于自研的混元大模型推出的一款多功能AI应用,旨在通过人工智能技术提升用户在写作、绘画、翻译、编程、搜索、阅读总结等多个领域的工作与生活效率。
Windsurf Editor推出第三次重大更新Wave 3
新增模型上下文协议支持与智能编辑功能。本次更新包含五项核心改进:支持接入MCP协议扩展工具生态,Tab键智能跳转提升编码效率,Turbo模式实现自动化终端操作,图片拖拽功能优化多模态交互,以及面向付费用户的个性化图标定制。系统同步集成DeepSeek、Gemini等新模型,并通过信用点数机制实现差异化的资源调配。
增强编程效率的AI代码编辑器
Cursor作为AI驱动的代码编辑工具,助力开发者效率大幅度提升。该工具简化了扩展、主题和键位配置的导入,可靠的隐私保护措施保证代码安全,深受全球开发者信赖。此外,Cursor持续推出更新,不断优化功能和用户体验。
最新AI工具、AI资讯
独家AI资源、AI项目落地
微信扫一扫关注公众号