<img src="https://repository-images.githubusercontent.com/636250478/f62a1186-b84b-4e7a-86f1-145e32163a59" align="right" width=170>
[![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)
Raw data
{
"_id": null,
"home_page": "https://github.com/Ruu3f/freeGPT",
"name": "freeGPT",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "artificial-intelligence, machine-learning, deep-learning, gpt4free, gpt4all, freegpt, chatgpt, python, llama, llm, nlp, gpt, ai",
"author": "Ruu3f",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/af/88/280c601fffc7f9b00bdebf16a55b5f06f5de859da2d743bae41ca3f5fe25/freeGPT-1.3.5.tar.gz",
"platform": null,
"description": "<img src=\"https://repository-images.githubusercontent.com/636250478/f62a1186-b84b-4e7a-86f1-145e32163a59\" align=\"right\" width=170>\r\n\r\n[![PyPI](https://img.shields.io/pypi/v/freeGPT)](https://pypi.org/project/freeGPT)\r\n[![Downloads](https://static.pepy.tech/badge/freeGPT)](https://pypi.org/project/freeGPT)\r\n[![Status](https://img.shields.io/pypi/status/freeGPT)](https://pypi.org/project/freeGPT)\r\n\r\n# freeGPT\r\n\r\nfreeGPT provides free access to text and image generation models.\r\n\r\n *There is also an official [Discord bot](https://github.com/Ruu3f/freeGPT-discord).*\r\n\r\n## Getting Started:\r\n\r\n python -m pip install -U freeGPT\r\n\r\n## Sources:\r\n\r\n| Model | Website |\r\n| ------------ | ------------------------------------------------------ |\r\n| gpt3 | [chat9.yqcloud.top](https://chat9.yqcloud.top/) |\r\n| gpt4 | [you.com](https://you.com/) |\r\n| gpt3_5 | [vitalentum.net](https://vitalentum.net/free-chat-gpt) |\r\n| prodia | [prodia.com](https://prodia.com/) |\r\n| pollinations | [pollinations.ai](https://pollinations.ai/) |\r\n\r\n## Support this repository:\r\n\r\n- \u2b50 **Star the project:** Star this and the [freeGPT-discord repository](https://github.com/Ruu3f/freeGPT-discord). It means a lot to me! \ud83d\udc95\r\n\r\n## Examples:\r\n\r\n### Text Completion:\r\n\r\n```python\r\nfrom freeGPT import Client\r\n\r\nwhile True:\r\n prompt = input(\"\ud83d\udc66: \")\r\n try:\r\n resp = Client.create_completion(\"MODEL\", prompt)\r\n print(f\"\ud83e\udd16: {resp}\")\r\n except Exception as e:\r\n print(f\"\ud83e\udd16: {e}\")\r\n```\r\n\r\n### Image Generation:\r\n\r\n```python\r\nfrom freeGPT import Client\r\nfrom PIL import Image\r\nfrom io import BytesIO\r\n\r\nwhile True:\r\n prompt = input(\"\ud83d\udc66: \")\r\n try:\r\n resp = Client.create_generation(\"MODEL\", prompt)\r\n Image.open(BytesIO(resp)).show()\r\n print(f\"\ud83e\udd16: Image shown.\")\r\n except Exception as e:\r\n print(f\"\ud83e\udd16: {e}\")\r\n```\r\n\r\n## Star History Chart:\r\n\r\n[![Star History Chart](https://api.star-history.com/svg?repos=Ruu3f/freeGPT&theme=dark)](https://github.com/Ruu3f/freeGPT/stargazers)\r\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "freeGPT provides free access to text and image generation models.",
"version": "1.3.5",
"project_urls": {
"Homepage": "https://github.com/Ruu3f/freeGPT",
"Source": "https://github.com/Ruu3f/freeGPT"
},
"split_keywords": [
"artificial-intelligence",
" machine-learning",
" deep-learning",
" gpt4free",
" gpt4all",
" freegpt",
" chatgpt",
" python",
" llama",
" llm",
" nlp",
" gpt",
" ai"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51b90349a029cb51a25dee346ad07df0ac1dabf3dc9859d86b3c86910d2a2f02",
"md5": "aa6195bb661617f9420cdbe7a8a2a788",
"sha256": "e7dcf6955cb8f5024557892312ede98e319e2e54d232cce022f90b61a6af71f5"
},
"downloads": -1,
"filename": "freeGPT-1.3.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aa6195bb661617f9420cdbe7a8a2a788",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 19354,
"upload_time": "2024-06-07T17:30:02",
"upload_time_iso_8601": "2024-06-07T17:30:02.103666Z",
"url": "https://files.pythonhosted.org/packages/51/b9/0349a029cb51a25dee346ad07df0ac1dabf3dc9859d86b3c86910d2a2f02/freeGPT-1.3.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "af88280c601fffc7f9b00bdebf16a55b5f06f5de859da2d743bae41ca3f5fe25",
"md5": "dc242ee59925e0b4da04abc1db44e0e1",
"sha256": "1c9e854109f1984037e9222feed5e027dd26a8949e2422fc9bc6e55c55f056c1"
},
"downloads": -1,
"filename": "freeGPT-1.3.5.tar.gz",
"has_sig": false,
"md5_digest": "dc242ee59925e0b4da04abc1db44e0e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 18110,
"upload_time": "2024-06-07T17:30:04",
"upload_time_iso_8601": "2024-06-07T17:30:04.287396Z",
"url": "https://files.pythonhosted.org/packages/af/88/280c601fffc7f9b00bdebf16a55b5f06f5de859da2d743bae41ca3f5fe25/freeGPT-1.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-07 17:30:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ruu3f",
"github_project": "freeGPT",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "freegpt"
}