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
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10967,6 +10967,8 @@ components:
10967
10967
stream:
10968
10968
description: 'If true, partial images are streamed as SSE events as they become available. Only supported by providers with native streaming (currently OpenAI). Non-streaming providers ignore this flag and return a buffered response.'
10969
10969
type: 'boolean'
10970
+
trace:
10971
+
$ref: '#/components/schemas/TraceConfig'
10970
10972
user:
10971
10973
description: 'A stable identifier for your end-users. Used to help detect and prevent abuse. Never sent to providers verbatim: for providers whose data policy requires user IDs, it is folded into a hashed, per-account upstream user identifier.'
10972
10974
example: 'end-user-abc123'
@@ -24608,6 +24610,8 @@ components:
24608
24610
example: 1
24609
24611
format: 'double'
24610
24612
type: 'number'
24613
+
trace:
24614
+
$ref: '#/components/schemas/TraceConfig'
24611
24615
user:
24612
24616
description: 'A unique identifier representing your end-user. Forwarded to Broadcast and private logging as the end-user id; never sent to the provider.'
description: 'A unique identifier representing your end-user. Forwarded to Broadcast and private logging as the end-user id; never sent to the provider.'
25119
25125
example: 'user-1234'
@@ -27264,6 +27270,8 @@ components:
27264
27270
description: 'Exact pixel dimensions of the generated video in "WIDTHxHEIGHT" format (e.g. "1280x720"). Interchangeable with resolution + aspect_ratio.'
27265
27271
example: '1280x720'
27266
27272
type: 'string'
27273
+
trace:
27274
+
$ref: '#/components/schemas/TraceConfig'
27267
27275
upscale_factor:
27268
27276
description: 'Upscale factor for video upscaling models only. This parameter is not supported by video generation models.'
- description: 'Provider routing preferences for the request.'
31774
+
trace:
31775
+
$ref: '#/components/schemas/TraceConfig'
31766
31776
user:
31767
31777
description: 'A unique identifier for the end-user'
31768
31778
example: 'user-1234'
@@ -39542,6 +39552,8 @@ paths:
39542
39552
example: 3
39543
39553
minimum: 1
39544
39554
type: 'integer'
39555
+
trace:
39556
+
$ref: '#/components/schemas/TraceConfig'
39545
39557
user:
39546
39558
description: 'A unique identifier representing your end-user. Forwarded to Broadcast and private logging as the end-user id; never sent to the provider.'
Copy file name to clipboardExpand all lines: docs/components/imagegenerationrequest.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,4 +23,5 @@ Image generation request input
23
23
| `seed` | *Optional[int]* | :heavy_minus_sign: | If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers. | |
24
24
| `size` | *Optional[str]* | :heavy_minus_sign: | Optional. A convenience shorthand for output dimensions β pass a tier ("2K", "4K") or explicit pixels ("2048x2048") and we normalize it to the right dimensions for the chosen provider. A tier size is equivalent to setting `resolution` and combines with `aspect_ratio`. An explicit pixel size is authoritative: a mismatched `resolution` or `aspect_ratio` alongside it is rejected with a 400. | 2K |
25
25
| `stream` | *Optional[bool]* | :heavy_minus_sign: | If true, partial images are streamed as SSE events as they become available. Only supported by providers with native streaming (currently OpenAI). Non-streaming providers ignore this flag and return a buffered response. | |
26
+
| `trace` | [Optional[components.TraceConfig]](../components/traceconfig.mdx) | :heavy_minus_sign: | Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations. | \{<br/>"trace_id": "trace-abc123",<br/>"trace_name": "my-app-trace"<br/>} |
26
27
| `user` | *Optional[str]* | :heavy_minus_sign: | A stable identifier for your end-users. Used to help detect and prevent abuse. Never sent to providers verbatim: for providers whose data policy requires user IDs, it is folded into a hashed, per-account upstream user identifier. | end-user-abc123 |
0 commit comments