GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - galaxyapi/claude-3: Free Proxy to access Claude-3 API. Anthropic key not required 🔐. It uses OpenAI format api to easily integrate on any Openai supported frontend.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 

Repository files navigation

Claude-3 API ☁️

Meet Claude 3 Haiku, a speed demon that processes 30 pages in a blink, an intellect setting new benchmarks, and a visionary deciphering photos to technical diagrams. Perfect for roleplaying ✨

Features 🌟

  • Simple API (OpenAI)
  • No Cost
  • Easy Integration, suitable for any Frontend

Requirements

  • python3 or nodejs (Optional)
  • openai (Optional)
  • Galaxy API Key get here 🆓

Front-End Integration

If you're using it through any front-end, for Librechats, Sillytavern, JanitorAI etc.

  1. Replace the Proxy url to https://galaxyapi.onrender.com
  2. Put your own galaxy API Key 🔐
  3. That's it!

Examples

curl https://galaxyapi.onrender.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $GALAXYAI_API_KEY" \
  -d '{
    "model": "claude-3-haiku-20240307",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant."
      },
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'

Python

from openai import OpenAI
client = OpenAI(apikey="galaxy-secret-key-here")
client.base_url = "https://galaxyapi.onrender.com/v1"

completion = client.chat.completions.create(
  model="claude-3-haiku-20240307",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
  ]
)

print(completion.choices[0].message)

NodeJS

import OpenAI from "openai";

const openai = new OpenAI({
  apiKey: 'GALAXY_API_KEY',
  baseURL: 'https://galaxyapi.onrender.com/v1'
})

async function main() {
  const completion = await openai.chat.completions.create({
    messages: [{ role: "system", content: "You are a helpful assistant." }],
    model: "claude-3-haiku-20240307",
  });

  console.log(completion.choices[0]);
}

main();

ContactUS ✋

Having Issues, Feel free to report it by creating the issue or report it here.

About

Free Proxy to access Claude-3 API. Anthropic key not required 🔐. It uses OpenAI format api to easily integrate on any Openai supported frontend.

discord.com/invite/HGdtHgCMua

Topics

anthropicchatgptchatgpt-proxyclaude-3claude-apigalaxyaigpt-4librechatmidjourneyopenaisillytavern

Resources

Readme
Activity

Stars

128 stars

Watchers

1 watching

Forks

7 forks
Report repository

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.