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.15.0"
".": "4.16.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 37
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-ed8d0c17e291217781d37e1e60b969f2950d2fedaa182d41d80aac9945d1ff85.yml
openapi_spec_hash: 083b5c74652bfd7ba82748e1c04f8bc2
config_hash: 3063a17ad98d447287f6f7eab9d6d1d6
configured_endpoints: 38
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-cfb6e42f50c5de798cb44d95bb8e1e0b378a1cad932b937b249aca35136c7758.yml
openapi_spec_hash: 2d2bb8ab56561238e5415dbbd3e4d725
config_hash: 6d8ca402de13857362ee587c404baca9
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 4.16.0 (2026-06-02)

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

### Features

* **api:** Aleph2 ([b36110b](https://github.com/runwayml/sdk-python/commit/b36110bebc1812e5d8a4e682b6af818cefcceed4))
* **api:** Image upscale endpoint ([00f2d0b](https://github.com/runwayml/sdk-python/commit/00f2d0b573c0d282e2096eb1f22e053d9d5a506b))


### Bug Fixes

* **client:** Awaitable image upscale also ([346f07f](https://github.com/runwayml/sdk-python/commit/346f07ffc39d18ace05839d59550b5c72bcef941))
* **client:** Updating typing for awaitable task output ([485c29c](https://github.com/runwayml/sdk-python/commit/485c29c031c84340742c27af823c9a28cc596d09))

## 4.15.0 (2026-05-11)

Full Changelog: [v4.14.0...v4.15.0](https://github.com/runwayml/sdk-python/compare/v4.14.0...v4.15.0)
Expand Down
12 changes: 12 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,18 @@ Methods:

- <code title="post /v1/speech_to_speech">client.speech_to_speech.<a href="./src/runwayml/resources/speech_to_speech.py">create</a>(\*\*<a href="src/runwayml/types/speech_to_speech_create_params.py">params</a>) -> <a href="./src/runwayml/types/speech_to_speech_create_response.py">SpeechToSpeechCreateResponse</a></code>

# ImageUpscale

Types:

```python
from runwayml.types import ImageUpscaleCreateResponse
```

Methods:

- <code title="post /v1/image_upscale">client.image_upscale.<a href="./src/runwayml/resources/image_upscale.py">create</a>(\*\*<a href="src/runwayml/types/image_upscale_create_params.py">params</a>) -> <a href="./src/runwayml/types/image_upscale_create_response.py">ImageUpscaleCreateResponse</a></code>

# Organization

Types:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "runwayml"
version = "4.15.0"
version = "4.16.0"
description = "The official Python library for the runwayml API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
44 changes: 44 additions & 0 deletions src/runwayml/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
organization,
sound_effect,
avatar_videos,
image_upscale,
text_to_image,
text_to_video,
voice_dubbing,
Expand All @@ -66,6 +67,7 @@
from .resources.organization import OrganizationResource, AsyncOrganizationResource
from .resources.sound_effect import SoundEffectResource, AsyncSoundEffectResource
from .resources.avatar_videos import AvatarVideosResource, AsyncAvatarVideosResource
from .resources.image_upscale import ImageUpscaleResource, AsyncImageUpscaleResource
from .resources.text_to_image import TextToImageResource, AsyncTextToImageResource
from .resources.text_to_video import TextToVideoResource, AsyncTextToVideoResource
from .resources.voice_dubbing import VoiceDubbingResource, AsyncVoiceDubbingResource
Expand Down Expand Up @@ -243,6 +245,13 @@ def speech_to_speech(self) -> SpeechToSpeechResource:

return SpeechToSpeechResource(self)

@cached_property
def image_upscale(self) -> ImageUpscaleResource:
"""These endpoints all kick off tasks to create generations."""
from .resources.image_upscale import ImageUpscaleResource

return ImageUpscaleResource(self)

@cached_property
def organization(self) -> OrganizationResource:
from .resources.organization import OrganizationResource
Expand Down Expand Up @@ -560,6 +569,13 @@ def speech_to_speech(self) -> AsyncSpeechToSpeechResource:

return AsyncSpeechToSpeechResource(self)

@cached_property
def image_upscale(self) -> AsyncImageUpscaleResource:
"""These endpoints all kick off tasks to create generations."""
from .resources.image_upscale import AsyncImageUpscaleResource

return AsyncImageUpscaleResource(self)

@cached_property
def organization(self) -> AsyncOrganizationResource:
from .resources.organization import AsyncOrganizationResource
Expand Down Expand Up @@ -813,6 +829,13 @@ def speech_to_speech(self) -> speech_to_speech.SpeechToSpeechResourceWithRawResp

return SpeechToSpeechResourceWithRawResponse(self._client.speech_to_speech)

@cached_property
def image_upscale(self) -> image_upscale.ImageUpscaleResourceWithRawResponse:
"""These endpoints all kick off tasks to create generations."""
from .resources.image_upscale import ImageUpscaleResourceWithRawResponse

return ImageUpscaleResourceWithRawResponse(self._client.image_upscale)

@cached_property
def organization(self) -> organization.OrganizationResourceWithRawResponse:
from .resources.organization import OrganizationResourceWithRawResponse
Expand Down Expand Up @@ -951,6 +974,13 @@ def speech_to_speech(self) -> speech_to_speech.AsyncSpeechToSpeechResourceWithRa

return AsyncSpeechToSpeechResourceWithRawResponse(self._client.speech_to_speech)

@cached_property
def image_upscale(self) -> image_upscale.AsyncImageUpscaleResourceWithRawResponse:
"""These endpoints all kick off tasks to create generations."""
from .resources.image_upscale import AsyncImageUpscaleResourceWithRawResponse

return AsyncImageUpscaleResourceWithRawResponse(self._client.image_upscale)

@cached_property
def organization(self) -> organization.AsyncOrganizationResourceWithRawResponse:
from .resources.organization import AsyncOrganizationResourceWithRawResponse
Expand Down Expand Up @@ -1089,6 +1119,13 @@ def speech_to_speech(self) -> speech_to_speech.SpeechToSpeechResourceWithStreami

return SpeechToSpeechResourceWithStreamingResponse(self._client.speech_to_speech)

@cached_property
def image_upscale(self) -> image_upscale.ImageUpscaleResourceWithStreamingResponse:
"""These endpoints all kick off tasks to create generations."""
from .resources.image_upscale import ImageUpscaleResourceWithStreamingResponse

return ImageUpscaleResourceWithStreamingResponse(self._client.image_upscale)

@cached_property
def organization(self) -> organization.OrganizationResourceWithStreamingResponse:
from .resources.organization import OrganizationResourceWithStreamingResponse
Expand Down Expand Up @@ -1227,6 +1264,13 @@ def speech_to_speech(self) -> speech_to_speech.AsyncSpeechToSpeechResourceWithSt

return AsyncSpeechToSpeechResourceWithStreamingResponse(self._client.speech_to_speech)

@cached_property
def image_upscale(self) -> image_upscale.AsyncImageUpscaleResourceWithStreamingResponse:
"""These endpoints all kick off tasks to create generations."""
from .resources.image_upscale import AsyncImageUpscaleResourceWithStreamingResponse

return AsyncImageUpscaleResourceWithStreamingResponse(self._client.image_upscale)

@cached_property
def organization(self) -> organization.AsyncOrganizationResourceWithStreamingResponse:
from .resources.organization import AsyncOrganizationResourceWithStreamingResponse
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.15.0" # x-release-please-version
__version__ = "4.16.0" # x-release-please-version
14 changes: 14 additions & 0 deletions src/runwayml/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@
AvatarVideosResourceWithStreamingResponse,
AsyncAvatarVideosResourceWithStreamingResponse,
)
from .image_upscale import (
ImageUpscaleResource,
AsyncImageUpscaleResource,
ImageUpscaleResourceWithRawResponse,
AsyncImageUpscaleResourceWithRawResponse,
ImageUpscaleResourceWithStreamingResponse,
AsyncImageUpscaleResourceWithStreamingResponse,
)
from .text_to_image import (
TextToImageResource,
AsyncTextToImageResource,
Expand Down Expand Up @@ -228,6 +236,12 @@
"AsyncSpeechToSpeechResourceWithRawResponse",
"SpeechToSpeechResourceWithStreamingResponse",
"AsyncSpeechToSpeechResourceWithStreamingResponse",
"ImageUpscaleResource",
"AsyncImageUpscaleResource",
"ImageUpscaleResourceWithRawResponse",
"AsyncImageUpscaleResourceWithRawResponse",
"ImageUpscaleResourceWithStreamingResponse",
"AsyncImageUpscaleResourceWithStreamingResponse",
"OrganizationResource",
"AsyncOrganizationResource",
"OrganizationResourceWithRawResponse",
Expand Down
Loading