diff --git a/src/openai/types/responses/response_input_item.py b/src/openai/types/responses/response_input_item.py index af3ce5bdc9..03cb674bdb 100644 --- a/src/openai/types/responses/response_input_item.py +++ b/src/openai/types/responses/response_input_item.py @@ -184,6 +184,21 @@ class ImageGenerationCall(BaseModel): type: Literal["image_generation_call"] """The type of the image generation call. Always `image_generation_call`.""" + background: Optional[Literal["transparent", "opaque", "auto"]] = None + """The background setting used for the generated image.""" + + output_format: Optional[Literal["png", "webp", "jpeg"]] = None + """The output format of the generated image.""" + + quality: Optional[Literal["low", "medium", "high", "auto"]] = None + """The quality setting used for the generated image.""" + + revised_prompt: Optional[str] = None + """The revised prompt that was used to generate the image, if applicable.""" + + size: Optional[Literal["1024x1024", "1024x1536", "1536x1024", "auto"]] = None + """The size of the generated image.""" + class LocalShellCallAction(BaseModel): """Execute a shell command on the server.""" diff --git a/src/openai/types/responses/response_input_item_param.py b/src/openai/types/responses/response_input_item_param.py index 87ea1bc572..41ae062c9e 100644 --- a/src/openai/types/responses/response_input_item_param.py +++ b/src/openai/types/responses/response_input_item_param.py @@ -185,6 +185,21 @@ class ImageGenerationCall(TypedDict, total=False): type: Required[Literal["image_generation_call"]] """The type of the image generation call. Always `image_generation_call`.""" + background: Optional[Literal["transparent", "opaque", "auto"]] + """The background setting used for the generated image.""" + + output_format: Optional[Literal["png", "webp", "jpeg"]] + """The output format of the generated image.""" + + quality: Optional[Literal["low", "medium", "high", "auto"]] + """The quality setting used for the generated image.""" + + revised_prompt: Optional[str] + """The revised prompt that was used to generate the image, if applicable.""" + + size: Optional[Literal["1024x1024", "1024x1536", "1536x1024", "auto"]] + """The size of the generated image.""" + class LocalShellCallAction(TypedDict, total=False): """Execute a shell command on the server.""" diff --git a/src/openai/types/responses/response_item.py b/src/openai/types/responses/response_item.py index 721bf02ecb..4bd6fd9943 100644 --- a/src/openai/types/responses/response_item.py +++ b/src/openai/types/responses/response_item.py @@ -54,6 +54,21 @@ class ImageGenerationCall(BaseModel): type: Literal["image_generation_call"] """The type of the image generation call. Always `image_generation_call`.""" + background: Optional[Literal["transparent", "opaque", "auto"]] = None + """The background setting used for the generated image.""" + + output_format: Optional[Literal["png", "webp", "jpeg"]] = None + """The output format of the generated image.""" + + quality: Optional[Literal["low", "medium", "high", "auto"]] = None + """The quality setting used for the generated image.""" + + revised_prompt: Optional[str] = None + """The revised prompt that was used to generate the image, if applicable.""" + + size: Optional[Literal["1024x1024", "1024x1536", "1536x1024", "auto"]] = None + """The size of the generated image.""" + class LocalShellCallAction(BaseModel): """Execute a shell command on the server.""" diff --git a/src/openai/types/responses/response_output_item.py b/src/openai/types/responses/response_output_item.py index a4b23f26fd..eece17d26b 100644 --- a/src/openai/types/responses/response_output_item.py +++ b/src/openai/types/responses/response_output_item.py @@ -53,6 +53,21 @@ class ImageGenerationCall(BaseModel): type: Literal["image_generation_call"] """The type of the image generation call. Always `image_generation_call`.""" + background: Optional[Literal["transparent", "opaque", "auto"]] = None + """The background setting used for the generated image.""" + + output_format: Optional[Literal["png", "webp", "jpeg"]] = None + """The output format of the generated image.""" + + quality: Optional[Literal["low", "medium", "high", "auto"]] = None + """The quality setting used for the generated image.""" + + revised_prompt: Optional[str] = None + """The revised prompt that was used to generate the image, if applicable.""" + + size: Optional[Literal["1024x1024", "1024x1536", "1536x1024", "auto"]] = None + """The size of the generated image.""" + class LocalShellCallAction(BaseModel): """Execute a shell command on the server."""