Compare commits

...
Author SHA1 Message Date
OpenRouter SDK Bot 13ef14abce chore: update OpenAPI spec [sdk-bot] 2026-04-13 04:08:08 +00:00
a0a7edecfa chore: update OpenAPI spec from monorepo (#106)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
2026-04-12 12:21:17 -05:00
+99 -2
View File
@@ -4818,6 +4818,7 @@ components:
- deepseek
description: A guardrail for limiting API usage
enforce_zdr: false
ignored_models: null
ignored_providers: null
limit_usd: 50
name: My New Guardrail
@@ -4856,6 +4857,15 @@ components:
example: false
nullable: true
type: boolean
ignored_models:
description: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
example:
- openai/gpt-4o-mini
items:
type: string
minItems: 1
nullable: true
type: array
ignored_providers:
description: List of provider IDs to exclude from routing
example:
@@ -4893,6 +4903,7 @@ components:
description: A guardrail for limiting API usage
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 50
name: My New Guardrail
@@ -5416,6 +5427,24 @@ components:
required:
- type
type: object
FrameImage:
allOf:
- $ref: '#/components/schemas/ContentPartImage'
- properties:
frame_type:
description: Whether this image represents the first or last frame of the video
enum:
- first_frame
- last_frame
example: first_frame
type: string
required:
- frame_type
type: object
example:
image_url:
url: https://example.com/image.png
type: image_url
FunctionCallArgsDeltaEvent:
allOf:
- $ref: '#/components/schemas/BaseFunctionCallArgsDeltaEvent'
@@ -5539,6 +5568,7 @@ components:
description: Guardrail for production environment
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 100
name: Production Guardrail
@@ -5601,6 +5631,7 @@ components:
description: Guardrail for production environment
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 100
name: Production Guardrail
@@ -5646,6 +5677,14 @@ components:
example: 550e8400-e29b-41d4-a716-446655440000
format: uuid
type: string
ignored_models:
description: Array of model canonical_slugs to exclude from routing
example:
- openai/gpt-4o-mini-2024-07-18
items:
type: string
nullable: true
type: array
ignored_providers:
description: List of provider IDs to exclude from routing
example:
@@ -6408,6 +6447,7 @@ components:
description: Guardrail for production environment
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 100
name: Production Guardrail
@@ -12008,6 +12048,15 @@ components:
example: true
nullable: true
type: boolean
ignored_models:
description: Array of model identifiers to exclude from routing (slug or canonical_slug accepted)
example:
- openai/gpt-4o-mini
items:
type: string
minItems: 1
nullable: true
type: array
ignored_providers:
description: List of provider IDs to exclude from routing
example:
@@ -12041,6 +12090,7 @@ components:
description: Updated description
enforce_zdr: true
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 75
name: Updated Guardrail Name
@@ -12149,10 +12199,17 @@ components:
exclusiveMinimum: true
minimum: 0
type: integer
frame_images:
description: >-
Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of
first_frame or last_frame.
items:
$ref: '#/components/schemas/FrameImage'
type: array
generate_audio:
description: >-
Whether to generate audio alongside the video. Defaults to true for models that support audio output, false
otherwise.
Whether to generate audio alongside the video. Defaults to the endpoint's generate_audio capability flag,
false if not set.
example: true
type: boolean
input_references:
@@ -12676,15 +12733,20 @@ components:
canonical_slug: google/veo-3.1
created: 1700000000
description: Google video generation model
generate_audio: true
id: google/veo-3.1
name: Veo 3.1
pricing_skus:
generate: '0.50'
seed: null
supported_aspect_ratios:
- '16:9'
supported_durations:
- 5
- 8
supported_frame_images:
- first_frame
- last_frame
supported_resolutions:
- 720p
supported_sizes: null
@@ -12706,6 +12768,10 @@ components:
description: Description of the model
example: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
type: string
generate_audio:
description: Whether the model supports generating audio alongside video
nullable: true
type: boolean
hugging_face_id:
description: Hugging Face model identifier, if applicable
example: microsoft/DialoGPT-medium
@@ -12725,6 +12791,10 @@ components:
description: Pricing SKUs with provider prefix stripped, values as strings
nullable: true
type: object
seed:
description: Whether the model supports deterministic generation via seed parameter
nullable: true
type: boolean
supported_aspect_ratios:
description: Supported output aspect ratios
items:
@@ -12745,6 +12815,15 @@ components:
type: integer
nullable: true
type: array
supported_frame_images:
description: Supported frame image types (e.g. first_frame, last_frame)
items:
enum:
- first_frame
- last_frame
type: string
nullable: true
type: array
supported_resolutions:
description: Supported output resolutions
items:
@@ -12802,6 +12881,9 @@ components:
- supported_aspect_ratios
- supported_sizes
- supported_durations
- supported_frame_images
- generate_audio
- seed
- allowed_passthrough_parameters
type: object
VideoModelsListResponse:
@@ -12811,15 +12893,20 @@ components:
canonical_slug: google/veo-3.1
created: 1700000000
description: Google video generation model
generate_audio: true
id: google/veo-3.1
name: Veo 3.1
pricing_skus:
generate: '0.50'
seed: null
supported_aspect_ratios:
- '16:9'
supported_durations:
- 5
- 8
supported_frame_images:
- first_frame
- last_frame
supported_resolutions:
- 720p
supported_sizes: null
@@ -14702,6 +14789,7 @@ paths:
description: Guardrail for production environment
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 100
name: Production Guardrail
@@ -14762,6 +14850,7 @@ paths:
- deepseek
description: A guardrail for limiting API usage
enforce_zdr: false
ignored_models: null
ignored_providers: null
limit_usd: 50
name: My New Guardrail
@@ -14784,6 +14873,7 @@ paths:
description: A guardrail for limiting API usage
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 50
name: My New Guardrail
@@ -14911,6 +15001,7 @@ paths:
description: Guardrail for production environment
enforce_zdr: false
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 100
name: Production Guardrail
@@ -14990,6 +15081,7 @@ paths:
description: Updated description
enforce_zdr: true
id: 550e8400-e29b-41d4-a716-446655440000
ignored_models: null
ignored_providers: null
limit_usd: 75
name: Updated Guardrail Name
@@ -19125,15 +19217,20 @@ paths:
canonical_slug: google/veo-3.1
created: 1700000000
description: Google video generation model
generate_audio: true
id: google/veo-3.1
name: Veo 3.1
pricing_skus:
generate: '0.50'
seed: null
supported_aspect_ratios:
- '16:9'
supported_durations:
- 5
- 8
supported_frame_images:
- first_frame
- last_frame
supported_resolutions:
- 720p
supported_sizes: null