Skip to content

Commit deaf5cb

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.174 (#1337)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 56d3712 commit deaf5cb

36 files changed

Lines changed: 865 additions & 139 deletions

‎.speakeasy/gen.lock‎

Lines changed: 102 additions & 42 deletions
Large diffs are not rendered by default.

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.173
40+
version: 1.3.174
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 166 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5285,6 +5285,17 @@ components:
52855285
required:
52865286
- 'error'
52875287
type: 'object'
5288+
BatchInputReference:
5289+
additionalProperties: false
5290+
description: 'A batch input file in your own storage, named in place of `requests`. Available to allowlisted callers on Google Vertex BYOK endpoints only.'
5291+
properties:
5292+
uri:
5293+
description: 'Cloud Storage URI of the batch input file, in the form `gs://bucket/object`. The file stays in your bucket and must already be in the provider batch input format.'
5294+
example: 'gs://my-bucket/batches/input.jsonl'
5295+
type: 'string'
5296+
required:
5297+
- 'uri'
5298+
type: 'object'
52885299
BatchListItem:
52895300
description: 'Metadata-only batch object. `results` is always `null` in list responses.'
52905301
properties:
@@ -5322,6 +5333,8 @@ components:
53225333
enum:
53235334
- 'batch'
53245335
type: 'string'
5336+
output:
5337+
$ref: '#/components/schemas/BatchOutputReference'
53255338
provider:
53265339
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
53275340
type:
@@ -5580,6 +5593,8 @@ components:
55805593
enum:
55815594
- 'batch'
55825595
type: 'string'
5596+
output:
5597+
$ref: '#/components/schemas/BatchOutputReference'
55835598
provider:
55845599
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
55855600
type:
@@ -6562,6 +6577,16 @@ components:
65626577
- 'results'
65636578
- 'error'
65646579
type: 'object'
6580+
BatchOutputReference:
6581+
description: 'The output location of a batch submitted with `input`, whose `results` are `null`. Returned only by `GET /batches/{id}`, once the batch has ended and the provider reported an output folder. Batch lists and responses for a batch with an unpaid charge leave it out.'
6582+
properties:
6583+
uri:
6584+
description: 'URI of the batch output in your own storage. For a Cloud Storage input file it is the output folder, in the form `gs://bucket/folder`, and the files are in the provider batch output format.'
6585+
example: 'gs://my-bucket/openrouter-batch/output/org_abc/batch_123/batch_123/prediction-model-2026-01-01T00:00:00.000000Z'
6586+
type: 'string'
6587+
required:
6588+
- 'uri'
6589+
type: 'object'
65656590
BatchPaymentRequiredResponse:
65666591
description: 'Batch metadata with results withheld (results: null) plus the standard error envelope. Add credits to unlock the already-computed results; the batch is not re-run.'
65676592
properties:
@@ -6600,6 +6625,8 @@ components:
66006625
enum:
66016626
- 'batch'
66026627
type: 'string'
6628+
output:
6629+
$ref: '#/components/schemas/BatchOutputReference'
66036630
provider:
66046631
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
66056632
type:
@@ -6813,12 +6840,15 @@ components:
68136840
- '/v1/audio/speech'
68146841
type: 'string'
68156842
x-speakeasy-unknown-values: allow
6843+
input:
6844+
$ref: '#/components/schemas/BatchInputReference'
68166845
model:
68176846
minLength: 1
68186847
type: 'string'
68196848
provider:
68206849
$ref: '#/components/schemas/BatchProviderPreferences'
68216850
requests:
6851+
description: 'The batch requests. Send exactly one of `requests` or `input`; `requests` must be the last field in the request body.'
68226852
items:
68236853
properties:
68246854
body:
@@ -6837,7 +6867,6 @@ components:
68376867
required:
68386868
- 'endpoint'
68396869
- 'model'
6840-
- 'requests'
68416870
type: 'object'
68426871
BooleanCapability:
68436872
description: 'A supported-or-not flag. Present means the parameter is accepted.'
@@ -16806,6 +16835,140 @@ components:
1680616835
- 'throughput'
1680716836
- 'request_count'
1680816837
type: 'object'
16838+
ImageGenerationLayer:
16839+
description: 'Layer metadata, present when the request asked the provider to split the image into layers (Seedream: `provider.options.seed.layer_decomposition: true` with the required `layer_decomposition_options.max_images`, 2 to 16). Decomposition requires `n` to be 1 or omitted; the response returns up to `max_images` images (the base image plus its layers).'
16840+
example:
16841+
background: 'transparent'
16842+
bounding_box:
16843+
absolute:
16844+
- 238
16845+
- 124
16846+
- 786
16847+
- 673
16848+
normalized:
16849+
- 232
16850+
- 121
16851+
- 768
16852+
- 657
16853+
description: 'A solid red circle'
16854+
name: 'Red circle'
16855+
z_index: 1
16856+
properties:
16857+
background:
16858+
description: 'Whether the layer image has a transparent background'
16859+
enum:
16860+
- 'opaque'
16861+
- 'transparent'
16862+
type: 'string'
16863+
x-speakeasy-unknown-values: allow
16864+
bounding_box:
16865+
$ref: '#/components/schemas/ImageGenerationLayerBoundingBox'
16866+
description:
16867+
description: 'Provider description of the layer'
16868+
type: 'string'
16869+
name:
16870+
description: 'Short provider-assigned layer name'
16871+
type: 'string'
16872+
text_recognition:
16873+
$ref: '#/components/schemas/ImageGenerationLayerTextRecognition'
16874+
z_index:
16875+
description: 'Stacking order; 0 is the opaque base image and higher values sit on top'
16876+
type: 'integer'
16877+
required:
16878+
- 'z_index'
16879+
type: 'object'
16880+
ImageGenerationLayerBoundingBox:
16881+
description: 'Where a layer sits on the base image'
16882+
example:
16883+
absolute:
16884+
- 238
16885+
- 124
16886+
- 786
16887+
- 673
16888+
normalized:
16889+
- 232
16890+
- 121
16891+
- 768
16892+
- 657
16893+
properties:
16894+
absolute:
16895+
description: 'Layer box in pixels of the base image, as `[x_min, y_min, x_max, y_max]`'
16896+
items:
16897+
type: 'integer'
16898+
maxItems: 4
16899+
minItems: 4
16900+
type: 'array'
16901+
normalized:
16902+
description: 'Layer box scaled to 0-1000 on each axis, as `[x_min, y_min, x_max, y_max]`'
16903+
items:
16904+
type: 'integer'
16905+
maxItems: 4
16906+
minItems: 4
16907+
type: 'array'
16908+
required:
16909+
- 'absolute'
16910+
- 'normalized'
16911+
type: 'object'
16912+
ImageGenerationLayerTextRecognition:
16913+
description: 'Text found in the layer, present when the provider ran text recognition'
16914+
example:
16915+
lines:
16916+
- bounding_box:
16917+
absolute:
16918+
- 238
16919+
- 124
16920+
- 786
16921+
- 673
16922+
normalized:
16923+
- 232
16924+
- 121
16925+
- 768
16926+
- 657
16927+
runs:
16928+
- text: 'SALE'
16929+
text: 'SALE'
16930+
properties:
16931+
lines:
16932+
items:
16933+
properties:
16934+
bounding_box:
16935+
$ref: '#/components/schemas/ImageGenerationLayerBoundingBox'
16936+
runs:
16937+
items:
16938+
$ref: '#/components/schemas/ImageGenerationLayerTextRun'
16939+
type: 'array'
16940+
required:
16941+
- 'runs'
16942+
type: 'object'
16943+
type: 'array'
16944+
text:
16945+
description: 'Full text recognized in the layer'
16946+
type: 'string'
16947+
required:
16948+
- 'text'
16949+
type: 'object'
16950+
ImageGenerationLayerTextRun:
16951+
description: 'A run of text that shares one style'
16952+
example:
16953+
style:
16954+
bold: true
16955+
similar_font_family: 'Menlo'
16956+
text: 'SALE'
16957+
properties:
16958+
style:
16959+
additionalProperties:
16960+
anyOf:
16961+
- type: 'string'
16962+
- type: 'boolean'
16963+
- format: 'double'
16964+
type: 'number'
16965+
description: 'Font and style the provider recognized for this run, e.g. `similar_font_family`, `foreground_color`, `bold`'
16966+
type: 'object'
16967+
text:
16968+
type: 'string'
16969+
required:
16970+
- 'text'
16971+
type: 'object'
1680916972
ImageGenerationProviderPreferences:
1681016973
description: 'Provider routing preferences and provider-specific passthrough configuration.'
1681116974
example:
@@ -17045,6 +17208,8 @@ components:
1704517208
b64_json:
1704617209
description: 'Base64-encoded image bytes'
1704717210
type: 'string'
17211+
layer:
17212+
$ref: '#/components/schemas/ImageGenerationLayer'
1704817213
media_type:
1704917214
description: 'Media type (MIME type) of the image, e.g. `image/png`, `image/jpeg`, `image/webp`, `image/svg+xml`. May be omitted if the format could not be determined.'
1705017215
example: 'image/png'

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:4100c04773812225ff2a16b50da56fd1c8f7429c2113fb26f45000a777a5ad1d
6-
sourceBlobDigest: sha256:157c2988d2ec07340dcc3c2aad865382d0bd1692432d82b712928c6efc6ba4bb
5+
sourceRevisionDigest: sha256:f13ca5625de6da93692c286f2ea9582d47416366895c704efd83a37610af9083
6+
sourceBlobDigest: sha256:5efffcadb17c704cfdfe2afd0993653a1dee468b27c65dbd75bf33762477ad31
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:4100c04773812225ff2a16b50da56fd1c8f7429c2113fb26f45000a777a5ad1d
15-
sourceBlobDigest: sha256:157c2988d2ec07340dcc3c2aad865382d0bd1692432d82b712928c6efc6ba4bb
14+
sourceRevisionDigest: sha256:f13ca5625de6da93692c286f2ea9582d47416366895c704efd83a37610af9083
15+
sourceBlobDigest: sha256:5efffcadb17c704cfdfe2afd0993653a1dee468b27c65dbd75bf33762477ad31
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:76b299f5f1bc5cdb7980e207dad7b5507f940a2bc978001220b94f61c8230718
17+
codeSamplesRevisionDigest: sha256:744f2ff6d8d2dcdb17a5d6e2fbef7125f9b2de0c2b49cd290859908cd78d67db
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4499,4 +4499,14 @@ Based on:
44994499
### Generated
45004500
- [python v1.3.173] .
45014501
### Releases
4502-
- [PyPI v1.3.173] https://pypi.org/project/openrouter/1.3.173 - .
4502+
- [PyPI v1.3.173] https://pypi.org/project/openrouter/1.3.173 - .
4503+
4504+
## 2026-11-13 07:07:26
4505+
### Changes
4506+
Based on:
4507+
- OpenAPI Doc
4508+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4509+
### Generated
4510+
- [python v1.3.174] .
4511+
### Releases
4512+
- [PyPI v1.3.174] https://pypi.org/project/openrouter/1.3.174 - .
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "BatchInputReference"
3+
---
4+
5+
A batch input file in your own storage, named in place of `requests`. Available to allowlisted callers on Google Vertex BYOK endpoints only.
6+
7+
8+
## Fields
9+
10+
| Field | Type | Required | Description | Example |
11+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
12+
| `uri` | *str* | ✔️ | Cloud Storage URI of the batch input file, in the form `gs://bucket/object`. The file stays in your bucket and must already be in the provider batch input format. | gs://my-bucket/batches/input.jsonl |

0 commit comments

Comments
 (0)