Image Generation
Generate images using the Dall-E API with a given prompt.
Last updated
Generate images using the Dall-E API with a given prompt.
Last updated
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.
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.
Once you logged in, click on the "Create new secret key button.
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"
Copy your key. Make sure to not share it with anyone.
Paste your key into the BotGhost Dashboard in the OpenAI API Key field.
In this area you can configure the main settings for the image generation module.
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.
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.
You can choose the image size from one of the following options:
1024x1024 Pixels
512x512 Pixels
256x256 Pixels
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.
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.