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 56d3712
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+165-1Lines changed: 165 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5221,6 +5221,17 @@ components:
5221
5221
required:
5222
5222
- 'error'
5223
5223
type: 'object'
5224
+
BatchInputReference:
5225
+
additionalProperties: false
5226
+
description: 'A batch input file in your own storage, named in place of `requests`. Available to allowlisted callers on Google Vertex BYOK endpoints only.'
5227
+
properties:
5228
+
uri:
5229
+
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.'
5230
+
example: 'gs://my-bucket/batches/input.jsonl'
5231
+
type: 'string'
5232
+
required:
5233
+
- 'uri'
5234
+
type: 'object'
5224
5235
BatchListItem:
5225
5236
description: 'Metadata-only batch object. `results` is always `null` in list responses.'
5226
5237
properties:
@@ -5258,6 +5269,8 @@ components:
5258
5269
enum:
5259
5270
- 'batch'
5260
5271
type: 'string'
5272
+
output:
5273
+
$ref: '#/components/schemas/BatchOutputReference'
5261
5274
provider:
5262
5275
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
5263
5276
type:
@@ -5514,6 +5527,8 @@ components:
5514
5527
enum:
5515
5528
- 'batch'
5516
5529
type: 'string'
5530
+
output:
5531
+
$ref: '#/components/schemas/BatchOutputReference'
5517
5532
provider:
5518
5533
description: 'Provider OpenRouter assigned to run the batch, using the same name as the `provider` field of sync responses.'
5519
5534
type:
@@ -6494,6 +6509,16 @@ components:
6494
6509
- 'results'
6495
6510
- 'error'
6496
6511
type: 'object'
6512
+
BatchOutputReference:
6513
+
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.'
6514
+
properties:
6515
+
uri:
6516
+
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.'
6499
6524
properties:
@@ -6532,6 +6557,8 @@ components:
6532
6557
enum:
6533
6558
- 'batch'
6534
6559
type: 'string'
6560
+
output:
6561
+
$ref: '#/components/schemas/BatchOutputReference'
6535
6562
provider:
6536
6563
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.'
6752
6782
items:
6753
6783
properties:
6754
6784
body:
@@ -6767,7 +6797,6 @@ components:
6767
6797
required:
6768
6798
- 'endpoint'
6769
6799
- 'model'
6770
-
- 'requests'
6771
6800
type: 'object'
6772
6801
BooleanCapability:
6773
6802
description: 'A supported-or-not flag. Present means the parameter is accepted.'
@@ -16658,6 +16687,139 @@ components:
16658
16687
- 'throughput'
16659
16688
- 'request_count'
16660
16689
type: 'object'
16690
+
ImageGenerationLayer:
16691
+
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).'
16692
+
example:
16693
+
background: 'transparent'
16694
+
bounding_box:
16695
+
absolute:
16696
+
- 238
16697
+
- 124
16698
+
- 786
16699
+
- 673
16700
+
normalized:
16701
+
- 232
16702
+
- 121
16703
+
- 768
16704
+
- 657
16705
+
description: 'A solid red circle'
16706
+
name: 'Red circle'
16707
+
z_index: 1
16708
+
properties:
16709
+
background:
16710
+
description: 'Whether the layer image has a transparent background'
description: 'A run of text that shares one style'
16803
+
example:
16804
+
style:
16805
+
bold: true
16806
+
similar_font_family: 'Menlo'
16807
+
text: 'SALE'
16808
+
properties:
16809
+
style:
16810
+
additionalProperties:
16811
+
anyOf:
16812
+
- type: 'string'
16813
+
- type: 'boolean'
16814
+
- format: 'double'
16815
+
type: 'number'
16816
+
description: 'Font and style the provider recognized for this run, e.g. `similar_font_family`, `foreground_color`, `bold`'
16817
+
type: 'object'
16818
+
text:
16819
+
type: 'string'
16820
+
required:
16821
+
- 'text'
16822
+
type: 'object'
16661
16823
ImageGenerationProviderPreferences:
16662
16824
description: 'Provider routing preferences and provider-specific passthrough configuration.'
16663
16825
example:
@@ -16892,6 +17054,8 @@ components:
16892
17054
b64_json:
16893
17055
description: 'Base64-encoded image bytes'
16894
17056
type: 'string'
17057
+
layer:
17058
+
$ref: '#/components/schemas/ImageGenerationLayer'
16895
17059
media_type:
16896
17060
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.'
0 commit comments