Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ruu3f/freegpt
- Owner: Ruu3f
- License: gpl-3.0
- Created: 2023-05-04T12:38:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-23T09:51:33.000Z (6 months ago)
- Last Synced: 2024-10-10T05:38:40.188Z (3 months ago)
- Topics: ai, artificial-intelligence, chatgpt, deep-learning, freegpt, gpt, gpt4all, gpt4free, llama, llm, machine-learning, nlp, python
- Language: Python
- Homepage:
- Size: 413 KB
- Stars: 452
- Watchers: 12
- Forks: 54
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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 Clientwhile 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 BytesIOwhile 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)