AiAPI
⚠️ 最近Claude给网页添加了防护,本应用暂时不可用了。| Recently, Claude added protection to the webpage, so this application is temporarily unavailable.
This is the download and support page for the software
AiAPI is a cross-platform client that converts the Claude website into an OpenAI-compatible API, allowing you to use Claude's 100k context capability in any OpenAI-compatible software. What's even better is that it's free. Thanks to Claude.
Key Features
- Cross-platform, works on Mac and Windows
- Based on Claude2, provides 100k context
- Compatible with OpenAI API, allowing direct reuse of existing OpenAI tools
- Supports the CookieCloud browser extension, which can automatically refresh and synchronize cookies
Download
Please go to the Releases section of the repository.
Interface and Functionality
User Guide
- Register and log in to your account at https://claude.ai.
- Go to the page https://claude.ai/chats, open DevTools by pressing F12, and navigate to Applications → Cookies. Copy the sessionKey.
- Paste the sessionKey into the Settings panel and save.
- Change the OpenAI API Endpoint to http://127.0.0.1:3456 (if there is a /v1/... at the end, include it as well).
- You can enter any API Key, but some clients may have format validation. You can use this key:
sk-1234567890ULScvLPEHbT3B3bkFJ34mOSRJSVf9fMWP8UXyw
. This interface currently only supports stream mode, so please enable the "Stream Output" option.added in version 1.0.2
Compatibility Notes
- Currently, only the
/v1/chat/completions
endpoint and themessages
parameter are supported. The model used isclaude-2
. - Continuous conversation is supported, and the
messages
parameter will be automatically concatenated.
Project used AiAPI
- book-by-ai : Generate high-quality books with AI
Disclaimer for Software Usage
- This software is provided to users for self-installation and use, and the developer does not provide any form of technical support.
- Users assume all risks and responsibilities when using this software, including but not limited to improper use, data loss, system crashes, etc.
- The developer does not make any express or implied warranties regarding the applicability, accuracy, reliability, completeness, and timeliness of this software.
- Users should understand and comply with relevant laws, regulations, and website user agreements when using this software. The developer shall not be liable for any legal disputes or losses caused by the user's violation of relevant provisions.
- This software may be subject to anti-crawling mechanisms of target websites. Users should bear the risks of account suspension, IP blocking, and other consequences that may arise from using this software.
- The developer shall not be liable for any direct, indirect, special, incidental, or consequential losses or damages that may result from the user's use of this software, including but not limited to loss of profits, data loss, business interruption, etc.
- Users are solely responsible for any liabilities arising from their use of this software, including but not limited to infringement of third-party rights, illegal activities, etc.
- The developer reserves the right to modify, suspend, or terminate this software at any time without prior notice, and shall not be liable for any consequences arising from it.
- By using this software, users agree to comply with all provisions of this disclaimer. If you do not agree with any part of this disclaimer, please stop using this software immediately.