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 @@
{
".": "5.14.0"
".": "5.15.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 63
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-61ede23e7f824f2713cf355317945b22af4ce8c00e247dff73695506569b7f09.yml
openapi_spec_hash: 377f276334721ace39ca5f97395bb336
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-673462285f9cc77f80b538a726a55a7d003ce89b0dd5aeacf45b3901459abfa7.yml
openapi_spec_hash: 130cf273e4489beb3b7e2922f1ff26ae
config_hash: 8bd51a43d85b7a841080e78e6f673b63
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 5.15.0 (2026-08-18)

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

### Features

* **api:** Seedance 2.5 1080p, Grok Imagine Video 1.5, Grok Imagine Image 2 ([46f53db](https://github.com/runwayml/sdk-python/commit/46f53dbc5ea2a643bacaf4a702974c5baebd45a0))


### Bug Fixes

* **client:** make grok_imagine_1_5 and grok_imagine_image_2 responses awaitable ([87046d8](https://github.com/runwayml/sdk-python/commit/87046d8135245b0b694ff03b8344c2c53a0ce012))

## 5.14.0 (2026-08-13)

Full Changelog: [v5.13.0...v5.14.0](https://github.com/runwayml/sdk-python/compare/v5.13.0...v5.14.0)
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 = "5.14.0"
version = "5.15.0"
description = "The official Python library for the runwayml API"
dynamic = ["readme"]
license = "Apache-2.0"
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__ = "5.14.0" # x-release-please-version
__version__ = "5.15.0" # x-release-please-version
124 changes: 116 additions & 8 deletions src/runwayml/resources/image_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,12 @@ def create(
"960:960",
"834:1112",
"720:1280",
"2206:946",
"1920:1080",
"1664:1248",
"1440:1440",
"1248:1664",
"1080:1920",
]
| Omit = omit,
reference_audio: Iterable[image_to_video_create_params.Seedance2_5ReferenceAudio] | Omit = omit,
Expand All @@ -627,7 +633,7 @@ def create(
prompt_text: An optional text prompt up to 15000 characters describing what should appear in
the output.

ratio: The resolution of the output video. Seedance 2.5 supports 480p and 720p only.
ratio: The resolution of the output video. Seedance 2.5 supports 480p, 720p, and 1080p.

reference_audio: An optional array of audio references. The total combined duration must not
exceed 30 seconds.
Expand All @@ -642,6 +648,46 @@ def create(
"""
...

@overload
def create(
self,
*,
model: Literal["grok_imagine_1_5"],
prompt_image: Union[str, Iterable[image_to_video_create_params.GrokImagine1_5PromptImagePromptImage]],
duration: int | Omit = omit,
prompt_text: str | Omit = omit,
resolution: Literal["480p", "720p", "1080p"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> NewTaskCreatedResponse:
"""
This endpoint will start a new task to generate a video from an image.

Args:
prompt_image: A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
`data:image/png;base64,...`, up to 5MB) containing an encoded image. See
[our docs](/assets/inputs#images) on image inputs for more information.

duration: The number of seconds of duration for the output video.

prompt_text: An optional text prompt describing motion or changes in the output video.

resolution: The output resolution. Output aspect ratio follows the input image.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds
"""
...

@required_args(
["duration", "model", "prompt_image", "prompt_text", "ratio"],
["model", "prompt_image", "ratio"],
Expand All @@ -662,7 +708,8 @@ def create(
| Literal["seedance2_fast"]
| Literal["seedance2_mini"]
| Literal["gemini_omni_flash"]
| Literal["seedance2_5"],
| Literal["seedance2_5"]
| Literal["grok_imagine_1_5"],
prompt_image: Union[str, Iterable[image_to_video_create_params.Gen4_5PromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Gen4TurboPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Veo3_1PromptImagePromptImage]]
Expand All @@ -673,7 +720,8 @@ def create(
| Union[str, Iterable[image_to_video_create_params.Seedance2FastPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Seedance2MiniPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.GeminiOmniFlashPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Seedance2_5PromptImagePromptImage]],
| Union[str, Iterable[image_to_video_create_params.Seedance2_5PromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.GrokImagine1_5PromptImagePromptImage]],
prompt_text: str | Omit = omit,
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"]
Expand Down Expand Up @@ -733,6 +781,12 @@ def create(
"960:960",
"834:1112",
"720:1280",
"2206:946",
"1920:1080",
"1664:1248",
"1440:1440",
"1248:1664",
"1080:1920",
]
| Omit = omit,
content_moderation: image_to_video_create_params.Gen4_5ContentModeration
Expand All @@ -749,7 +803,7 @@ def create(
| Iterable[image_to_video_create_params.Seedance2MiniReferenceAudio]
| Iterable[image_to_video_create_params.Seedance2_5ReferenceAudio]
| Omit = omit,
resolution: Literal["2K", "768P"] | Literal["720P", "1080P"] | Omit = omit,
resolution: Literal["2K", "768P"] | Literal["720P", "1080P"] | Literal["480p", "720p", "1080p"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -1357,6 +1411,12 @@ async def create(
"960:960",
"834:1112",
"720:1280",
"2206:946",
"1920:1080",
"1664:1248",
"1440:1440",
"1248:1664",
"1080:1920",
]
| Omit = omit,
reference_audio: Iterable[image_to_video_create_params.Seedance2_5ReferenceAudio] | Omit = omit,
Expand All @@ -1381,7 +1441,7 @@ async def create(
prompt_text: An optional text prompt up to 15000 characters describing what should appear in
the output.

ratio: The resolution of the output video. Seedance 2.5 supports 480p and 720p only.
ratio: The resolution of the output video. Seedance 2.5 supports 480p, 720p, and 1080p.

reference_audio: An optional array of audio references. The total combined duration must not
exceed 30 seconds.
Expand All @@ -1396,6 +1456,46 @@ async def create(
"""
...

@overload
async def create(
self,
*,
model: Literal["grok_imagine_1_5"],
prompt_image: Union[str, Iterable[image_to_video_create_params.GrokImagine1_5PromptImagePromptImage]],
duration: int | Omit = omit,
prompt_text: str | Omit = omit,
resolution: Literal["480p", "720p", "1080p"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncNewTaskCreatedResponse:
"""
This endpoint will start a new task to generate a video from an image.

Args:
prompt_image: A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
`data:image/png;base64,...`, up to 5MB) containing an encoded image. See
[our docs](/assets/inputs#images) on image inputs for more information.

duration: The number of seconds of duration for the output video.

prompt_text: An optional text prompt describing motion or changes in the output video.

resolution: The output resolution. Output aspect ratio follows the input image.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds
"""
...

@required_args(
["duration", "model", "prompt_image", "prompt_text", "ratio"],
["model", "prompt_image", "ratio"],
Expand All @@ -1416,7 +1516,8 @@ async def create(
| Literal["seedance2_fast"]
| Literal["seedance2_mini"]
| Literal["gemini_omni_flash"]
| Literal["seedance2_5"],
| Literal["seedance2_5"]
| Literal["grok_imagine_1_5"],
prompt_image: Union[str, Iterable[image_to_video_create_params.Gen4_5PromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Gen4TurboPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Veo3_1PromptImagePromptImage]]
Expand All @@ -1427,7 +1528,8 @@ async def create(
| Union[str, Iterable[image_to_video_create_params.Seedance2FastPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Seedance2MiniPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.GeminiOmniFlashPromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.Seedance2_5PromptImagePromptImage]],
| Union[str, Iterable[image_to_video_create_params.Seedance2_5PromptImagePromptImage]]
| Union[str, Iterable[image_to_video_create_params.GrokImagine1_5PromptImagePromptImage]],
prompt_text: str | Omit = omit,
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"]
Expand Down Expand Up @@ -1487,6 +1589,12 @@ async def create(
"960:960",
"834:1112",
"720:1280",
"2206:946",
"1920:1080",
"1664:1248",
"1440:1440",
"1248:1664",
"1080:1920",
]
| Omit = omit,
content_moderation: image_to_video_create_params.Gen4_5ContentModeration
Expand All @@ -1503,7 +1611,7 @@ async def create(
| Iterable[image_to_video_create_params.Seedance2MiniReferenceAudio]
| Iterable[image_to_video_create_params.Seedance2_5ReferenceAudio]
| Omit = omit,
resolution: Literal["2K", "768P"] | Literal["720P", "1080P"] | Omit = omit,
resolution: Literal["2K", "768P"] | Literal["720P", "1080P"] | Literal["480p", "720p", "1080p"] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down
Loading