Skip to content

[FEATURE REQ] OpenAI: Make output of ImageGenerationCall consistent with ImageGeneration response #722

@ericstj

Description

@ericstj

Describe the feature or improvement you are requesting

When generating an image through the responses API very little information is available with the image.
https://platform.openai.com/docs/api-reference/responses/object

Contrast that to the image generation API where much is available:
https://platform.openai.com/docs/api-reference/images/object

output_format in particular is most important since it determines how the data can be interpreted - what it's mime-type or file extensions should be. I can see that this information is provided by the response, but it's undocumented as being avaialble.

While some of this information is documented as supported on the request, it might also be not be provided and left to whatever the default is for the model. There is no way to discover this default as a client. As a result we end up hardcoding things that might change.

Additional context

See discussion in #702 (comment)

Metadata

Metadata

Assignees

Labels

area: responsesThis item is related to Responsesblocked: specThis issue is blocked on a needed REST API spec update.feature-requestCategory: A new feature or enhancement to an existing feature is being requested.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions