runwayml 3.13.0__tar.gz → 3.14.0__tar.gz
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.
- runwayml-3.14.0/.release-please-manifest.json +3 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/CHANGELOG.md +8 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/PKG-INFO +1 -1
- {runwayml-3.13.0 → runwayml-3.14.0}/pyproject.toml +1 -1
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_version.py +1 -1
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/image_to_video.py +2 -6
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/text_to_image.py +76 -4
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/image_to_video_create_params.py +1 -3
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/organization_retrieve_response.py +21 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/organization_retrieve_usage_response.py +18 -2
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/text_to_image_create_params.py +41 -3
- runwayml-3.13.0/.release-please-manifest.json +0 -3
- {runwayml-3.13.0 → runwayml-3.14.0}/.gitignore +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/CONTRIBUTING.md +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/LICENSE +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/README.md +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/SECURITY.md +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/api.md +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/bin/check-release-environment +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/bin/publish-pypi +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/examples/.keep +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/examples/generate_image.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/noxfile.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/release-please-config.json +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/requirements-dev.lock +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/requirements.lock +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/__init__.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_base_client.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_client.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_compat.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_constants.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_exceptions.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_files.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_models.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_qs.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_resource.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_streaming.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_types.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/__init__.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_compat.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_datetime_parse.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_logs.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_proxy.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_reflection.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_resources_proxy.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_streams.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_sync.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_transform.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_typing.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/_utils/_utils.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/lib/.keep +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/lib/polling.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/py.typed +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/__init__.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/character_performance.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/organization.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/tasks.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/text_to_video.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/video_to_video.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/resources/video_upscale.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/__init__.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/character_performance_create_params.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/character_performance_create_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/image_to_video_create_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/organization_retrieve_usage_params.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/task_retrieve_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/text_to_image_create_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/text_to_video_create_params.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/text_to_video_create_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/video_to_video_create_params.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/video_to_video_create_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/video_upscale_create_params.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/video_upscale_create_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/__init__.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/__init__.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_character_performance.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_image_to_video.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_organization.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_tasks.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_text_to_image.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_text_to_video.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_video_to_video.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/api_resources/test_video_upscale.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/conftest.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/sample_file.txt +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_client.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_deepcopy.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_extract_files.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_files.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_models.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_qs.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_required_args.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_response.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_streaming.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_transform.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_utils/test_proxy.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/test_utils/test_typing.py +0 -0
- {runwayml-3.13.0 → runwayml-3.14.0}/tests/utils.py +0 -0
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.14.0 (2025-09-11)
|
4
|
+
|
5
|
+
Full Changelog: [v3.13.0...v3.14.0](https://github.com/runwayml/sdk-python/compare/v3.13.0...v3.14.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** Add Gemini 2.5 Flash Image to t2i ([3cb044a](https://github.com/runwayml/sdk-python/commit/3cb044af287c1da1b0a648fdf91074f9a34abd6a))
|
10
|
+
|
3
11
|
## 3.13.0 (2025-09-10)
|
4
12
|
|
5
13
|
Full Changelog: [v3.12.1...v3.13.0](https://github.com/runwayml/sdk-python/compare/v3.12.1...v3.13.0)
|
@@ -100,9 +100,7 @@ class ImageToVideoResource(SyncAPIResource):
|
|
100
100
|
|
101
101
|
content_moderation: Settings that affect the behavior of the content moderation system.
|
102
102
|
|
103
|
-
|
104
|
-
|
105
|
-
This field is allowed for the following model variants: `gen4_turbo`,
|
103
|
+
This field is allowed only for the following model variants: `gen4_turbo`,
|
106
104
|
`gen3a_turbo`
|
107
105
|
|
108
106
|
duration: The number of seconds of duration for the output video. `veo3` requires a
|
@@ -214,9 +212,7 @@ class AsyncImageToVideoResource(AsyncAPIResource):
|
|
214
212
|
|
215
213
|
content_moderation: Settings that affect the behavior of the content moderation system.
|
216
214
|
|
217
|
-
|
218
|
-
|
219
|
-
This field is allowed for the following model variants: `gen4_turbo`,
|
215
|
+
This field is allowed only for the following model variants: `gen4_turbo`,
|
220
216
|
`gen3a_turbo`
|
221
217
|
|
222
218
|
duration: The number of seconds of duration for the output video. `veo3` requires a
|
@@ -53,7 +53,7 @@ class TextToImageResource(SyncAPIResource):
|
|
53
53
|
def create(
|
54
54
|
self,
|
55
55
|
*,
|
56
|
-
model: Literal["gen4_image_turbo", "gen4_image"],
|
56
|
+
model: Literal["gen4_image_turbo", "gen4_image", "gemini_2.5_flash"],
|
57
57
|
prompt_text: str,
|
58
58
|
ratio: Literal[
|
59
59
|
"1920:1080",
|
@@ -72,6 +72,11 @@ class TextToImageResource(SyncAPIResource):
|
|
72
72
|
"960:720",
|
73
73
|
"720:960",
|
74
74
|
"1680:720",
|
75
|
+
"1344:768",
|
76
|
+
"768:1344",
|
77
|
+
"1184:864",
|
78
|
+
"864:1184",
|
79
|
+
"1536:672",
|
75
80
|
],
|
76
81
|
content_moderation: text_to_image_create_params.ContentModeration | NotGiven = NOT_GIVEN,
|
77
82
|
reference_images: Iterable[text_to_image_create_params.ReferenceImage] | NotGiven = NOT_GIVEN,
|
@@ -92,10 +97,41 @@ class TextToImageResource(SyncAPIResource):
|
|
92
97
|
prompt_text: A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
93
98
|
should describe in detail what should appear in the output.
|
94
99
|
|
95
|
-
ratio: The resolution of the output image
|
100
|
+
ratio: The resolution of the output image.
|
101
|
+
|
102
|
+
`gen4_image_turbo`, `gen4_image` support the following values:
|
103
|
+
|
104
|
+
- `1920:1080`
|
105
|
+
- `1080:1920`
|
106
|
+
- `1024:1024`
|
107
|
+
- `1360:768`
|
108
|
+
- `1080:1080`
|
109
|
+
- `1168:880`
|
110
|
+
- `1440:1080`
|
111
|
+
- `1080:1440`
|
112
|
+
- `1808:768`
|
113
|
+
- `2112:912`
|
114
|
+
- `1280:720`
|
115
|
+
- `720:1280`
|
116
|
+
- `720:720`
|
117
|
+
- `960:720`
|
118
|
+
- `720:960`
|
119
|
+
- `1680:720`
|
120
|
+
|
121
|
+
`gemini_2.5_flash` supports the following values:
|
122
|
+
|
123
|
+
- `1344:768`
|
124
|
+
- `768:1344`
|
125
|
+
- `1024:1024`
|
126
|
+
- `1184:864`
|
127
|
+
- `864:1184`
|
128
|
+
- `1536:672`
|
96
129
|
|
97
130
|
content_moderation: Settings that affect the behavior of the content moderation system.
|
98
131
|
|
132
|
+
This field is allowed only for the following model variants: `gen4_image_turbo`,
|
133
|
+
`gen4_image`
|
134
|
+
|
99
135
|
reference_images: An array of up to three images to be used as references for the generated image
|
100
136
|
output.
|
101
137
|
|
@@ -156,7 +192,7 @@ class AsyncTextToImageResource(AsyncAPIResource):
|
|
156
192
|
async def create(
|
157
193
|
self,
|
158
194
|
*,
|
159
|
-
model: Literal["gen4_image_turbo", "gen4_image"],
|
195
|
+
model: Literal["gen4_image_turbo", "gen4_image", "gemini_2.5_flash"],
|
160
196
|
prompt_text: str,
|
161
197
|
ratio: Literal[
|
162
198
|
"1920:1080",
|
@@ -175,6 +211,11 @@ class AsyncTextToImageResource(AsyncAPIResource):
|
|
175
211
|
"960:720",
|
176
212
|
"720:960",
|
177
213
|
"1680:720",
|
214
|
+
"1344:768",
|
215
|
+
"768:1344",
|
216
|
+
"1184:864",
|
217
|
+
"864:1184",
|
218
|
+
"1536:672",
|
178
219
|
],
|
179
220
|
content_moderation: text_to_image_create_params.ContentModeration | NotGiven = NOT_GIVEN,
|
180
221
|
reference_images: Iterable[text_to_image_create_params.ReferenceImage] | NotGiven = NOT_GIVEN,
|
@@ -195,10 +236,41 @@ class AsyncTextToImageResource(AsyncAPIResource):
|
|
195
236
|
prompt_text: A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
196
237
|
should describe in detail what should appear in the output.
|
197
238
|
|
198
|
-
ratio: The resolution of the output image
|
239
|
+
ratio: The resolution of the output image.
|
240
|
+
|
241
|
+
`gen4_image_turbo`, `gen4_image` support the following values:
|
242
|
+
|
243
|
+
- `1920:1080`
|
244
|
+
- `1080:1920`
|
245
|
+
- `1024:1024`
|
246
|
+
- `1360:768`
|
247
|
+
- `1080:1080`
|
248
|
+
- `1168:880`
|
249
|
+
- `1440:1080`
|
250
|
+
- `1080:1440`
|
251
|
+
- `1808:768`
|
252
|
+
- `2112:912`
|
253
|
+
- `1280:720`
|
254
|
+
- `720:1280`
|
255
|
+
- `720:720`
|
256
|
+
- `960:720`
|
257
|
+
- `720:960`
|
258
|
+
- `1680:720`
|
259
|
+
|
260
|
+
`gemini_2.5_flash` supports the following values:
|
261
|
+
|
262
|
+
- `1344:768`
|
263
|
+
- `768:1344`
|
264
|
+
- `1024:1024`
|
265
|
+
- `1184:864`
|
266
|
+
- `864:1184`
|
267
|
+
- `1536:672`
|
199
268
|
|
200
269
|
content_moderation: Settings that affect the behavior of the content moderation system.
|
201
270
|
|
271
|
+
This field is allowed only for the following model variants: `gen4_image_turbo`,
|
272
|
+
`gen4_image`
|
273
|
+
|
202
274
|
reference_images: An array of up to three images to be used as references for the generated image
|
203
275
|
output.
|
204
276
|
|
@@ -49,9 +49,7 @@ class ImageToVideoCreateParams(TypedDict, total=False):
|
|
49
49
|
content_moderation: Annotated[ContentModeration, PropertyInfo(alias="contentModeration")]
|
50
50
|
"""Settings that affect the behavior of the content moderation system.
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
This field is allowed for the following model variants: `gen4_turbo`,
|
52
|
+
This field is allowed only for the following model variants: `gen4_turbo`,
|
55
53
|
`gen3a_turbo`
|
56
54
|
"""
|
57
55
|
|
@@ -11,6 +11,7 @@ __all__ = [
|
|
11
11
|
"Tier",
|
12
12
|
"TierModels",
|
13
13
|
"TierModelsActTwo",
|
14
|
+
"TierModelsGemini2_5Flash",
|
14
15
|
"TierModelsGen3aTurbo",
|
15
16
|
"TierModelsGen4Aleph",
|
16
17
|
"TierModelsGen4Image",
|
@@ -21,6 +22,7 @@ __all__ = [
|
|
21
22
|
"Usage",
|
22
23
|
"UsageModels",
|
23
24
|
"UsageModelsActTwo",
|
25
|
+
"UsageModelsGemini2_5Flash",
|
24
26
|
"UsageModelsGen3aTurbo",
|
25
27
|
"UsageModelsGen4Aleph",
|
26
28
|
"UsageModelsGen4Image",
|
@@ -39,6 +41,14 @@ class TierModelsActTwo(BaseModel):
|
|
39
41
|
"""The maximum number of generations that can be created each day for this model."""
|
40
42
|
|
41
43
|
|
44
|
+
class TierModelsGemini2_5Flash(BaseModel):
|
45
|
+
max_concurrent_generations: int = FieldInfo(alias="maxConcurrentGenerations")
|
46
|
+
"""The maximum number of generations that can be run concurrently for this model."""
|
47
|
+
|
48
|
+
max_daily_generations: int = FieldInfo(alias="maxDailyGenerations")
|
49
|
+
"""The maximum number of generations that can be created each day for this model."""
|
50
|
+
|
51
|
+
|
42
52
|
class TierModelsGen3aTurbo(BaseModel):
|
43
53
|
max_concurrent_generations: int = FieldInfo(alias="maxConcurrentGenerations")
|
44
54
|
"""The maximum number of generations that can be run concurrently for this model."""
|
@@ -99,6 +109,9 @@ class TierModels(BaseModel):
|
|
99
109
|
act_two: Optional[TierModelsActTwo] = None
|
100
110
|
"""Limits associated with the act_two model."""
|
101
111
|
|
112
|
+
gemini_2_5_flash: Optional[TierModelsGemini2_5Flash] = FieldInfo(alias="gemini_2.5_flash", default=None)
|
113
|
+
"""Limits associated with the gemini_2.5_flash model."""
|
114
|
+
|
102
115
|
gen3a_turbo: Optional[TierModelsGen3aTurbo] = None
|
103
116
|
"""Limits associated with the gen3a_turbo model."""
|
104
117
|
|
@@ -134,6 +147,11 @@ class UsageModelsActTwo(BaseModel):
|
|
134
147
|
"""The number of generations that have been run for this model in the past day."""
|
135
148
|
|
136
149
|
|
150
|
+
class UsageModelsGemini2_5Flash(BaseModel):
|
151
|
+
daily_generations: int = FieldInfo(alias="dailyGenerations")
|
152
|
+
"""The number of generations that have been run for this model in the past day."""
|
153
|
+
|
154
|
+
|
137
155
|
class UsageModelsGen3aTurbo(BaseModel):
|
138
156
|
daily_generations: int = FieldInfo(alias="dailyGenerations")
|
139
157
|
"""The number of generations that have been run for this model in the past day."""
|
@@ -173,6 +191,9 @@ class UsageModels(BaseModel):
|
|
173
191
|
act_two: Optional[UsageModelsActTwo] = None
|
174
192
|
"""Usage data for the act_two model."""
|
175
193
|
|
194
|
+
gemini_2_5_flash: Optional[UsageModelsGemini2_5Flash] = FieldInfo(alias="gemini_2.5_flash", default=None)
|
195
|
+
"""Usage data for the gemini_2.5_flash model."""
|
196
|
+
|
176
197
|
gen3a_turbo: Optional[UsageModelsGen3aTurbo] = None
|
177
198
|
"""Usage data for the gen3a_turbo model."""
|
178
199
|
|
{runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/organization_retrieve_usage_response.py
RENAMED
@@ -16,7 +16,15 @@ class ResultUsedCredit(BaseModel):
|
|
16
16
|
"""The number of credits used for the model."""
|
17
17
|
|
18
18
|
model: Literal[
|
19
|
-
"act_two",
|
19
|
+
"act_two",
|
20
|
+
"gemini_2.5_flash",
|
21
|
+
"gen3a_turbo",
|
22
|
+
"gen4_aleph",
|
23
|
+
"gen4_image",
|
24
|
+
"gen4_image_turbo",
|
25
|
+
"gen4_turbo",
|
26
|
+
"upscale_v1",
|
27
|
+
"veo3",
|
20
28
|
]
|
21
29
|
"""The model whose usage resulted in the credit usage."""
|
22
30
|
|
@@ -35,7 +43,15 @@ class Result(BaseModel):
|
|
35
43
|
class OrganizationRetrieveUsageResponse(BaseModel):
|
36
44
|
models: List[
|
37
45
|
Literal[
|
38
|
-
"act_two",
|
46
|
+
"act_two",
|
47
|
+
"gemini_2.5_flash",
|
48
|
+
"gen3a_turbo",
|
49
|
+
"gen4_aleph",
|
50
|
+
"gen4_image",
|
51
|
+
"gen4_image_turbo",
|
52
|
+
"gen4_turbo",
|
53
|
+
"upscale_v1",
|
54
|
+
"veo3",
|
39
55
|
]
|
40
56
|
]
|
41
57
|
"""The list of models with usage during the queried time range."""
|
@@ -11,7 +11,7 @@ __all__ = ["TextToImageCreateParams", "ContentModeration", "ReferenceImage"]
|
|
11
11
|
|
12
12
|
|
13
13
|
class TextToImageCreateParams(TypedDict, total=False):
|
14
|
-
model: Required[Literal["gen4_image_turbo", "gen4_image"]]
|
14
|
+
model: Required[Literal["gen4_image_turbo", "gen4_image", "gemini_2.5_flash"]]
|
15
15
|
"""The model variant to use."""
|
16
16
|
|
17
17
|
prompt_text: Required[Annotated[str, PropertyInfo(alias="promptText")]]
|
@@ -38,12 +38,50 @@ class TextToImageCreateParams(TypedDict, total=False):
|
|
38
38
|
"960:720",
|
39
39
|
"720:960",
|
40
40
|
"1680:720",
|
41
|
+
"1344:768",
|
42
|
+
"768:1344",
|
43
|
+
"1184:864",
|
44
|
+
"864:1184",
|
45
|
+
"1536:672",
|
41
46
|
]
|
42
47
|
]
|
43
|
-
"""The resolution of the output image
|
48
|
+
"""The resolution of the output image.
|
49
|
+
|
50
|
+
`gen4_image_turbo`, `gen4_image` support the following values:
|
51
|
+
|
52
|
+
- `1920:1080`
|
53
|
+
- `1080:1920`
|
54
|
+
- `1024:1024`
|
55
|
+
- `1360:768`
|
56
|
+
- `1080:1080`
|
57
|
+
- `1168:880`
|
58
|
+
- `1440:1080`
|
59
|
+
- `1080:1440`
|
60
|
+
- `1808:768`
|
61
|
+
- `2112:912`
|
62
|
+
- `1280:720`
|
63
|
+
- `720:1280`
|
64
|
+
- `720:720`
|
65
|
+
- `960:720`
|
66
|
+
- `720:960`
|
67
|
+
- `1680:720`
|
68
|
+
|
69
|
+
`gemini_2.5_flash` supports the following values:
|
70
|
+
|
71
|
+
- `1344:768`
|
72
|
+
- `768:1344`
|
73
|
+
- `1024:1024`
|
74
|
+
- `1184:864`
|
75
|
+
- `864:1184`
|
76
|
+
- `1536:672`
|
77
|
+
"""
|
44
78
|
|
45
79
|
content_moderation: Annotated[ContentModeration, PropertyInfo(alias="contentModeration")]
|
46
|
-
"""Settings that affect the behavior of the content moderation system.
|
80
|
+
"""Settings that affect the behavior of the content moderation system.
|
81
|
+
|
82
|
+
This field is allowed only for the following model variants: `gen4_image_turbo`,
|
83
|
+
`gen4_image`
|
84
|
+
"""
|
47
85
|
|
48
86
|
reference_images: Annotated[Iterable[ReferenceImage], PropertyInfo(alias="referenceImages")]
|
49
87
|
"""
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/character_performance_create_params.py
RENAMED
File without changes
|
{runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/character_performance_create_response.py
RENAMED
File without changes
|
File without changes
|
{runwayml-3.13.0 → runwayml-3.14.0}/src/runwayml/types/organization_retrieve_usage_params.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|