try this for pics
This commit is contained in:
parent
7587029471
commit
c75d8a872e
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export class UserCommand extends Command {
|
||||||
const imageResponse = await openai.createImage({
|
const imageResponse = await openai.createImage({
|
||||||
prompt,
|
prompt,
|
||||||
n: 1,
|
n: 1,
|
||||||
size: '256x256'
|
size: '512x512'
|
||||||
});
|
});
|
||||||
|
|
||||||
const content = `Prompt: ${prompt}\nResult: ${imageResponse.data.data[0].url}` || 'ERROR!';
|
const content = `Prompt: ${prompt}\nResult: ${imageResponse.data.data[0].url}` || 'ERROR!';
|
||||||
|
|
Loading…
Add table
Reference in a new issue