Skip to content

Commit

Permalink
Adding readme for slack and stable diffusion
Browse files Browse the repository at this point in the history
changing png to jpg in stable diffusion doc
  • Loading branch information
TransformerOptimus committed Jun 22, 2023
1 parent 7060714 commit dde1b51
Show file tree
Hide file tree
Showing 14 changed files with 111 additions and 0 deletions.
54 changes: 54 additions & 0 deletions superagi/tools/image_generation/README.STABLE_DIFFUSION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<p align=center>

<a href=”https://superagi.co”><img src=https://superagi.co/wp-content/uploads/2023/05/SuperAGI_icon.png></a>

</p>

## SuperAGI Stable Diffusion Toolkit

Introducing Stable Diffusion Integration with SuperAGI

You can now use SuperAGI to summon Stable Diffusion to create true-to-life images and opens up a whole new range of possibilities.

# ⚙️ Installation

## 🛠️ Setting up SuperAGI

Set-up SuperAGI by following the instruction given [here](https://github.com/TransformerOptimus/SuperAGI/blob/main/README.MD)

## 🔧Configuring API from DreamStudio

You can now get your API Key from Dream Studio to use Stable Diffusion by following the instructions below:

1. Create an Account/Login with [DreamStudio.ai](http://DreamStudio.ai)

![SD_1](README/SD_1.jpg)

1. Click on the Profile Icon at the top right which will take you to the settings page. Once you have reached the settings page, you can now get your API keys

![SD_2](README/SD_2.jpg)

1. Copy the API Key and save it in a separate file.

## 🛠️Configuring Stable Diffusion with SuperAGI

You can configure SuperAGI with Stable Diffusion using the following steps:

1. Navigate to the “****************Toolkit”**************** Page in SuperAGI’s Dashboard and select “****************Image Generation Toolkit”****************

![SD_3](README/SD_3.jpg)

1. Once you’ve clicked Image Generation Toolkit, it will open a page asking you for the API Key and the Model Engine. You can enter the generated API key from Dream Studio here.

![SD_4](README/SD_4.jpg)
3. If you would like to get more in-depth with the model of Stable Diffusion you’d like to use, you can choose between the following engine IDs:

- 'stable-diffusion-v1'
- 'stable-diffusion-v1-5'
- 'stable-diffusion-512-v2-0'
- 'stable-diffusion-768-v2-0'
- 'stable-diffusion-512-v2-1'
- ’stable-diffusion-768-v2-1'
- 'stable-diffusion-xl-beta-v2-2-2’

You have now successfully configured Stable Diffusion with SuperAGI!
Binary file added superagi/tools/image_generation/README/SD_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/image_generation/README/SD_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/image_generation/README/SD_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/image_generation/README/SD_4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions superagi/tools/slack/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<p align=center>
<a href=”https://superagi.co”><img src=https://superagi.co/wp-content/uploads/2023/05/SuperAGI_icon.png></a>
</p>

# SuperAGI Slack Toolkit

This SuperAGI Tool lets users send messages to Slack Channels and provides a strong foundation for use cases to come.

**Features:**

1. Send Message - This tool gives SuperAGI the ability to send messages to Slack Channels that you have specified.

## 🛠️ Installation

Setting up of SuperAGI:

Set up the SuperAGI by following the instructions given (https://github.com/TransformerOptimus/SuperAGI/blob/main/README.MD)

### 🔧 **Slack Configuration:**

1. Create an Application on SlackAPI Portal

![Slack_1](/README/Slack_1.png)

2. Select "from scratch"

![Slack_2](README/Slack_2.png)

3. Add your application's name and the workspace for which you'd like to use your Slack Application on

![Slack_3](README/Slack_3.png)

4. Once the app creation process is done, head to the "OAuth and Permissions" tab

![Slack_4](README/Slack_4.png)

5. Find the “**bot token scopes”** and define the following scopes:

**"chat:write",**  and save it

![Slack_5](README/Slack_5.png)

6. Once you've defined the scope, install the application to your workspace.


![Slack_6](README/Slack_6.png)

7. Post installation, you will get the bot token code


![Slack_7](README/Slack_7.png)

8. Once the installation is done, you'll get the Bot User OAuth Token, which needs to be added in the config.yaml beside the **"slack_bot_token"** variable.

![Slack_8](README/Slack_8.png)

Once the configuration is complete, you can install the app in the channel of your choice and create an agent on SuperAGI which can now send messages to the Slack Channel!
Binary file added superagi/tools/slack/README/Slack_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added superagi/tools/slack/README/Slack_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dde1b51

Please sign in to comment.