together 1.5.28__py3-none-any.whl → 1.5.29__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.
@@ -21,7 +21,6 @@ class Images:
21
21
  *,
22
22
  prompt: str,
23
23
  model: str,
24
- steps: int | None = 20,
25
24
  seed: int | None = None,
26
25
  n: int | None = 1,
27
26
  height: int | None = 1024,
@@ -37,8 +36,6 @@ class Images:
37
36
 
38
37
  model (str, optional): The model to use for image generation.
39
38
 
40
- steps (int, optional): Number of generation steps. Defaults to 20
41
-
42
39
  seed (int, optional): Seed used for generation. Can be used to reproduce image generations.
43
40
  Defaults to None.
44
41
 
@@ -51,7 +48,8 @@ class Images:
51
48
  negative_prompt (str, optional): The prompt or prompts not to guide the image generation.
52
49
  Defaults to None
53
50
 
54
- image_base64: (str, optional): Reference image used for generation. Defaults to None.
51
+ **kwargs: Additional parameters like steps (int, optional): Number of generation steps,
52
+ image_base64 (str, optional): Reference image used for generation, etc.
55
53
 
56
54
  Returns:
57
55
  ImageResponse: Object containing image data
@@ -64,7 +62,6 @@ class Images:
64
62
  parameter_payload = ImageRequest(
65
63
  prompt=prompt,
66
64
  model=model,
67
- steps=steps,
68
65
  seed=seed,
69
66
  n=n,
70
67
  height=height,
@@ -96,7 +93,6 @@ class AsyncImages:
96
93
  *,
97
94
  prompt: str,
98
95
  model: str,
99
- steps: int | None = 20,
100
96
  seed: int | None = None,
101
97
  n: int | None = 1,
102
98
  height: int | None = 1024,
@@ -112,8 +108,6 @@ class AsyncImages:
112
108
 
113
109
  model (str, optional): The model to use for image generation.
114
110
 
115
- steps (int, optional): Number of generation steps. Defaults to 20
116
-
117
111
  seed (int, optional): Seed used for generation. Can be used to reproduce image generations.
118
112
  Defaults to None.
119
113
 
@@ -126,7 +120,8 @@ class AsyncImages:
126
120
  negative_prompt (str, optional): The prompt or prompts not to guide the image generation.
127
121
  Defaults to None
128
122
 
129
- image_base64: (str, optional): Reference image used for generation. Defaults to None.
123
+ **kwargs: Additional parameters like steps (int, optional): Number of generation steps,
124
+ image_base64 (str, optional): Reference image used for generation, etc.
130
125
 
131
126
  Returns:
132
127
  ImageResponse: Object containing image data
@@ -139,7 +134,6 @@ class AsyncImages:
139
134
  parameter_payload = ImageRequest(
140
135
  prompt=prompt,
141
136
  model=model,
142
- steps=steps,
143
137
  seed=seed,
144
138
  n=n,
145
139
  height=height,
together/types/images.py CHANGED
@@ -10,8 +10,6 @@ class ImageRequest(BaseModel):
10
10
  prompt: str
11
11
  # model to query
12
12
  model: str
13
- # num generation steps
14
- steps: int | None = 20
15
13
  # seed
16
14
  seed: int | None = None
17
15
  # number of results to return
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: together
3
- Version: 1.5.28
3
+ Version: 1.5.29
4
4
  Summary: Python client for Together's Cloud Platform!
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -40,7 +40,7 @@ together/resources/endpoints.py,sha256=_UoNSknG7aK0jOcxBPcq21KYpWsNFCfNePUWGMOUj
40
40
  together/resources/evaluation.py,sha256=eYSs9HUpW51XZjX-yNlFZlLapsuEDINJ8BjxJoYa4U0,31443
41
41
  together/resources/files.py,sha256=_uK5xzriXNOGNw3tQGuTbCaxBRo6Az6_cXOUtBNFzDk,5434
42
42
  together/resources/finetune.py,sha256=VeMyPG-PA16d2UAzqNTQEAKBgMvVApj97lTAHEuR0kc,44890
43
- together/resources/images.py,sha256=LQUjKPaFxWTqOAPnyF1Pp7Rz4NLOYhmoKwshpYiprEM,4923
43
+ together/resources/images.py,sha256=FHXkcnzyj2JLw4YF1NH56hgISEeCO0Sg_SvTCcTJaOo,4831
44
44
  together/resources/models.py,sha256=WpP-x25AXYpmu-VKu_X4Up-zHwpWBBvPRpbV4FsWQrU,8266
45
45
  together/resources/rerank.py,sha256=3Ju_aRSyZ1s_3zCSNZnSnEJErUVmt2xa3M8z1nvejMA,3931
46
46
  together/resources/videos.py,sha256=Dn7vslH1pZVw4WYvH-69fjzqLZdKHkTK-lIbFkxh0w0,11144
@@ -59,7 +59,7 @@ together/types/error.py,sha256=OVlCs3cx_2WhZK4JzHT8SQyRIIqKOP1AZQ4y1PydjAE,370
59
59
  together/types/evaluation.py,sha256=9gCAgzAwFD95MWnSgvxnSYFF27wKOTqIGn-wSOpFt2M,2385
60
60
  together/types/files.py,sha256=XCimmKDaSEEfavOtp0UH-ZrRxrmHoCTYLlmmhshbr7A,1994
61
61
  together/types/finetune.py,sha256=EQAJVXqK1Ne2V2dCfUiJgOwK9_x_7TwQRrjWavap698,11396
62
- together/types/images.py,sha256=xnC-FZGdZU30WSFTybfGneWxb-kj0ZGufJsgHtB8j0k,980
62
+ together/types/images.py,sha256=IsrmIM2FVeG-kP4vhZUx5fG5EhOJ-d8fefrAmOVKNDs,926
63
63
  together/types/models.py,sha256=V8bcy1c3uTmqwnTVphbYLF2AJ6l2P2724njl36TzfHQ,2878
64
64
  together/types/rerank.py,sha256=qZfuXOn7MZ6ly8hpJ_MZ7OU_Bi1-cgYNSB20Wja8Qkk,1061
65
65
  together/types/videos.py,sha256=KCLk8CF0kbA_51qnHOzAWg5VA6HTlwnY-sTZ2lUR0Eo,1861
@@ -69,8 +69,8 @@ together/utils/api_helpers.py,sha256=2K0O6qeEQ2zVFvi5NBN5m2kjZJaS3-JfKFecQ7SmGaw
69
69
  together/utils/files.py,sha256=Zqw1MA0CbnpkiGWSMk0DtRUFzf7-kWDE1OgzGWinbV4,20671
70
70
  together/utils/tools.py,sha256=H2MTJhEqtBllaDvOyZehIO_IVNK3P17rSDeILtJIVag,2964
71
71
  together/version.py,sha256=p03ivHyE0SyWU4jAnRTBi_sOwywVWoZPU4g2gzRgG-Y,126
72
- together-1.5.28.dist-info/METADATA,sha256=N3_xshiZVte8P8a_tm_e6qENYytCn9RpwuQvpC4mTZg,16543
73
- together-1.5.28.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
74
- together-1.5.28.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
75
- together-1.5.28.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
76
- together-1.5.28.dist-info/RECORD,,
72
+ together-1.5.29.dist-info/METADATA,sha256=yLeO8uZwv8i_NRwE5JggFgN-OdpWvLMsAqj2OiB16JQ,16543
73
+ together-1.5.29.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
74
+ together-1.5.29.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
75
+ together-1.5.29.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
76
+ together-1.5.29.dist-info/RECORD,,