Skip to main content

freeGPT provides free access to text and image generation models.

Reason this release was yanked:

Broken

Project description

PyPI Downloads Status

freeGPT

freeGPT provides free access to text and image generation models.

Getting Started:

python -m pip install -U freeGPT

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

Sources:

Text Generation:

Model Website
gpt3 chat9.yqcloud.top
gpt4 you.com
alpaca_7b chatllama.baseten.co
falcon_40b gpt-gm.h2o.ai

Image Generation:

Model Website
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.
  • Add an image generation model.
  • Add more models.

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.

Examples:

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.3.0.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

freeGPT-1.3.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file freeGPT-1.3.0.tar.gz.

File metadata

  • Download URL: freeGPT-1.3.0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for freeGPT-1.3.0.tar.gz
Algorithm Hash digest
SHA256 1f7deb18aadd768adbf8e230a54b020575db88ccbd0da9e57c5f0bfb6df7742d
MD5 8ee141b34609ac616737e5b428ee81e0
BLAKE2b-256 da780b74f9a08306d80fd7f841fbcd2ffef5b4764fdb4da75ddb1a913da5d4f4

See more details on using hashes here.

Provenance

File details

Details for the file freeGPT-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: freeGPT-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for freeGPT-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecc6beb82a5893a7f95232dd03e852db06d9e84ef3ee421e99ffa0df2dfd3036
MD5 491f4133e457aab4994630e2f8c3a771
BLAKE2b-256 855a53a69fe8da1ca97dd64cbd88d3a924435f49f75c4fcec4564080f56e5401

See more details on using hashes here.

Provenance

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