tamar-model-client 0.2.1__py3-none-any.whl → 0.2.2__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.
@@ -138,7 +138,7 @@ class OpenAIImagesInput(BaseModel):
138
138
  output_compression: Optional[int] | NotGiven = NOT_GIVEN
139
139
  output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
140
140
  partial_images: Optional[int] | NotGiven = NOT_GIVEN,
141
- quality: Literal["standard", "hd"] | 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
@@ -166,7 +166,7 @@ class OpenAIImagesEditInput(BaseModel):
166
166
  output_compression: Optional[int] | NotGiven = NOT_GIVEN,
167
167
  output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN,
168
168
  partial_images: Optional[int] | NotGiven = NOT_GIVEN,
169
- quality: Optional[Literal["standard", "low", "medium", "high", "auto"]] | 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
172
  stream: Optional[Literal[False]] | Literal[True] | NotGiven = NOT_GIVEN,
@@ -248,6 +248,11 @@ class ModelRequestInput(BaseRequest):
248
248
  image: Optional[Union[FileTypes, List[FileTypes]]] = None
249
249
  prompt: Optional[str] = None
250
250
  background: Optional[Literal["transparent", "opaque", "auto"]] | NotGiven = NOT_GIVEN
251
+ moderation: Optional[Literal["low", "auto"]] | NotGiven = NOT_GIVEN
252
+ input_fidelity: Optional[Literal["high", "low"]] | NotGiven = NOT_GIVEN,
253
+ output_compression: Optional[int] | NotGiven = NOT_GIVEN
254
+ output_format: Optional[Literal["png", "jpeg", "webp"]] | NotGiven = NOT_GIVEN
255
+ partial_images: Optional[int] | NotGiven = NOT_GIVEN,
251
256
  mask: FileTypes | NotGiven = NOT_GIVEN
252
257
  negative_prompt: Optional[str] = None
253
258
  aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4:3", "3:4"]] = None
@@ -257,7 +262,7 @@ class ModelRequestInput(BaseRequest):
257
262
  add_watermark: Optional[bool] = None
258
263
  safety_filter_level: Optional[Literal["block_most", "block_some", "block_few", "block_fewest"]] = None
259
264
  person_generation: Optional[Literal["dont_allow", "allow_adult", "allow_all"]] = None
260
- quality: Optional[Literal["standard", "hd"]] | NotGiven = NOT_GIVEN
265
+ quality: Optional[Literal["standard", "hd", "low", "medium", "high", "auto"]] | NotGiven = NOT_GIVEN,
261
266
  size: Optional[Literal[
262
267
  "auto", "1024x1024", "1536x1024", "1024x1536", "256x256", "512x512", "1792x1024", "1024x1792"]] | NotGiven = NOT_GIVEN
263
268
  style: Optional[Literal["vivid", "natural"]] | NotGiven = NOT_GIVEN
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tamar-model-client
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A Python SDK for interacting with the Model Manager gRPC service
5
5
  Home-page: http://gitlab.tamaredge.top/project-tap/AgentOS/model-manager-client
6
6
  Author: Oscar Ou
@@ -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=vrBym9ywj0Zp9vegp-t6EWDnBiI_bAIQVWYhOY7Vh1A,14892
27
+ tamar_model_client/schemas/inputs.py,sha256=G4u-agGT6-Vrajef6eRh2AI8R4_RtyEYO0bf-RHIDM4,15333
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.1.dist-info/METADATA,sha256=sB0xQbFo6EAeT8ALLXbE9HEB4sQz9u8fdJMswLKMnAQ,41309
36
- tamar_model_client-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- tamar_model_client-0.2.1.dist-info/top_level.txt,sha256=f1I-S8iWN-cgv4gB8gxRg9jJOTJMumvm4oGKVPfGg6A,25
38
- tamar_model_client-0.2.1.dist-info/RECORD,,
35
+ tamar_model_client-0.2.2.dist-info/METADATA,sha256=xWKam6DjXzqw64ZF1WKqbLZxkapEN8GINU4hbkV5jzU,41309
36
+ tamar_model_client-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ tamar_model_client-0.2.2.dist-info/top_level.txt,sha256=f1I-S8iWN-cgv4gB8gxRg9jJOTJMumvm4oGKVPfGg6A,25
38
+ tamar_model_client-0.2.2.dist-info/RECORD,,