jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.56k stars 307 forks source link

[Feature request]: Add support for image generation/editing models #386

Open rensftw opened 5 months ago

rensftw commented 5 months ago

It would be really cool to support image generation and/or image editing models via this plugin. For example: dall-e-2 and dall-e-3 reuse the same OpenAI API key as regular GPT models. (docs).

Currently, when I manually set the model setting to dall-e-3 I get this response: image But I am successfully generating an image if I manually query OpenAI via curl image

Proposal: