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