feat: add quality parameter for DALL-E image generation
This commit is contained in:
@@ -325,7 +325,8 @@ export async function generateAIImage(genPrompt:string, currentChar:character, n
|
|||||||
"prompt": genPrompt,
|
"prompt": genPrompt,
|
||||||
"model": "dall-e-3",
|
"model": "dall-e-3",
|
||||||
"response_format": "b64_json",
|
"response_format": "b64_json",
|
||||||
"style": "natural"
|
"style": "natural",
|
||||||
|
"quality": db.dallEQuality || 'standard'
|
||||||
},
|
},
|
||||||
headers: {
|
headers: {
|
||||||
"Authorization": "Bearer " + db.openAIKey
|
"Authorization": "Bearer " + db.openAIKey
|
||||||
|
|||||||
Reference in New Issue
Block a user