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.1.0"
".": "5.2.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: 43
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-b85d7ddcdd90c3009ccbad953a0f5c1015b6f4acc6196ce47dfaff89873e8831.yml
openapi_spec_hash: c660abf954cb61f065c4f957966776bb
config_hash: dbcc649d22e217f477258caee20c63d2
configured_endpoints: 49
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runwayml/runwayml-ae784dbc3407e86a6458d2848f2e9720eea6b3c534c3bbe101b614e3eb547dac.yml
openapi_spec_hash: e84013ce9a3d7c14175ba3050cbb5bc1
config_hash: 702846e1d30f519e56e425ca5455febe
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 5.2.0 (2026-06-17)

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

### Features

* **api:** Recipes, aleph2 range ([529fc1d](https://github.com/runwayml/sdk-python/commit/529fc1da7b279af30f5aef1314ab16a87a3916f1))
* **client:** add recipe endpoints to config ([26725b1](https://github.com/runwayml/sdk-python/commit/26725b15a27fbf9437a323bb28238e7d4657ed53))
* **client:** Make recipes waitable ([11dbef5](https://github.com/runwayml/sdk-python/commit/11dbef5fbf6bd4147d4f6b91f43e260c9b4b2318))


### Bug Fixes

* **api:** remove range param ([f67c02d](https://github.com/runwayml/sdk-python/commit/f67c02db8769d481109a7d033b8fa030abdeb56e))

## 5.1.0 (2026-06-12)

Full Changelog: [v5.0.0...v5.1.0](https://github.com/runwayml/sdk-python/compare/v5.0.0...v5.1.0)
Expand Down
24 changes: 24 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,30 @@ Methods:
- <code title="get /v1/realtime_sessions/{id}">client.realtime_sessions.<a href="./src/runwayml/resources/realtime_sessions.py">retrieve</a>(id) -> <a href="./src/runwayml/types/realtime_session_retrieve_response.py">RealtimeSessionRetrieveResponse</a></code>
- <code title="delete /v1/realtime_sessions/{id}">client.realtime_sessions.<a href="./src/runwayml/resources/realtime_sessions.py">delete</a>(id) -> None</code>

# Recipes

Types:

```python
from runwayml.types import (
RecipeMarketingStockImageResponse,
RecipeMultiShotVideoResponse,
RecipeProductAdResponse,
RecipeProductCampaignImageResponse,
RecipeProductSwapResponse,
RecipeProductUgcResponse,
)
```

Methods:

- <code title="post /v1/recipes/marketing_stock_image">client.recipes.<a href="./src/runwayml/resources/recipes.py">marketing_stock_image</a>(\*\*<a href="src/runwayml/types/recipe_marketing_stock_image_params.py">params</a>) -> <a href="./src/runwayml/types/recipe_marketing_stock_image_response.py">RecipeMarketingStockImageResponse</a></code>
- <code title="post /v1/recipes/multi_shot_video">client.recipes.<a href="./src/runwayml/resources/recipes.py">multi_shot_video</a>(\*\*<a href="src/runwayml/types/recipe_multi_shot_video_params.py">params</a>) -> <a href="./src/runwayml/types/recipe_multi_shot_video_response.py">RecipeMultiShotVideoResponse</a></code>
- <code title="post /v1/recipes/product_ad">client.recipes.<a href="./src/runwayml/resources/recipes.py">product_ad</a>(\*\*<a href="src/runwayml/types/recipe_product_ad_params.py">params</a>) -> <a href="./src/runwayml/types/recipe_product_ad_response.py">RecipeProductAdResponse</a></code>
- <code title="post /v1/recipes/product_campaign_image">client.recipes.<a href="./src/runwayml/resources/recipes.py">product_campaign_image</a>(\*\*<a href="src/runwayml/types/recipe_product_campaign_image_params.py">params</a>) -> <a href="./src/runwayml/types/recipe_product_campaign_image_response.py">RecipeProductCampaignImageResponse</a></code>
- <code title="post /v1/recipes/product_swap">client.recipes.<a href="./src/runwayml/resources/recipes.py">product_swap</a>(\*\*<a href="src/runwayml/types/recipe_product_swap_params.py">params</a>) -> <a href="./src/runwayml/types/recipe_product_swap_response.py">RecipeProductSwapResponse</a></code>
- <code title="post /v1/recipes/product_ugc">client.recipes.<a href="./src/runwayml/resources/recipes.py">product_ugc</a>(\*\*<a href="src/runwayml/types/recipe_product_ugc_params.py">params</a>) -> <a href="./src/runwayml/types/recipe_product_ugc_response.py">RecipeProductUgcResponse</a></code>

# Voices

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 = "5.1.0"
version = "5.2.0"
description = "The official Python library for the runwayml API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
38 changes: 38 additions & 0 deletions src/runwayml/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
tasks,
voices,
avatars,
recipes,
uploads,
documents,
workflows,
Expand All @@ -62,6 +63,7 @@
from .resources.tasks import TasksResource, AsyncTasksResource
from .resources.voices import VoicesResource, AsyncVoicesResource
from .resources.avatars import AvatarsResource, AsyncAvatarsResource
from .resources.recipes import RecipesResource, AsyncRecipesResource
from .resources.uploads import UploadsResource, AsyncUploadsResource
from .resources.documents import DocumentsResource, AsyncDocumentsResource
from .resources.workflows import WorkflowsResource, AsyncWorkflowsResource
Expand Down Expand Up @@ -290,6 +292,12 @@ def realtime_sessions(self) -> RealtimeSessionsResource:

return RealtimeSessionsResource(self)

@cached_property
def recipes(self) -> RecipesResource:
from .resources.recipes import RecipesResource

return RecipesResource(self)

@cached_property
def voices(self) -> VoicesResource:
from .resources.voices import VoicesResource
Expand Down Expand Up @@ -620,6 +628,12 @@ def realtime_sessions(self) -> AsyncRealtimeSessionsResource:

return AsyncRealtimeSessionsResource(self)

@cached_property
def recipes(self) -> AsyncRecipesResource:
from .resources.recipes import AsyncRecipesResource

return AsyncRecipesResource(self)

@cached_property
def voices(self) -> AsyncVoicesResource:
from .resources.voices import AsyncVoicesResource
Expand Down Expand Up @@ -886,6 +900,12 @@ def realtime_sessions(self) -> realtime_sessions.RealtimeSessionsResourceWithRaw

return RealtimeSessionsResourceWithRawResponse(self._client.realtime_sessions)

@cached_property
def recipes(self) -> recipes.RecipesResourceWithRawResponse:
from .resources.recipes import RecipesResourceWithRawResponse

return RecipesResourceWithRawResponse(self._client.recipes)

@cached_property
def voices(self) -> voices.VoicesResourceWithRawResponse:
from .resources.voices import VoicesResourceWithRawResponse
Expand Down Expand Up @@ -1037,6 +1057,12 @@ def realtime_sessions(self) -> realtime_sessions.AsyncRealtimeSessionsResourceWi

return AsyncRealtimeSessionsResourceWithRawResponse(self._client.realtime_sessions)

@cached_property
def recipes(self) -> recipes.AsyncRecipesResourceWithRawResponse:
from .resources.recipes import AsyncRecipesResourceWithRawResponse

return AsyncRecipesResourceWithRawResponse(self._client.recipes)

@cached_property
def voices(self) -> voices.AsyncVoicesResourceWithRawResponse:
from .resources.voices import AsyncVoicesResourceWithRawResponse
Expand Down Expand Up @@ -1188,6 +1214,12 @@ def realtime_sessions(self) -> realtime_sessions.RealtimeSessionsResourceWithStr

return RealtimeSessionsResourceWithStreamingResponse(self._client.realtime_sessions)

@cached_property
def recipes(self) -> recipes.RecipesResourceWithStreamingResponse:
from .resources.recipes import RecipesResourceWithStreamingResponse

return RecipesResourceWithStreamingResponse(self._client.recipes)

@cached_property
def voices(self) -> voices.VoicesResourceWithStreamingResponse:
from .resources.voices import VoicesResourceWithStreamingResponse
Expand Down Expand Up @@ -1339,6 +1371,12 @@ def realtime_sessions(self) -> realtime_sessions.AsyncRealtimeSessionsResourceWi

return AsyncRealtimeSessionsResourceWithStreamingResponse(self._client.realtime_sessions)

@cached_property
def recipes(self) -> recipes.AsyncRecipesResourceWithStreamingResponse:
from .resources.recipes import AsyncRecipesResourceWithStreamingResponse

return AsyncRecipesResourceWithStreamingResponse(self._client.recipes)

@cached_property
def voices(self) -> voices.AsyncVoicesResourceWithStreamingResponse:
from .resources.voices import AsyncVoicesResourceWithStreamingResponse
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.1.0" # x-release-please-version
__version__ = "5.2.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 @@ -24,6 +24,14 @@
AvatarsResourceWithStreamingResponse,
AsyncAvatarsResourceWithStreamingResponse,
)
from .recipes import (
RecipesResource,
AsyncRecipesResource,
RecipesResourceWithRawResponse,
AsyncRecipesResourceWithRawResponse,
RecipesResourceWithStreamingResponse,
AsyncRecipesResourceWithStreamingResponse,
)
from .uploads import (
UploadsResource,
AsyncUploadsResource,
Expand Down Expand Up @@ -292,6 +300,12 @@
"AsyncRealtimeSessionsResourceWithRawResponse",
"RealtimeSessionsResourceWithStreamingResponse",
"AsyncRealtimeSessionsResourceWithStreamingResponse",
"RecipesResource",
"AsyncRecipesResource",
"RecipesResourceWithRawResponse",
"AsyncRecipesResourceWithRawResponse",
"RecipesResourceWithStreamingResponse",
"AsyncRecipesResourceWithStreamingResponse",
"VoicesResource",
"AsyncVoicesResource",
"VoicesResourceWithRawResponse",
Expand Down
Loading