From 3728dee88369251c51a2bde601dbcc6e9176a8f3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 8 Aug 2026 02:57:58 +0000 Subject: [PATCH 1/2] ## Python SDK Changes: * `open_router.video_generation.list_videos_models()`: `response.data[].supported_sizes[]` **Changed** --- .speakeasy/gen.lock | 31 ++++++++++++++----------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 8 +++++++ .speakeasy/workflow.lock | 10 ++++---- RELEASES.md | 12 +++++++++- docs/components/supportedsize.mdx | 8 +++++++ pyproject.toml | 2 +- src/openrouter/_version.py | 4 ++-- src/openrouter/components/videomodel.py | 8 +++++++ uv.lock | 2 +- 10 files changed, 62 insertions(+), 25 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 56ab2f29..a27a4a25 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: c48cf606-fb42-4a45-9c23-8f0555307828 management: - docChecksum: 997307d7474cc78f9c4cdac774ff478f + docChecksum: 7bb870272c6908f01dcd34a75d1fab75 docVersion: 1.0.0 speakeasyVersion: 1.787.0 generationVersion: 2.914.0 - releaseVersion: 1.1.35 - configChecksum: f0f1acf51840eae06571e18292921350 + releaseVersion: 1.1.36 + configChecksum: 9e80d51e4941e8af39b9878c3b20ccaf repoURL: https://github.com/OpenRouterTeam/python-sdk.git installationURL: https://github.com/OpenRouterTeam/python-sdk.git published: true persistentEdits: - generation_id: 47826519-0d37-4c6c-9366-12a56458c247 - pristine_commit_hash: 177dd72e569acd0c04dc93bd74d1c2db987e2e83 - pristine_tree_hash: f5feb412fcfe387bb9609457b8d33b8e123de0f3 + generation_id: c47d9612-80a4-444a-bcb9-f67d5b817d31 + pristine_commit_hash: e3a9948655d5b17677ce7c26fd84f2535373e165 + pristine_tree_hash: 81703aa94f01a3018363f4f3e69c9a76129d38e0 features: python: acceptHeaders: 3.0.0 @@ -4942,8 +4942,8 @@ trackedFiles: pristine_git_object: 82ebf0b0993b46131ae8c2b335c59fc25042426a docs/components/supportedsize.mdx: id: c38f709222bb - last_write_checksum: sha1:d4c71ae993705bef52a4b88122e0a9292adc8d5a - pristine_git_object: 3b053602c7a79a6ed685b6d135ec202527ae7224 + last_write_checksum: sha1:6cb4221a4756877c0ce27330b7afa0dcb13dac84 + pristine_git_object: f5c99148f84a2bb1cced013334248242f553cbad docs/components/syntax.mdx: id: 0e7a97e89dd7 last_write_checksum: sha1:f3317e2b7efd9ed8d3317626429b481c39bd56f8 @@ -7106,8 +7106,8 @@ trackedFiles: pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:9f804a919818a9668b892f344eb9c337aa3e8fea - pristine_git_object: 9004e0873f6df00d5d254eabc859236435021462 + last_write_checksum: sha1:9ef0bf5f86081b8d3bbf4abe0f8253f44bdbba22 + pristine_git_object: 2905e9bc7957dacfaba7d6c49e154237928b15f7 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54 @@ -7134,8 +7134,8 @@ trackedFiles: pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137 src/openrouter/_version.py: id: d8d15ad6c586 - last_write_checksum: sha1:44ea26c4f266ce9a5102fc0daddfde0895bf357a - pristine_git_object: 63625ba032f104933a887d290b49b369f14f9410 + last_write_checksum: sha1:c7d9e7f7457f85f019d327b6b430b33486c10094 + pristine_git_object: bf339747137a0229634429d23904ee6e1ccbfe61 src/openrouter/analytics.py: id: cb406b5aaabb last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a @@ -9462,8 +9462,8 @@ trackedFiles: pristine_git_object: c6f80ef4af6effc740beb6e0f1abfee653340717 src/openrouter/components/videomodel.py: id: a544a49f7891 - last_write_checksum: sha1:7a53cfa6023c96c28ea5afbd8a7cd2f713d36d5a - pristine_git_object: be1bd8152708382689ee02b24b217e6219be467a + last_write_checksum: sha1:8c7943cbfc33e712296a9604a61ccf9f1f58c408 + pristine_git_object: 0c072a2528d68c497dcb36083e62d48eaf2ade88 src/openrouter/components/videomodelslistresponse.py: id: 2e9d1ce2cf19 last_write_checksum: sha1:b94977aa6941f7cf15c889f1b7cc69b50cd35856 @@ -11939,3 +11939,6 @@ examples: "500": application/json: {"error": {"code": 500, "message": "Internal Server Error"}} examplesVersion: 1.0.2 +releaseNotes: | + ## Python SDK Changes: + * `open_router.video_generation.list_videos_models()`: `response.data[].supported_sizes[]` **Changed** diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 851f4a9e..3fb09621 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -36,7 +36,7 @@ generation: documentation: mintlify preApplyUnionDiscriminators: true python: - version: 1.1.35 + version: 1.1.36 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index d8514b79..dd4d73c8 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -25097,20 +25097,26 @@ components: - '480x720' - '480x854' - '480x1120' + - '560x752' - '640x480' + - '640x640' - '720x480' - '720x720' - '720x960' - '720x1080' - '720x1280' - '720x1680' + - '752x560' - '768x768' - '768x1024' - '768x1152' - '768x1366' - '768x1792' + - '834x1112' - '854x480' - '960x720' + - '960x960' + - '992x432' - '1024x768' - '1080x720' - '1080x1080' @@ -25118,6 +25124,7 @@ components: - '1080x1620' - '1080x1920' - '1080x2520' + - '1112x834' - '1120x480' - '1152x768' - '1280x720' @@ -25128,6 +25135,7 @@ components: - '1440x2160' - '1440x2560' - '1440x3360' + - '1470x630' - '1620x1080' - '1680x720' - '1792x768' diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b9bd72db..7f514eed 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.787.0 sources: OpenRouter API: sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:f87786e94c5ea6b4d61d2ee7ec86de50319fba763961eaa34be2cf5f05fe0165 - sourceBlobDigest: sha256:6cd0ff0f6555ce057e6730821b5e7aeb60022f95f59151d3589cf5a3245e311c + sourceRevisionDigest: sha256:9d6de61bb4bb2175a61c1dcf82d5a6fee01d686f9103c19f3760b0dcd5c1589f + sourceBlobDigest: sha256:369da88b1588ef106abe393560885bdbeb804f2f6834c63bd84796d6a1d4c438 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: open-router: source: OpenRouter API sourceNamespace: open-router-chat-completions-api - sourceRevisionDigest: sha256:f87786e94c5ea6b4d61d2ee7ec86de50319fba763961eaa34be2cf5f05fe0165 - sourceBlobDigest: sha256:6cd0ff0f6555ce057e6730821b5e7aeb60022f95f59151d3589cf5a3245e311c + sourceRevisionDigest: sha256:9d6de61bb4bb2175a61c1dcf82d5a6fee01d686f9103c19f3760b0dcd5c1589f + sourceBlobDigest: sha256:369da88b1588ef106abe393560885bdbeb804f2f6834c63bd84796d6a1d4c438 codeSamplesNamespace: open-router-python-code-samples - codeSamplesRevisionDigest: sha256:e7f2a1cca70777f16e06ade78905f90aa6cef6b63b0766b174b65cb0cc8fae1f + codeSamplesRevisionDigest: sha256:5088fad2f3d793679fc836572c2d82edbc9f55881ab8908c1022512e87d623cd workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.787.0 diff --git a/RELEASES.md b/RELEASES.md index ddce0ba5..63e0324c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1139,4 +1139,14 @@ Based on: ### Generated - [python v1.1.35] . ### Releases -- [PyPI v1.1.35] https://pypi.org/project/openrouter/1.1.35 - . \ No newline at end of file +- [PyPI v1.1.35] https://pypi.org/project/openrouter/1.1.35 - . + +## 2026-08-08 02:55:51 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.1.36] . +### Releases +- [PyPI v1.1.36] https://pypi.org/project/openrouter/1.1.36 - . \ No newline at end of file diff --git a/docs/components/supportedsize.mdx b/docs/components/supportedsize.mdx index 3b053602..f5c99148 100644 --- a/docs/components/supportedsize.mdx +++ b/docs/components/supportedsize.mdx @@ -21,20 +21,26 @@ This is an open enum. Unrecognized values will not fail type checks. - `"480x720"` - `"480x854"` - `"480x1120"` +- `"560x752"` - `"640x480"` +- `"640x640"` - `"720x480"` - `"720x720"` - `"720x960"` - `"720x1080"` - `"720x1280"` - `"720x1680"` +- `"752x560"` - `"768x768"` - `"768x1024"` - `"768x1152"` - `"768x1366"` - `"768x1792"` +- `"834x1112"` - `"854x480"` - `"960x720"` +- `"960x960"` +- `"992x432"` - `"1024x768"` - `"1080x720"` - `"1080x1080"` @@ -42,6 +48,7 @@ This is an open enum. Unrecognized values will not fail type checks. - `"1080x1620"` - `"1080x1920"` - `"1080x2520"` +- `"1112x834"` - `"1120x480"` - `"1152x768"` - `"1280x720"` @@ -52,6 +59,7 @@ This is an open enum. Unrecognized values will not fail type checks. - `"1440x2160"` - `"1440x2560"` - `"1440x3360"` +- `"1470x630"` - `"1620x1080"` - `"1680x720"` - `"1792x768"` diff --git a/pyproject.toml b/pyproject.toml index 9004e087..2905e9bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openrouter" -version = "1.1.35" +version = "1.1.36" description = "Official Python Client SDK for OpenRouter." authors = [{ name = "OpenRouter" },] readme = "README-PYPI.md" diff --git a/src/openrouter/_version.py b/src/openrouter/_version.py index 63625ba0..bf339747 100644 --- a/src/openrouter/_version.py +++ b/src/openrouter/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "openrouter" -__version__: str = "1.1.35" +__version__: str = "1.1.36" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.914.0" -__user_agent__: str = "speakeasy-sdk/python 1.1.35 2.914.0 1.0.0 openrouter" +__user_agent__: str = "speakeasy-sdk/python 1.1.36 2.914.0 1.0.0 openrouter" try: if __package__ is not None: diff --git a/src/openrouter/components/videomodel.py b/src/openrouter/components/videomodel.py index be1bd815..0c072a25 100644 --- a/src/openrouter/components/videomodel.py +++ b/src/openrouter/components/videomodel.py @@ -60,20 +60,26 @@ "480x720", "480x854", "480x1120", + "560x752", "640x480", + "640x640", "720x480", "720x720", "720x960", "720x1080", "720x1280", "720x1680", + "752x560", "768x768", "768x1024", "768x1152", "768x1366", "768x1792", + "834x1112", "854x480", "960x720", + "960x960", + "992x432", "1024x768", "1080x720", "1080x1080", @@ -81,6 +87,7 @@ "1080x1620", "1080x1920", "1080x2520", + "1112x834", "1120x480", "1152x768", "1280x720", @@ -91,6 +98,7 @@ "1440x2160", "1440x2560", "1440x3360", + "1470x630", "1620x1080", "1680x720", "1792x768", diff --git a/uv.lock b/uv.lock index 1e483bca..5538f78e 100644 --- a/uv.lock +++ b/uv.lock @@ -213,7 +213,7 @@ wheels = [ [[package]] name = "openrouter" -version = "1.1.35" +version = "1.1.36" source = { editable = "." } dependencies = [ { name = "httpcore" }, From 87ddbdd17938718dd56695adc5bf2c5acc39da87 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Sat, 8 Aug 2026 02:58:05 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow