go-openai
go-openai copied to clipboard
ImageEditRequest、ImageVariRequest 可以不使用 *os.File 么
ImageEditRequest、ImageVariRequest 可以不使用 *os.File 么
能使用io.Reader接口么,可以通用。有时候图片是在网络的,不想保存本地,然后还要清理。维护本地文件太麻烦,想在内存中直接读取后上传。
+1 I'm facing the same issue (assuming Google translate is correct 😅).