https://github.com/klima7/signal-dalle
Bot for signal which responds with DALL-E generated images
https://github.com/klima7/signal-dalle
bot dall-e images openai signal
Last synced: about 2 months ago
JSON representation
Bot for signal which responds with DALL-E generated images
- Host: GitHub
- URL: https://github.com/klima7/signal-dalle
- Owner: klima7
- Created: 2023-08-20T20:01:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-27T19:21:45.000Z (almost 3 years ago)
- Last Synced: 2023-08-27T20:37:19.968Z (almost 3 years ago)
- Topics: bot, dall-e, images, openai, signal
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Signal Dalle 💬
Signal bot to make using OpenAI DALL-E model easy.
Communication with DALL-E is done via Signal group conversation.
## Functions
- 🪄 **Generate image** - simply by writing message to group
- 🪄 **Generate image variations** - simply by sending image to group
- 🪄 **Generate image edit** - simply by sending image with caption. Draw with white pencil to specify mask.
## Setup
### Step 1: Connect with your signal account
Start containers using bellow command:
```
docker compose -f compose/docker-compose.connect.yml
```
Then visit `http://127.0.0.1:37899/v1/qrcodelink?device_name=`
Connect with your signal account using visible QR code.
This will create config directory containing your credentials.
### Step 2: Get group identifiers
Create `.env` file by copying `example.env`:
```
cp compose/example.env compose/.env
```
Inside `.env` fill your phone number and run bellow command:
```
docker compose -f compose/docker-compose.group.yml
```
Note `id` and `internal id` of group which You want to use and fill approprivate variables in `.env`
### Step 3: Launch bot
Fill remaining variables in `.env` and run bellow command.
```
docker compose -f compose/docker-compose.bot.yml
```