freeGPT provides free access to text and image generation models.
Project description
freeGPT
freeGPT provides free access to GPT3, GPT4, and more models.
Get started:
python -m pip install -U freeGPT
Join my Discord server for live chat, support, or if you have any issues with this package.
Source:
Text Generation:
Model | Website |
---|---|
gpt3 | ava-ai-ef611.web.app |
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:
- ⭐ Star the project: Star this and the freeGPT-discord repository. It means a lot to me! 💕
- 🎉 Join my Discord Server: Try the bot and chat with others. Join here:
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:
Project details
Release history Release notifications | RSS feed
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.8.tar.gz
(20.8 kB
view details)
Built Distribution
freeGPT-1.2.8-py3-none-any.whl
(21.9 kB
view details)
File details
Details for the file freeGPT-1.2.8.tar.gz
.
File metadata
- Download URL: freeGPT-1.2.8.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edcfaaf20bbd285de0c2baf7b8eba514ef0c60ed10cfdceebf7b0291446166c2 |
|
MD5 | 7c6c2e19f190ab673329ede295f1de81 |
|
BLAKE2b-256 | cc235bb795116cb8f5e7233978374e928770a6538bf1cd411a255e2cb683d838 |
Provenance
File details
Details for the file freeGPT-1.2.8-py3-none-any.whl
.
File metadata
- Download URL: freeGPT-1.2.8-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c737184470547b3c5752c69598f7e8dd893405203656ac4d4bb93f23f9b951 |
|
MD5 | 1b51ed3649d54299ca729e8799e011ac |
|
BLAKE2b-256 | a12e2b3c5148b745d806fd30a3f5054b7199ec4bb0d062bade6d547063a42cf4 |