#Facing issue while editing the image using openAI

1 messages · Page 1 of 1 (latest)

silent gulch
#

const response = await openai.images.createVariation({
image: file,
});

OR

let response = await openai.images.edit({
image: file,
prompt: ‘Convert this image into an AI Avatar’,
// n: 1,
// size: “1024x1024”,
// response_format: ‘b64_json’
})

Using this both function to create the image passing the buffer of the file
then also its not giving any output its just stuck on it

oblique coyote