Skip to main content

freeGPT provides free access to GPT3, GPT4 and more models.

Project description

Sorry, The freeGPT bot is in 100 servers and I can't verify it ATM. Please join my Discord server if you wish to use it.

PyPI Downloads Status

freeGPT

freeGPT provides free access to GPT3, GPT4 and more models.

Get started:

python -m pip install -U freeGPT

Or add the freeGPT Discord bot, it's open-sourced!

Join my Discord server for live chat, support, or if you have any issues with this package.

Source:

Models Websites
gpt3 <ava-ai-ef611.web.app>
gpt4 <you.com>
alpaca_7b <chatllama.baseten.co>
prodia <prodia.com>
pollinations <pollinations.ai>

Support this repository:

DiscordWidget

TODO List:

  • Make the library well-documented.
  • Make the overall library easier to use.
  • Make the overall library easier to understand.
  • Add a non-GPT model.
  • Make a discord bot.
  • Make a ChatUI.
  • Add an image generation model.

Discord bot:

  • Add the freeGPT Discord bot.
  • This bot has all the models in this repository available.
  • It's interactive, overall fast, and easy to use.
  • And lastly, it's open-sourced.

Example:

Text Completion:

import freeGPT
from asyncio import run


async def main():
    while True:
        prompt = input("👦: ")
        try:
            resp = await getattr(freeGPT, "MODEL NAME").Completion.create(prompt)
            print(f"🤖: {resp}")
        except Exception as e:
            print(f"🤖: {e}")


run(main())

Image Generation:

import freeGPT
from PIL import Image
from io import BytesIO
from asyncio import run


async def main():
    while True:
        prompt = input("👦: ")
        try:
            resp = await getattr(freeGPT, "MODEL NAME").Generation.create(prompt)
            Image.open(BytesIO(resp)).show()
            print(f"🤖: Image shown.")
        except Exception as e:
            print(f"🤖: {e}")


run(main())

Star History Chart:

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freeGPT-1.2.5.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

freeGPT-1.2.5-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page