Skip to content

Add all fields to ImageGenerationCall type #2649

@DouweM

Description

@DouweM

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

The code only lists a few:

class ImageGenerationCall(BaseModel):
id: str
"""The unique ID of the image generation call."""
result: Optional[str] = None
"""The generated image encoded in base64."""
status: Literal["in_progress", "completed", "generating", "failed"]
"""The status of the image generation call."""
type: Literal["image_generation_call"]
"""The type of the image generation call. Always `image_generation_call`."""

In reality there are more:

background: opaque
output_format: png
quality: high
revised_prompt: ...
size: 1024x1536

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions