tamar-model-client 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tamar_model_client/schemas/inputs.py +12 -12
- {tamar_model_client-0.2.2.dist-info → tamar_model_client-0.2.3.dist-info}/METADATA +1 -1
- {tamar_model_client-0.2.2.dist-info → tamar_model_client-0.2.3.dist-info}/RECORD +5 -5
- {tamar_model_client-0.2.2.dist-info → tamar_model_client-0.2.3.dist-info}/WHEEL +0 -0
- {tamar_model_client-0.2.2.dist-info → tamar_model_client-0.2.3.dist-info}/top_level.txt +0 -0
@@ -137,12 +137,12 @@ class OpenAIImagesInput(BaseModel):
|
|
137
137
|
n: Optional[int] | NotGiven = NOT_GIVEN
|
138
138
|
output_compression: Optional[int] | NotGiven = NOT_GIVEN
|
139
139
|
output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
|
140
|
-
partial_images: Optional[int] | NotGiven = NOT_GIVEN
|
141
|
-
quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
140
|
+
partial_images: Optional[int] | NotGiven = NOT_GIVEN
|
141
|
+
quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
142
142
|
response_format: Optional[Literal["url", "b64_json"]] | NotGiven = NOT_GIVEN
|
143
143
|
size: Optional[Literal[
|
144
144
|
"auto", "1024x1024", "1536x1024", "1024x1536", "256x256", "512x512", "1792x1024", "1024x1792"]] | NotGiven = NOT_GIVEN
|
145
|
-
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN
|
145
|
+
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN
|
146
146
|
style: Optional[Literal["vivid", "natural"]] | NotGiven = NOT_GIVEN
|
147
147
|
user: str | NotGiven = NOT_GIVEN
|
148
148
|
extra_headers: Headers | None = None
|
@@ -159,17 +159,17 @@ class OpenAIImagesEditInput(BaseModel):
|
|
159
159
|
image: Union[FileTypes, List[FileTypes]]
|
160
160
|
prompt: str
|
161
161
|
background: Optional[Literal["transparent", "opaque", "auto"]] | NotGiven = NOT_GIVEN
|
162
|
-
input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN
|
162
|
+
input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN
|
163
163
|
mask: FileTypes | NotGiven = NOT_GIVEN
|
164
164
|
model: Union[str, ImageModel, None] | NotGiven = NOT_GIVEN
|
165
165
|
n: Optional[int] | NotGiven = NOT_GIVEN
|
166
|
-
output_compression: Optional[int] | NotGiven = NOT_GIVEN
|
167
|
-
output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
|
168
|
-
partial_images: Optional[int] | NotGiven = NOT_GIVEN
|
169
|
-
quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
166
|
+
output_compression: Optional[int] | NotGiven = NOT_GIVEN
|
167
|
+
output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
|
168
|
+
partial_images: Optional[int] | NotGiven = NOT_GIVEN
|
169
|
+
quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
170
170
|
response_format: Optional[Literal["url", "b64_json"]] | NotGiven = NOT_GIVEN
|
171
171
|
size: Optional[Literal["256x256", "512x512", "1024x1024", "1536x1024", "1024x1536", "auto"]] | NotGiven = NOT_GIVEN
|
172
|
-
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN
|
172
|
+
stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN
|
173
173
|
user: str | NotGiven = NOT_GIVEN
|
174
174
|
extra_headers: Headers | None = None
|
175
175
|
extra_query: Query | None = None
|
@@ -249,10 +249,10 @@ class ModelRequestInput(BaseRequest):
|
|
249
249
|
prompt: Optional[str] = None
|
250
250
|
background: Optional[Literal["transparent", "opaque", "auto"]] | NotGiven = NOT_GIVEN
|
251
251
|
moderation: Optional[Literal["low", "auto"]] | NotGiven = NOT_GIVEN
|
252
|
-
input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN
|
252
|
+
input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN
|
253
253
|
output_compression: Optional[int] | NotGiven = NOT_GIVEN
|
254
254
|
output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
|
255
|
-
partial_images: Optional[int] | NotGiven = NOT_GIVEN
|
255
|
+
partial_images: Optional[int] | NotGiven = NOT_GIVEN
|
256
256
|
mask: FileTypes | NotGiven = NOT_GIVEN
|
257
257
|
negative_prompt: Optional[str] = None
|
258
258
|
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4:3", "3:4"]] = None
|
@@ -262,7 +262,7 @@ class ModelRequestInput(BaseRequest):
|
|
262
262
|
add_watermark: Optional[bool] = None
|
263
263
|
safety_filter_level: Optional[Literal["block_most", "block_some", "block_few", "block_fewest"]] = None
|
264
264
|
person_generation: Optional[Literal["dont_allow", "allow_adult", "allow_all"]] = None
|
265
|
-
quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
265
|
+
quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN
|
266
266
|
size: Optional[Literal[
|
267
267
|
"auto", "1024x1024", "1536x1024", "1024x1536", "256x256", "512x512", "1792x1024", "1024x1792"]] | NotGiven = NOT_GIVEN
|
268
268
|
style: Optional[Literal["vivid", "natural"]] | NotGiven = NOT_GIVEN
|
@@ -24,7 +24,7 @@ tamar_model_client/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
24
24
|
tamar_model_client/generated/model_service_pb2.py,sha256=RI6wNSmgmylzWPedFfPxx938UzS7kcPR58YTzYshcL8,3066
|
25
25
|
tamar_model_client/generated/model_service_pb2_grpc.py,sha256=k4tIbp3XBxdyuOVR18Ung_4SUryONB51UYf_uUEl6V4,5145
|
26
26
|
tamar_model_client/schemas/__init__.py,sha256=AxuI-TcvA4OMTj2FtK4wAItvz9LrK_293pu3cmMLE7k,394
|
27
|
-
tamar_model_client/schemas/inputs.py,sha256=
|
27
|
+
tamar_model_client/schemas/inputs.py,sha256=oG0VRZjKxjX1BQI28OrATB74ecxOH563zTIG5FLnzLg,15321
|
28
28
|
tamar_model_client/schemas/outputs.py,sha256=M_fcqUtXPJnfiLabHlyA8BorlC5pYkf5KLjXO1ysKIQ,1031
|
29
29
|
tests/__init__.py,sha256=kbmImddLDwdqlkkmkyKtl4bQy_ipe-R8eskpaBylU9w,38
|
30
30
|
tests/stream_hanging_analysis.py,sha256=W3W48IhQbNAR6-xvMpoWZvnWOnr56CTaH4-aORNBuD4,14807
|
@@ -32,7 +32,7 @@ tests/test_circuit_breaker.py,sha256=nhEBnyXFjIYjRWlUdu7Z9PnPq48ypbBK6fxN6deHedw
|
|
32
32
|
tests/test_google_azure_final.py,sha256=Cx2lfnoj48_7pUjpCYbrx6OLJF4cI79McV24_EYt_8s,55093
|
33
33
|
tests/test_logging_issue.py,sha256=JTMbotfHpAEPMBj73pOwxPn-Zn4QVQJX6scMz48FRDQ,2427
|
34
34
|
tests/test_simple.py,sha256=Xf0U-J9_xn_LzUsmYu06suK0_7DrPeko8OHoHldsNxE,7169
|
35
|
-
tamar_model_client-0.2.
|
36
|
-
tamar_model_client-0.2.
|
37
|
-
tamar_model_client-0.2.
|
38
|
-
tamar_model_client-0.2.
|
35
|
+
tamar_model_client-0.2.3.dist-info/METADATA,sha256=bpGjmVEpwzZ32L2MG7-v91ZTaym6Y9wGs48IaWGozJw,41309
|
36
|
+
tamar_model_client-0.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
37
|
+
tamar_model_client-0.2.3.dist-info/top_level.txt,sha256=f1I-S8iWN-cgv4gB8gxRg9jJOTJMumvm4oGKVPfGg6A,25
|
38
|
+
tamar_model_client-0.2.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|