freeGPT provides free access to text and image generation models.
There is also an official Discord bot.
python -m pip install -U freeGPT
Model | Website |
---|---|
gpt3 | chat9.yqcloud.top |
gpt4 | you.com |
gpt3_5 | vitalentum.net |
prodia | prodia.com |
pollinations | pollinations.ai |
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}")
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}")