[![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.
## Getting Started:
```
python -m pip install -U freeGPT
```
Join my [Discord server](https://dsc.gg/devhub-rsgh) for live chat, support, or if you have any issues with this package.
## Sources:
### Text Generation:
| Model | Website |
| ---------- | ----------------------------------------------------- |
| gpt3 | [chat9.yqcloud.top](https://chat9.yqcloud.top/) |
| gpt4 | [you.com](https://you.com/) |
| alpaca_7b | [chatllama.baseten.co](https://chatllama.baseten.co/) |
| falcon_40b | [gpt-gm.h2o.ai](https://gpt-gm.h2o.ai/) |
### Image Generation:
| Model | Website |
| ------------ | ------------------------------------------- |
| 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! 💕
- 🎉 **Join my Discord Server:** Chat with me and others. [Join here](https://dsc.gg/devhub-rsgh):
[![DiscordWidget](https://discordapp.com/api/guilds/1137347499414278204/widget.png?style=banner2)](https://dsc.gg/devhub-rsgh)
## TODO List:
- [x] Make the library well-documented.
- [x] Make the overall library easier to use.
- [x] Make the overall library easier to understand.
- [x] Add a non-GPT model.
- [x] Make a discord bot.
- [x] Add an image generation model.
- [x] Add more models.
## 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](https://github.com/Ruu3f/freeGPT-discord-bot).
## Examples:
**Text Completion:**
```python
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:**
```python
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:
[![Star History Chart](https://api.star-history.com/svg?repos=Ruu3f/freeGPT&type=Date)](https://github.com/Ruu3f/freeGPT/stargazers)
Raw data
{
"_id": null,
"home_page": "https://github.com/Ruu3f/freeGPT",
"name": "freeGPT",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "natural-language-processing,artificial-intelligence,machine-learning,deep-learning,gpt4free,gpt4all,freegpt,chatgpt,python,llama,llm,nlp,gpt,ai",
"author": "Ruu3f",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a7/0c/72dee996f181bddf907e077f5f2434807f77bea6a4f240cf5635ae59b6db/freeGPT-1.3.2.tar.gz",
"platform": null,
"description": "[![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## Getting Started:\r\n\r\n```\r\npython -m pip install -U freeGPT\r\n```\r\n\r\nJoin my [Discord server](https://dsc.gg/devhub-rsgh) for live chat, support, or if you have any issues with this package.\r\n\r\n## Sources:\r\n\r\n### Text Generation:\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| alpaca_7b | [chatllama.baseten.co](https://chatllama.baseten.co/) |\r\n| falcon_40b | [gpt-gm.h2o.ai](https://gpt-gm.h2o.ai/) |\r\n\r\n### Image Generation:\r\n| Model | Website |\r\n| ------------ | ------------------------------------------- |\r\n| prodia | [prodia.com](https://prodia.com/) |\r\n| pollinations | [pollinations.ai](https://pollinations.ai/) |\r\n\r\n\r\n## Support this repository:\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- \ud83c\udf89 **Join my Discord Server:** Chat with me and others. [Join here](https://dsc.gg/devhub-rsgh):\r\n\r\n[![DiscordWidget](https://discordapp.com/api/guilds/1137347499414278204/widget.png?style=banner2)](https://dsc.gg/devhub-rsgh)\r\n\r\n## TODO List:\r\n\r\n- [x] Make the library well-documented.\r\n- [x] Make the overall library easier to use.\r\n- [x] Make the overall library easier to understand.\r\n- [x] Add a non-GPT model.\r\n- [x] Make a discord bot.\r\n- [x] Add an image generation model.\r\n- [x] Add more models.\r\n\r\n## Discord bot:\r\n- This bot has all the models in this repository available.\r\n- It's interactive, overall fast, and easy to use.\r\n- And lastly, it's [open-sourced](https://github.com/Ruu3f/freeGPT-discord-bot).\r\n\r\n## Examples:\r\n\r\n**Text Completion:**\r\n```python\r\nimport freeGPT\r\nfrom asyncio import run\r\n\r\n\r\nasync def main():\r\n while True:\r\n prompt = input(\"\ud83d\udc66: \")\r\n try:\r\n resp = await getattr(freeGPT, \"MODEL NAME\").Completion().create(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\nrun(main())\r\n```\r\n\r\n**Image Generation:**\r\n```python\r\nimport freeGPT\r\nfrom PIL import Image\r\nfrom io import BytesIO\r\nfrom asyncio import run\r\n\r\n\r\nasync def main():\r\n while True:\r\n prompt = input(\"\ud83d\udc66: \")\r\n try:\r\n resp = await getattr(freeGPT, \"MODEL NAME\").Generation().create(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\nrun(main())\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&type=Date)](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.2",
"project_urls": {
"Homepage": "https://github.com/Ruu3f/freeGPT",
"Source": "https://github.com/Ruu3f/freeGPT"
},
"split_keywords": [
"natural-language-processing",
"artificial-intelligence",
"machine-learning",
"deep-learning",
"gpt4free",
"gpt4all",
"freegpt",
"chatgpt",
"python",
"llama",
"llm",
"nlp",
"gpt",
"ai"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af90fad651964a8a2dab1b4fac9c29e3f0844b32a0cb48493fa5d67dae8a8d51",
"md5": "8e6b3130363d999f9cd06284a1917611",
"sha256": "6fa80a0aa68b7318345b2d505e233169d81a8e9e4c56375a18556296ef2bf1c4"
},
"downloads": -1,
"filename": "freeGPT-1.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8e6b3130363d999f9cd06284a1917611",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 20599,
"upload_time": "2023-08-29T10:32:16",
"upload_time_iso_8601": "2023-08-29T10:32:16.094576Z",
"url": "https://files.pythonhosted.org/packages/af/90/fad651964a8a2dab1b4fac9c29e3f0844b32a0cb48493fa5d67dae8a8d51/freeGPT-1.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a70c72dee996f181bddf907e077f5f2434807f77bea6a4f240cf5635ae59b6db",
"md5": "f703a2ff8c3d707e68bb4baefe8ee9cc",
"sha256": "6d85e0d636f2f206753b3fb3423af358e917d58385a32198728ffbeb0f4cdb14"
},
"downloads": -1,
"filename": "freeGPT-1.3.2.tar.gz",
"has_sig": false,
"md5_digest": "f703a2ff8c3d707e68bb4baefe8ee9cc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 19774,
"upload_time": "2023-08-29T10:32:18",
"upload_time_iso_8601": "2023-08-29T10:32:18.041390Z",
"url": "https://files.pythonhosted.org/packages/a7/0c/72dee996f181bddf907e077f5f2434807f77bea6a4f240cf5635ae59b6db/freeGPT-1.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-29 10:32:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ruu3f",
"github_project": "freeGPT",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "freegpt"
}