Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.6.0"
".": "4.6.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 14
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml%2Frunwayml-b96a5445f210ea11234f0c3c5064a8cf184389c7f52126dcdc9cb0a5441193fc.yml
openapi_spec_hash: 6ed349171fbd6f146f345d40874fe007
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml%2Frunwayml-b3276a8508268090b14e297f5cb18448da7a763653c6d38c23f0eea0984d8008.yml
openapi_spec_hash: 95ae975f17217c8d144c4ba80846beca
config_hash: c6562115ceb43e1cbae4b54e1618676e
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 4.6.1 (2026-02-13)

Full Changelog: [v4.6.0...v4.6.1](https://github.com/runwayml/sdk-python/compare/v4.6.0...v4.6.1)

### Bug Fixes

* **api:** Remove invalid 4.5 i2v ratio ([f2fa3d1](https://github.com/runwayml/sdk-python/commit/f2fa3d1703fedf53aff177b2650fd96cf84116ce))


### Chores

* format all `api.md` files ([83ca516](https://github.com/runwayml/sdk-python/commit/83ca516ce15c5d307eebadf0633e203b4a84b395))
* **internal:** fix lint error on Python 3.14 ([73b877b](https://github.com/runwayml/sdk-python/commit/73b877b4d6a4b46161cb10f3beb863ac53f2eba8))

## 4.6.0 (2026-02-11)

Full Changelog: [v4.5.0...v4.6.0](https://github.com/runwayml/sdk-python/compare/v4.5.0...v4.6.0)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "runwayml"
version = "4.6.0"
version = "4.6.1"
description = "The official Python library for the runwayml API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down Expand Up @@ -69,7 +69,7 @@ format = { chain = [
# run formatting again to fix any inconsistencies when imports are stripped
"format:ruff",
]}
"format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md"
"format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'"
"format:ruff" = "ruff format"

"lint" = { chain = [
Expand Down
2 changes: 1 addition & 1 deletion src/runwayml/_utils/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
else:
import types

return tp is Union or tp is types.UnionType
return tp is Union or tp is types.UnionType # type: ignore[comparison-overlap]


def is_typeddict(tp: Type[Any]) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion src/runwayml/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "runwayml"
__version__ = "4.6.0" # x-release-please-version
__version__ = "4.6.1" # x-release-please-version
8 changes: 4 additions & 4 deletions src/runwayml/resources/image_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def create(
model: Literal["gen4.5"],
prompt_image: Union[str, Iterable[image_to_video_create_params.Gen4_5PromptImagePromptImage]],
prompt_text: str,
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672", "672:1584"],
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672"],
content_moderation: image_to_video_create_params.Gen4_5ContentModeration | Omit = omit,
seed: int | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -342,7 +342,7 @@ def create(
| Union[str, Iterable[image_to_video_create_params.Veo3_1FastPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Veo3PromptImagePromptImage]],
prompt_text: str | Omit = omit,
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672", "672:1584"]
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672"]
| Literal["1280:720", "720:1280", "1104:832", "832:1104", "960:960", "1584:672"]
| Literal["1280:720", "720:1280", "1080:1920", "1920:1080"]
| Literal["768:1280", "1280:768"]
Expand Down Expand Up @@ -410,7 +410,7 @@ async def create(
model: Literal["gen4.5"],
prompt_image: Union[str, Iterable[image_to_video_create_params.Gen4_5PromptImagePromptImage]],
prompt_text: str,
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672", "672:1584"],
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672"],
content_moderation: image_to_video_create_params.Gen4_5ContentModeration | Omit = omit,
seed: int | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -694,7 +694,7 @@ async def create(
| Union[str, Iterable[image_to_video_create_params.Veo3_1FastPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Veo3PromptImagePromptImage]],
prompt_text: str | Omit = omit,
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672", "672:1584"]
ratio: Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672"]
| Literal["1280:720", "720:1280", "1104:832", "832:1104", "960:960", "1584:672"]
| Literal["1280:720", "720:1280", "1080:1920", "1920:1080"]
| Literal["768:1280", "1280:768"]
Expand Down
2 changes: 1 addition & 1 deletion src/runwayml/types/image_to_video_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Gen4_5(TypedDict, total=False):
This should describe in detail what should appear in the output.
"""

ratio: Required[Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672", "672:1584"]]
ratio: Required[Literal["1280:720", "720:1280", "1104:832", "960:960", "832:1104", "1584:672"]]
"""The resolution of the output video."""

content_moderation: Annotated[Gen4_5ContentModeration, PropertyInfo(alias="contentModeration")]
Expand Down