You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add input fidelity parameter for image editing
* fix: update import statement for CorsRule in AzureBlobStorageService
* fix: clear existing CORS rules before setting new ones in AzureBlobStorageService
* feat: add image dimensions to metadata and enhance image handling in AzureBlobStorageService
description="Input fidelity setting for image editing: 'low' (default, faster), 'high' (better reproduction of input image features, additional cost). Only available for image editing operations.",
99
+
examples=["low", "high"])
100
+
101
+
@validator('input_fidelity')
102
+
defvalidate_input_fidelity(cls, v):
103
+
ifvisnotNoneandvnotin ["low", "high"]:
104
+
raiseValueError("input_fidelity must be either 'low' or 'high'")
105
+
returnv
106
+
96
107
97
108
classInputTokensDetails(BaseModel):
98
109
"""Details about input tokens for image generation"""
0 commit comments