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
125 changes: 77 additions & 48 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

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.113
version: 1.1.114
additionalDependencies:
dev: {}
main: {}
Expand Down
94 changes: 94 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5046,6 +5046,14 @@ components:
example:
url: 'https://example.com/video.mp4'
properties:
processing:
description: 'Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini).'
enum:
- 'agentic'
- 'static'
example: 'agentic'
type: 'string'
x-speakeasy-unknown-values: allow
url:
description: 'URL of the video (data: URLs supported)'
type: 'string'
Expand Down Expand Up @@ -11746,6 +11754,14 @@ components:
type: 'input_video'
video_url: 'https://example.com/video.mp4'
properties:
processing:
description: 'Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini).'
enum:
- 'agentic'
- 'static'
example: 'agentic'
type: 'string'
x-speakeasy-unknown-values: allow
type:
enum:
- 'input_video'
Expand Down Expand Up @@ -11918,6 +11934,14 @@ components:
example:
url: 'https://example.com/video.mp4'
properties:
processing:
description: 'Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini).'
enum:
- 'agentic'
- 'static'
example: 'agentic'
type: 'string'
x-speakeasy-unknown-values: allow
url:
description: 'URL of the video (data: URLs supported)'
type: 'string'
Expand Down Expand Up @@ -28159,6 +28183,16 @@ paths:
schema:
$ref: '#/components/schemas/PaymentRequiredResponse'
description: 'Payment Required - Insufficient credits or quota to complete request'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -28349,6 +28383,16 @@ paths:
schema:
$ref: '#/components/schemas/PaymentRequiredResponse'
description: 'Payment Required - Insufficient credits or quota to complete request'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -31113,6 +31157,16 @@ paths:
schema:
$ref: '#/components/schemas/PaymentRequiredResponse'
description: 'Payment Required - Insufficient credits or quota to complete request'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -38727,6 +38781,16 @@ paths:
schema:
$ref: '#/components/schemas/PaymentRequiredResponse'
description: 'Payment Required - Insufficient credits or quota to complete request'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -39576,6 +39640,16 @@ paths:
schema:
$ref: '#/components/schemas/PaymentRequiredResponse'
description: 'Payment Required - Insufficient credits or quota to complete request'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -39662,6 +39736,16 @@ paths:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: 'Unauthorized - Authentication required or invalid credentials'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -39741,6 +39825,16 @@ paths:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: 'Unauthorized - Authentication required or invalid credentials'
'403':
content:
application/json:
example:
error:
code: 403
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
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:b193e864103dfe5dbd12f6cc86d7b43aed39fba3b7395ee95093174312d0bc3b
sourceBlobDigest: sha256:0cdfc5409c94c34f73dc5f96dcf7a16e48891a674b673dd0904f15c2ff2f2806
sourceRevisionDigest: sha256:400518db247166dac61b58dae3f69fc2b4549613cc164d55657621ca79ee48ab
sourceBlobDigest: sha256:068499a062bbe22b5439c0026ce50c722ba54d61218e64900c8f14854645eebe
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:b193e864103dfe5dbd12f6cc86d7b43aed39fba3b7395ee95093174312d0bc3b
sourceBlobDigest: sha256:0cdfc5409c94c34f73dc5f96dcf7a16e48891a674b673dd0904f15c2ff2f2806
sourceRevisionDigest: sha256:400518db247166dac61b58dae3f69fc2b4549613cc164d55657621ca79ee48ab
sourceBlobDigest: sha256:068499a062bbe22b5439c0026ce50c722ba54d61218e64900c8f14854645eebe
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:b860210485dca6172d1d568535349488c06d6fc92f4c3a661c9e4a6d40ac484c
codeSamplesRevisionDigest: sha256:b44affa87baeaeda18f69338bac2f2e1f1e5ec395e7b10906b7f60b83bbc6592
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 @@ -1919,4 +1919,14 @@ Based on:
### Generated
- [python v1.1.113] .
### Releases
- [PyPI v1.1.113] https://pypi.org/project/openrouter/1.1.113 - .
- [PyPI v1.1.113] https://pypi.org/project/openrouter/1.1.113 - .

## 2026-09-02 16:00:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.114] .
### Releases
- [PyPI v1.1.114] https://pypi.org/project/openrouter/1.1.114 - .
7 changes: 4 additions & 3 deletions docs/components/chatcontentvideoinput.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Video input object

## Fields

| Field | Type | Required | Description |
| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- |
| `url` | *str* | :heavy_check_mark: | URL of the video (data: URLs supported) |
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `processing` | [Optional[components.ChatContentVideoInputProcessing]](../components/chatcontentvideoinputprocessing.mdx) | :heavy_minus_sign: | Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini). | agentic |
| `url` | *str* | :heavy_check_mark: | URL of the video (data: URLs supported) | |
22 changes: 22 additions & 0 deletions docs/components/chatcontentvideoinputprocessing.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "ChatContentVideoInputProcessing"
---

Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini).

## Example Usage

```python
from openrouter.components import ChatContentVideoInputProcessing

# Open enum: unrecognized values are captured as UnrecognizedStr
value: ChatContentVideoInputProcessing = "agentic"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"agentic"`
- `"static"`
9 changes: 5 additions & 4 deletions docs/components/inputvideo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Video input content item

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
| `type` | [components.InputVideoType](../components/inputvideotype.mdx) | :heavy_check_mark: | N/A |
| `video_url` | *str* | :heavy_check_mark: | A base64 data URL or remote URL that resolves to a video file |
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `processing` | [Optional[components.InputVideoProcessing]](../components/inputvideoprocessing.mdx) | :heavy_minus_sign: | Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini). | agentic |
| `type` | [components.InputVideoType](../components/inputvideotype.mdx) | :heavy_check_mark: | N/A | |
| `video_url` | *str* | :heavy_check_mark: | A base64 data URL or remote URL that resolves to a video file | |
22 changes: 22 additions & 0 deletions docs/components/inputvideoprocessing.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "InputVideoProcessing"
---

Video processing mode. `agentic` enables agentic video processing and `static` forces fixed-rate frame sampling on providers that support it (currently Google Gemini).

## Example Usage

```python
from openrouter.components import InputVideoProcessing

# Open enum: unrecognized values are captured as UnrecognizedStr
value: InputVideoProcessing = "agentic"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"agentic"`
- `"static"`
Loading
Loading