Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helpingai/vortex
VortexGPT provides free access to text and image generation models.
https://github.com/helpingai/vortex
ai artificial-intelligence deep-learning free gpt gpt3 gpt4 llama nlp-machine-learning python vortexgpt
Last synced: 23 days ago
JSON representation
VortexGPT provides free access to text and image generation models.
- Host: GitHub
- URL: https://github.com/helpingai/vortex
- Owner: HelpingAI
- License: gpl-3.0
- Created: 2024-01-12T11:04:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-12T12:58:23.000Z (10 months ago)
- Last Synced: 2024-10-18T00:21:45.379Z (28 days ago)
- Topics: ai, artificial-intelligence, deep-learning, free, gpt, gpt3, gpt4, llama, nlp-machine-learning, python, vortexgpt
- Language: Python
- Homepage: https://pypi.org/project/VortexGPT/
- Size: 30.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VortexGPT
VortexGPT provides free access to text and image generation models.
## Getting Started:
python -m pip install -U VortexGPT
Join my [Discord server](https://discord.gg/hf99YvT8qX ) for live chat, support, or if you have any issues with this package.
## Sources:
| 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/) |
| prodia | [prodia.com](https://prodia.com/) |
| pollinations | [pollinations.ai](https://pollinations.ai/) |
| more | comming soon |
## Support this repository:- 🎉 **Join my Discord Server:** Chat with me and others. [Join here](https://discord.gg/hf99YvT8qX ):
[![DiscordWidget](https://discordapp.com/api/guilds/1076407776403787796/widget.png?style=banner2)](https://discord.gg/hf99YvT8qX)
## Examples:
### Text Completion:
**Async:**
```python
from VortexGPT import AsyncClient
from asyncio import runasync def main():
while True:
prompt = input("👦: ")
try:
resp = await AsyncClient.create_completion("MODEL", prompt)
print(f"🤖: {resp}")
except Exception as e:
print(f"🤖: {e}")run(main())
```**Non-Async:**
```python
from VortexGPT import Clientwhile True:
prompt = input("👦: ")
try:
resp = Client.create_completion("MODEL", prompt)
print(f"🤖: {resp}")
except Exception as e:
print(f"🤖: {e}")
```### Image Generation:
**Async:**
```python
from VortexGPT import AsyncClient
from PIL import Image
from io import BytesIO
from asyncio import runasync def main():
while True:
prompt = input("👦: ")
try:
resp = await AsyncClient.create_generation("MODEL", prompt)
Image.open(BytesIO(resp)).show()
print(f"🤖: Image shown.")
except Exception as e:
print(f"🤖: {e}")run(main())
```**Non-Async:**
```python
from VortexGPT 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}")
```