Giter Site home page Giter Site logo

aiapi's Introduction

AiAPI

This is the download and support page for the software

简体中文 | English

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

  1. Cross-platform, works on Mac and Windows
  2. Based on Claude2, provides 100k context
  3. Compatible with OpenAI API, allowing direct reuse of existing OpenAI tools
  4. 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

  1. Register and log in to your account at https://claude.ai.
  2. Go to the page https://claude.ai/chats, open DevTools by pressing F12, and navigate to Applications → Cookies. Copy the sessionKey.
  3. Paste the sessionKey into the Settings panel and save.
  4. Change the OpenAI API Endpoint to http://127.0.0.1:3456 (if there is a /v1/... at the end, include it as well).
  5. You can enter any API Key, but some clients may have format validation. You can use this key: sk-1234567890ULScvLPEHbT3B3bkFJ34mOSRJSVf9fMWP8UXyw.
  6. This interface currently only supports stream mode, so please enable the "Stream Output" option. added in version 1.0.2

Compatibility Notes

  1. Currently, only the /v1/chat/completions endpoint and the messages parameter are supported. The model used is claude-2.
  2. Continuous conversation is supported, and the messages parameter will be automatically concatenated.

Project used AiAPI

  1. book-by-ai : Generate high-quality books with AI

aiapi's People

Contributors

easychen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.