try this for pics

This commit is contained in:
Atridad Lahiji 2023-06-23 20:07:25 -06:00
parent 7587029471
commit c75d8a872e
No known key found for this signature in database

View file

@ -48,7 +48,7 @@ export class UserCommand extends Command {
const imageResponse = await openai.createImage({
prompt,
n: 1,
size: '256x256'
size: '512x512'
});
const content = `Prompt: ${prompt}\nResult: ${imageResponse.data.data[0].url}` || 'ERROR!';