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
44 changes: 21 additions & 23 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: c48cf606-fb42-4a45-9c23-8f0555307828
management:
docChecksum: b501f294ae27c3e302fa9c88a4883454
docChecksum: 7049cae9ebb0187e3a088f14336d5c42
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.16
configChecksum: 4e16cc5ffc76f22fbce3393dd1db7025
releaseVersion: 1.1.17
configChecksum: ef55811ed20792fef0242d4dd7c10c51
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: eafc23db-f7f7-439a-947c-ec7970c271a8
pristine_commit_hash: 08ca12cb9f20dcac1ded320fde6405ae4eae9fae
pristine_tree_hash: 215db775b6fcff88a4bb5ef5ef3d4060468d48f4
generation_id: 3281b5bb-366f-4358-90df-ce6a0d96d5ec
pristine_commit_hash: d04058f3b0d9e46d3921041fdfb2d1ef3f57a7bc
pristine_tree_hash: dcb7df488c3e97b9d4ba7e28ac3397717d691126
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -4854,12 +4854,12 @@ trackedFiles:
pristine_git_object: 64a19c185569b50eb0a3363b472c1c28807493f2
docs/components/supportedresolution.mdx:
id: 4dab32379c4d
last_write_checksum: sha1:9b1c448644f808e8a5c888108c174574a1a31fea
pristine_git_object: ea274d2a7ef04a6bb8c56105e2274d962081246c
last_write_checksum: sha1:52c0f9e572bc7fc519c87c506cf910d4a7136264
pristine_git_object: 82ebf0b0993b46131ae8c2b335c59fc25042426a
docs/components/supportedsize.mdx:
id: c38f709222bb
last_write_checksum: sha1:a52625a00831a0e43b36539c73e0c6035612778c
pristine_git_object: fb40cc4d968fe412b1f3668804a02562b74b4020
last_write_checksum: sha1:d4c71ae993705bef52a4b88122e0a9292adc8d5a
pristine_git_object: 3b053602c7a79a6ed685b6d135ec202527ae7224
docs/components/syntax.mdx:
id: 0e7a97e89dd7
last_write_checksum: sha1:f3317e2b7efd9ed8d3317626429b481c39bd56f8
Expand Down Expand Up @@ -5334,8 +5334,8 @@ trackedFiles:
pristine_git_object: 63d009579e3822e439042152c3062db52e622fcf
docs/components/videogenerationrequestresolution.mdx:
id: b4287dc60239
last_write_checksum: sha1:a3f036ac1637a950408f90bec2f628469b9efdab
pristine_git_object: 0b860ff3d717d0ec86fd0cf42a557cd7b0180d32
last_write_checksum: sha1:f37b11d2816190b492a7175e6231c1cddc85c6f2
pristine_git_object: 520c2481273e5939b59a781712e9687991af79f6
docs/components/videogenerationresponse.mdx:
id: 3a932213188e
last_write_checksum: sha1:7d170bdf13476392c6c7e2a32c99ca7c1e17d436
Expand Down Expand Up @@ -6926,8 +6926,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:224deaaf5f1a37c1684544d4f768dbd9b83bedb7
pristine_git_object: d8f03e09918661c63cf2822f7da91da7a341a634
last_write_checksum: sha1:7af65db30a9761eb7110c6e74eaed11d664e20a2
pristine_git_object: 2fe283fab5fbf25801e50b2856f12a331b2f4bc7
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -6954,8 +6954,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:45d0c3ab6c6d3a47b31ddceeed2474d1cea2fafd
pristine_git_object: f29a3ecd912582b9a62c3a4631e6a3da3b2bdf72
last_write_checksum: sha1:2fa1a8f7d7932c47158e250f693f8ea8dd6956d8
pristine_git_object: 61426fa7c87a4949cef9c73f801f3e3bc0aa48ef
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
Expand Down Expand Up @@ -9202,8 +9202,8 @@ trackedFiles:
pristine_git_object: a0491cc8fd3bd9986146cb1176e27d5b9c9beb60
src/openrouter/components/videogenerationrequest.py:
id: 70e3c9ff288c
last_write_checksum: sha1:ec090071c656b25f0602518b40162d71a43bdfa7
pristine_git_object: d03dee20af692c3999401e6579c52306c4bcc757
last_write_checksum: sha1:7430f31e7ee2f77ebace8f7967369bb1b5f3a5f1
pristine_git_object: 9875ae4891a51954ac2bfa90bb673d3c3ed9abc5
src/openrouter/components/videogenerationresponse.py:
id: 541f1321b072
last_write_checksum: sha1:18c3aa7845f63a9614286b1a27b6098eae1c4951
Expand All @@ -9214,8 +9214,8 @@ trackedFiles:
pristine_git_object: c6f80ef4af6effc740beb6e0f1abfee653340717
src/openrouter/components/videomodel.py:
id: a544a49f7891
last_write_checksum: sha1:d1bef1f7e212da577e035ba797605a3980bbbd02
pristine_git_object: b3d3f3931d08ac5b5cc12538efc68731be8eaa9f
last_write_checksum: sha1:7a53cfa6023c96c28ea5afbd8a7cd2f713d36d5a
pristine_git_object: be1bd8152708382689ee02b24b217e6219be467a
src/openrouter/components/videomodelslistresponse.py:
id: 2e9d1ce2cf19
last_write_checksum: sha1:b94977aa6941f7cf15c889f1b7cc69b50cd35856
Expand Down Expand Up @@ -11537,6 +11537,4 @@ 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**
releaseNotes: "## Python SDK Changes:\n* `open_router.video_generation.generate()`: \n * `request.resolution.enum(768p)` **Added**\n* `open_router.video_generation.list_videos_models()`: `response.data[]` **Changed**\n"
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.1.16
version: 1.1.17
additionalDependencies:
dev: {}
main: {}
Expand Down
11 changes: 11 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24135,6 +24135,7 @@ components:
enum:
- '480p'
- '720p'
- '768p'
- '1080p'
- '1K'
- '2K'
Expand Down Expand Up @@ -24319,6 +24320,7 @@ components:
enum:
- '480p'
- '720p'
- '768p'
- '1080p'
- '1K'
- '2K'
Expand All @@ -24344,16 +24346,24 @@ components:
- '720x1080'
- '720x1280'
- '720x1680'
- '768x768'
- '768x1024'
- '768x1152'
- '768x1366'
- '768x1792'
- '854x480'
- '960x720'
- '1024x768'
- '1080x720'
- '1080x1080'
- '1080x1440'
- '1080x1620'
- '1080x1920'
- '1080x2520'
- '1120x480'
- '1152x768'
- '1280x720'
- '1366x768'
- '1440x1080'
- '1440x1440'
- '1440x1920'
Expand All @@ -24362,6 +24372,7 @@ components:
- '1440x3360'
- '1620x1080'
- '1680x720'
- '1792x768'
- '1920x1080'
- '1920x1440'
- '2160x1440'
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:fa1e66fc29a3fa392715cc81315a6cec159bfb10a9cbd51bbf1c8c1aab961219
sourceBlobDigest: sha256:9cec1f4fcd1c58540abacd6f9cb0a9b5d4bc9ca426429ea485a2222093b269ff
sourceRevisionDigest: sha256:2f470ff91dc8d00ec10258c1655ef95eb260b73cc8e60b9867db282bd0e64ce2
sourceBlobDigest: sha256:72cb2d42a001db9156c91b8edda5fe4c71fc762a11476555d7e4b851afd51e81
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:fa1e66fc29a3fa392715cc81315a6cec159bfb10a9cbd51bbf1c8c1aab961219
sourceBlobDigest: sha256:9cec1f4fcd1c58540abacd6f9cb0a9b5d4bc9ca426429ea485a2222093b269ff
sourceRevisionDigest: sha256:2f470ff91dc8d00ec10258c1655ef95eb260b73cc8e60b9867db282bd0e64ce2
sourceBlobDigest: sha256:72cb2d42a001db9156c91b8edda5fe4c71fc762a11476555d7e4b851afd51e81
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:67185c501e1ce9f6bd9c804100becf8fce9e37feb2ae618d8c63c6910ac437c4
codeSamplesRevisionDigest: sha256:df42c4f57c2a5fa6904eda6015432a36e553aac0429eb791d6c5a2a99dd85085
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -959,4 +959,14 @@ Based on:
### Generated
- [python v1.1.16] .
### Releases
- [PyPI v1.1.16] https://pypi.org/project/openrouter/1.1.16 - .
- [PyPI v1.1.16] https://pypi.org/project/openrouter/1.1.16 - .

