mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-21 06:35:02 +01:00
added dalle 3 and options
This commit is contained in:
@@ -324,6 +324,9 @@ class OpenAIHelper:
|
||||
response = await openai.Image.acreate(
|
||||
prompt=prompt,
|
||||
n=1,
|
||||
model=self.config['image_model'],
|
||||
quality=self.config['image_quality'],
|
||||
style=self.config['image_style'],
|
||||
size=self.config['image_size']
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user