Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ruu3f/freegpt

freeGPT provides free access to text and image generation models.
https://github.com/ruu3f/freegpt

ai artificial-intelligence chatgpt deep-learning freegpt gpt gpt4all gpt4free llama llm machine-learning nlp python

Last synced: 3 months ago
JSON representation

freeGPT provides free access to text and image generation models.

Awesome Lists containing this project

README

        

[![PyPI](https://img.shields.io/pypi/v/freeGPT)](https://pypi.org/project/freeGPT)
[![Downloads](https://static.pepy.tech/badge/freeGPT)](https://pypi.org/project/freeGPT)
[![Status](https://img.shields.io/pypi/status/freeGPT)](https://pypi.org/project/freeGPT)

# freeGPT

freeGPT provides free access to text and image generation models.

*There is also an official [Discord bot](https://github.com/Ruu3f/freeGPT-discord).*

## Getting Started:

python -m pip install -U freeGPT

## Sources:

| Model | Website |
| ------------ | ------------------------------------------------------ |
| gpt3 | [chat9.yqcloud.top](https://chat9.yqcloud.top/) |
| gpt4 | [you.com](https://you.com/) |
| gpt3_5 | [vitalentum.net](https://vitalentum.net/free-chat-gpt) |
| prodia | [prodia.com](https://prodia.com/) |
| pollinations | [pollinations.ai](https://pollinations.ai/) |

## Support this repository:

- ⭐ **Star the project:** Star this and the [freeGPT-discord repository](https://github.com/Ruu3f/freeGPT-discord). It means a lot to me! 💕

## Examples:

### Text Completion:

```python
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:

```python
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](https://api.star-history.com/svg?repos=Ruu3f/freeGPT&theme=dark)](https://github.com/Ruu3f/freeGPT/stargazers)