## 2026-07-30 13:46:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.17] .
### Releases
- [PyPI v1.1.17] https://pypi.org/project/openrouter/1.1.17 - .
1 change: 1 addition & 0 deletions docs/components/supportedresolution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This is an open enum. Unrecognized values will not fail type checks.

- `"480p"`
- `"720p"`
- `"768p"`
- `"1080p"`
- `"1K"`
- `"2K"`
Expand Down
9 changes: 9 additions & 0 deletions docs/components/supportedsize.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,24 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"720x1080"`
- `"720x1280"`
- `"720x1680"`
- `"768x768"`
- `"768x1024"`
- `"768x1152"`
- `"768x1366"`
- `"768x1792"`
- `"854x480"`
- `"960x720"`
- `"1024x768"`
- `"1080x720"`
- `"1080x1080"`
- `"1080x1440"`
- `"1080x1620"`
- `"1080x1920"`
- `"1080x2520"`
- `"1120x480"`
- `"1152x768"`
- `"1280x720"`
- `"1366x768"`
- `"1440x1080"`
- `"1440x1440"`
- `"1440x1920"`
Expand All @@ -46,6 +54,7 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"1440x3360"`
- `"1620x1080"`
- `"1680x720"`
- `"1792x768"`
- `"1920x1080"`
- `"1920x1440"`
- `"2160x1440"`
Expand Down
1 change: 1 addition & 0 deletions docs/components/videogenerationrequestresolution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This is an open enum. Unrecognized values will not fail type checks.

- `"480p"`
- `"720p"`
- `"768p"`
- `"1080p"`
- `"1K"`
- `"2K"`
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 = "openrouter"
version = "1.1.16"
version = "1.1.17"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "openrouter"
__version__: str = "1.1.16"
__version__: str = "1.1.17"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.16 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.17 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
1 change: 1 addition & 0 deletions src/openrouter/components/videogenerationrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ def serialize_model(self, handler):
Literal[
"480p",
"720p",
"768p",
"1080p",
"1K",
"2K",
Expand Down
10 changes: 10 additions & 0 deletions src/openrouter/components/videomodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
Literal[
"480p",
"720p",
"768p",
"1080p",
"1K",
"2K",
Expand All @@ -66,16 +67,24 @@
"720x1080",
"720x1280",
"720x1680",
"768x768",
"768x1024",
"768x1152",
"768x1366",
"768x1792",
"854x480",
"960x720",
"1024x768",
"1080x720",
"1080x1080",
"1080x1440",
"1080x1620",
"1080x1920",
"1080x2520",
"1120x480",
"1152x768",
"1280x720",
"1366x768",
"1440x1080",
"1440x1440",
"1440x1920",
Expand All @@ -84,6 +93,7 @@
"1440x3360",
"1620x1080",
"1680x720",
"1792x768",
"1920x1080",
"1920x1440",
"2160x1440",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading