Added multiple embed builders for multiple images
This commit is contained in:
@@ -14,6 +14,10 @@ const configuration = new Configuration({
|
||||
|
||||
const openai = new OpenAIApi(configuration);
|
||||
|
||||
// Global Vars for Other functions
|
||||
exports.DALLE_COLOR = 0x34c6eb;
|
||||
exports.CHATGPT_COLOR = 0x34eb9b;
|
||||
|
||||
async function getImageGeneration(_prompt, { _images_to_generate = 1, _image_size = "256x256" }, callback){
|
||||
const validImageSizes = ["256x256", "512x512", "1024x1024"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user