Image Generation

Generate images using the Dall-E API with a given prompt.

This module requires a Premium Subscription to function.

The Image Generation module allows users to trigger a command to send a request to the Dall-E API to generate a imaged based off of the prompts the user inputs while using the command.

Credentials Setup

  1. Click here to get started. Log into OpenAI. If you haven't already, Open AI might ask you to verify your phone number before proceeding.

  1. Once you logged in, click on the "Create new secret key button.

  1. This will prompt you to make a key. Set Owned by "You" and give your app a name. Set the "Permissions" to all. Once done, click on "Create Secret Key"

  1. Copy your key. Make sure to not share it with anyone.

  1. Paste your key into the BotGhost Dashboard in the OpenAI API Key field.

Settings

In this area you can configure the main settings for the image generation module.

OpenAI API Key

In this field is where you will need to enter your OpenAI API key to be able to use the module, you can follow this guide here, to generate your own API key.

Generate Multiple Variations

With this toggle you can enable / disable the option for the bot to generate multiple variations of the image, this will allow you to see multiple versions with one trigger.

Default Image Size

You can choose the image size from one of the following options:

  • 1024x1024 Pixels

  • 512x512 Pixels

  • 256x256 Pixels


Commands

In this area, you can view and modify the commands of the Image Generation module. Below you may find some information on each command of the module.

/imagine

Upon being triggered this command generates the image(s) based upon the prompts you submit, here you can edit the command to add additional features or expand on the base module.


It's advised that you do not edit the commands and events unless you have a good understanding of BotGhost and its Command Builder. If you encounter any issues, you might want to reset the module for it to work again as intended.

Additionally, a copy of the edited commands / events will be created if you update the module.

Last updated