Skip to content

[FEATURE REQ] Missing data from GeneratedImage type #561

@ericstj

Description

@ericstj

Describe the bug

The OpenAI API describes the following properties on the Image response https://platform.openai.com/docs/api-reference/images/object

  • background
  • created
  • data
  • output_format
  • quality
  • size
  • usage

The only property exposed by the GeneratedImage type is data. output_format in particular is necessary for determining mime-type, but it seems like all the properties should be exposed.

Steps to reproduce

Use ImageClient to generate an image.

Code snippets

OS

Any

.NET version

.NET 8

Library version

2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    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