Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rensftw opened this issue Feb 4, 2024 · 0 comments
Open

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

rensftw opened this issue Feb 4, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rensftw
Copy link

rensftw commented Feb 4, 2024

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:

  • By default the plugin's response to a prompt is to print the revised_prompt and the newly saved image path + filename.
  • By default the plugin saves all image responses to some location.
    • Default value for this download location is set via the config object.
    • Optionally this can be toggled off, and user will have to open URLs with gx to preview images.
  • When using dall-e-2/dall-e-3 the plugin can accept a new setting for the filesystem path where artifacts can be saved.
    • This way, you can use separate directories for different "visions" or projects
@jackMort jackMort added enhancement New feature or request help wanted Extra attention is needed labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants