Skip to content
Merged
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
36 changes: 35 additions & 1 deletion .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16836,6 +16836,17 @@ components:
type:
- 'boolean'
- 'null'
data_collection:
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers that may train on user data\n\n- deny: use only providers that do not train on user data. Providers may still retain prompts; set `zdr: true` to exclude retention."
enum:
- 'deny'
- 'allow'
- null
example: 'allow'
title: 'ImageGenerationRequestDataCollection'
type:
- 'string'
- 'null'
ignore:
description: 'List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.'
example:
Expand Down Expand Up @@ -16886,6 +16897,12 @@ components:
- type: 'null'
description: 'The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.'
example: 'price'
zdr:
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
example: true
type:
- 'boolean'
- 'null'
type: 'object'
ImageGenerationRequest:
description: 'Image generation request input'
Expand Down Expand Up @@ -38243,8 +38260,19 @@ components:
example: 'A serene mountain landscape at sunset'
type: 'string'
provider:
description: 'Provider routing preferences (order, only, ignore) and provider-specific passthrough configuration'
description: 'Provider routing preferences (order, only, ignore), request-level data policy (zdr, data_collection) and provider-specific passthrough configuration. No video endpoint currently offers Zero Data Retention, so `zdr: true` fails routing.'
properties:
data_collection:
description: "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers that may train on user data\n\n- deny: use only providers that do not train on user data. Providers may still retain prompts; set `zdr: true` to exclude retention."
enum:
- 'deny'
- 'allow'
- null
example: 'allow'
title: 'VideoGenerationRequestDataCollection'
type:
- 'string'
- 'null'
ignore:
description: 'List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.'
example:
Expand Down Expand Up @@ -38288,6 +38316,12 @@ components:
type:
- 'array'
- 'null'
zdr:
description: 'Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.'
example: true
type:
- 'boolean'
- 'null'
type: 'object'
resolution:
description: 'Resolution of the generated video'
Expand Down
Loading