1717
1818from __future__ import annotations
1919
20- from typing_extensions import Literal , Required , Annotated , TypedDict
21-
22- from .._utils import PropertyInfo
20+ from typing_extensions import Literal , Required , TypedDict
2321
2422__all__ = ["ImageResponseFormatParam" ]
2523
@@ -29,17 +27,16 @@ class ImageResponseFormatParam(TypedDict, total=False):
2927
3028 type : Required [Literal ["image" ]]
3129
32- aspect_ratio : Annotated [
33- Literal ["1:1" , "2:3" , "3:2" , "3:4" , "4:3" , "4:5" , "5:4" , "9:16" , "16:9" , "21:9" , "1:8" , "8:1" , "1:4" , "4:1" ],
34- PropertyInfo (alias = "aspectRatio" ),
30+ aspect_ratio : Literal [
31+ "1:1" , "2:3" , "3:2" , "3:4" , "4:3" , "4:5" , "5:4" , "9:16" , "16:9" , "21:9" , "1:8" , "8:1" , "1:4" , "4:1"
3532 ]
3633 """The aspect ratio for the image output."""
3734
3835 delivery : Literal ["inline" , "url" ]
3936 """The delivery mode for the image output."""
4037
41- image_size : Annotated [ Literal ["512" , "1K" , "2K" , "4K" ], PropertyInfo ( alias = "imageSize" ) ]
38+ image_size : Literal ["512" , "1K" , "2K" , "4K" ]
4239 """The size of the image output."""
4340
44- mime_type : Annotated [ Literal ["image/jpeg" ], PropertyInfo ( alias = "mimeType" ) ]
41+ mime_type : Literal ["image/jpeg" ]
4542 """The MIME type of the image output."""
0 commit comments