You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit deaf5cb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+166-1Lines changed: 166 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5285,6 +5285,17 @@ components:
5285
5285
required:
5286
5286
- 'error'
5287
5287
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'
5288
5299
BatchListItem:
5289
5300
description: 'Metadata-only batch object. `results` is always `null` in list responses.'
5290
5301
properties:
@@ -5322,6 +5333,8 @@ components:
5322
5333
enum:
5323
5334
- 'batch'
5324
5335
type: 'string'
5336
+
output:
5337
+
$ref: '#/components/schemas/BatchOutputReference'
5325
5338
provider:
5326
5339
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
5327
5340
type:
@@ -5580,6 +5593,8 @@ components:
5580
5593
enum:
5581
5594
- 'batch'
5582
5595
type: 'string'
5596
+
output:
5597
+
$ref: '#/components/schemas/BatchOutputReference'
5583
5598
provider:
5584
5599
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
5585
5600
type:
@@ -6562,6 +6577,16 @@ components:
6562
6577
- 'results'
6563
6578
- 'error'
6564
6579
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.'
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.'
6567
6592
properties:
@@ -6600,6 +6625,8 @@ components:
6600
6625
enum:
6601
6626
- 'batch'
6602
6627
type: 'string'
6628
+
output:
6629
+
$ref: '#/components/schemas/BatchOutputReference'
6603
6630
provider:
6604
6631
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
description: 'The batch requests. Send exactly one of `requests` or `input`; `requests` must be the last field in the request body.'
6822
6852
items:
6823
6853
properties:
6824
6854
body:
@@ -6837,7 +6867,6 @@ components:
6837
6867
required:
6838
6868
- 'endpoint'
6839
6869
- 'model'
6840
-
- 'requests'
6841
6870
type: 'object'
6842
6871
BooleanCapability:
6843
6872
description: 'A supported-or-not flag. Present means the parameter is accepted.'
@@ -16806,6 +16835,140 @@ components:
16806
16835
- 'throughput'
16807
16836
- 'request_count'
16808
16837
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'
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'
16809
16972
ImageGenerationProviderPreferences:
16810
16973
description: 'Provider routing preferences and provider-specific passthrough configuration.'
16811
16974
example:
@@ -17045,6 +17208,8 @@ components:
17045
17208
b64_json:
17046
17209
description: 'Base64-encoded image bytes'
17047
17210
type: 'string'
17211
+
layer:
17212
+
$ref: '#/components/schemas/ImageGenerationLayer'
17048
17213
media_type:
17049
17214
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.'
|`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