Skip to content

Support Dall-e-3 from the command line #1130

@fulldecent

Description

@fulldecent

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

Currently the default model for images.create is Dall-e-2.

Source: https://platform.openai.com/docs/api-reference/images/create

Screenshot 2024-02-06 at 14 48 58

But the command line does not support selecting a different model.

Source:

$ openai api images.generate

usage: openai api images.generate [-h] -p PROMPT [-n NUM_IMAGES] [-s SIZE] [--response-format RESPONSE_FORMAT]
openai api images.generate: error: the following arguments are required: -p/--prompt

Additional context

model: The model to use for image generation. Only `dall-e-2` is supported at this
time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions