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:

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

Support this repository:

DiscordWidget

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:

Async:

from freeGPT import AsyncClient
from asyncio import run


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


run(main())

Non-Async:

from freeGPT import Client

while True:
    prompt = input("👦: ")
    try:
        resp = Client.create_completion("MODEL", prompt)
        print(f"🤖: {resp}")
    except Exception as e:
        print(f"🤖: {e}")

Image Generation:

Async:

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


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


run(main())

Non-Async:

from freeGPT import Client
from PIL import Image
from io import BytesIO

while True:
    prompt = input("👦: ")
    try:
        resp = Client.create_generation("MODEL", prompt)
        Image.open(BytesIO(resp)).show()
        print(f"🤖: Image shown.")
    except Exception as e:
        print(f"🤖: {e}")

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

Uploaded Source

Built Distribution

freeGPT-1.3.3-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freeGPT-1.3.3.tar.gz
  • Upload date:
  • Size: 8.3 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.3.tar.gz
Algorithm Hash digest
SHA256 f3c68eb33cbc226287d7dc8c2d7b74d558e37b0c723d3dea311ff954af96cbe5
MD5 f2cf21ccc7ffd4a75c99fb2d1c8bfad8
BLAKE2b-256 85c46b7138f3ccca7c8ff0f0f19a090c2b3c461d9337c9be0004190405ae5b01

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: freeGPT-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fb67e76ebeead2169f14b686feb4165bf70af391eba1ece50be031fa7197d852
MD5 182ded2568145aeca8b1224bf7b40788
BLAKE2b-256 6b7aa3f6a83e6a49e3c3d3521d09ed46573552677a939812039205a9c3a72eff

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