How to display an image generated by assistant?

Hey. I’mm building a chatbot with openai api with node.js. I want the assistant to generate an image, but got “file-Ys4iTbiE1Cx4gkQVGuVC0xy2” as a response. Tell me please how to display this thing on frontned?

2 Likes

Hello. Assistants do not generate images. For you to be able to generate an image, you must call Dalle 3, so you create an assistant, then you make a call to Dalle and you can create your images

They do generate images through code analysis. Like graphs etc.

2 Likes